Search found 161 matches

by TsT
Fri Nov 09, 2012 12:09 am
Forum: Support and Development
Topic: utf8 support in pure lua
Replies: 3
Views: 7505

utf8 support in pure lua

Hello,

I started a pure Lua module to support operation on UTF-8 data.

See lua-utf8

First goal was reached :
- be able to get the good length
- be able to get substring
- automatic convertion

Regards,
TsT
by TsT
Mon Sep 12, 2011 4:45 pm
Forum: General
Topic: LÖVE as a module for standalone Lua?
Replies: 3
Views: 1811

Re: LÖVE as a module for standalone Lua?

Hello Rad3k

Take a look at my fakelove project.
I don't know if that could help you.

Regards,
by TsT
Fri May 27, 2011 9:58 am
Forum: Support and Development
Topic: Filesystem Hack: Set Identity to Whatever You Want
Replies: 35
Views: 10957

Re: Filesystem Hack: Set Identity to Whatever You Want

Or use io.popen() instead of os.execute() local f = io.popen("pwd") -- runs command local l = f:read("*a") -- read output of command print(l) f:close() function execute(cmd) local f = io.popen(cmd) local str = f:read("*a") return str end function str2tbl(str, sep) sep =...
by TsT
Fri May 27, 2011 9:44 am
Forum: Support and Development
Topic: Command line parameters
Replies: 9
Views: 9010

Re: Command line parameters

the arg indice are also : -1 is the command like called (relative or absolute name) 0 the first argument, usualy the .lua file (or the .love file for love) The command : echo "for k,v in pairs(arg) do print(k,v) end" | /usr/bin/lua - a b "c d" Result : 1 a 2 b 3 c d -1 /usr/bin/l...
by TsT
Mon May 23, 2011 8:40 am
Forum: General
Topic: Short article on AI
Replies: 7
Views: 3976

Re: Short article on AI

Nice :D
by TsT
Sat May 21, 2011 12:33 am
Forum: Support and Development
Topic: LCE : Love Callbacks Enforcer
Replies: 0
Views: 2364

LCE : Love Callbacks Enforcer

Introduction Have you already read post like "do not call draw functions inside love.update" ? I already read it ! I think lot of beginners do this kind of mistakes. Do you think "I'm not a beginner, I don't do this kind of things". Are you really sure ? What are you call in lov...
by TsT
Sun May 15, 2011 6:32 pm
Forum: Support and Development
Topic: Weird FPS problems with NVidia cards
Replies: 8
Views: 2903

Re: Weird FPS problems with NVidia cards

Also got the problem (2 FPS) under linux with nVidia NV34M [GeForce FX Go5200 64M]

EDIT: typo fix
by TsT
Wed May 11, 2011 5:03 pm
Forum: Support and Development
Topic: lovejail : a safe environment
Replies: 8
Views: 6431

Lua and security is so simple !

Hello, The love Thread is running in global environment. Hard or impossible to catch calls to apply the jail. I decide to fully change my way to do. Just a small summary of my story : - I had discover the " setfenv " function and thought "I can build a new environment and apply it to ...
by TsT
Thu May 05, 2011 4:27 pm
Forum: Games and Creations
Topic: Eternity
Replies: 42
Views: 20181

Re: Eternity

Another idea, for high speed, the stars should be rendered as line (not point) but maybe hard to implement...
by TsT
Thu May 05, 2011 8:30 am
Forum: Games and Creations
Topic: Eternity
Replies: 42
Views: 20181

Re: Eternity

Great ! :D