GP2X Scripting Engine?


Daid

Member
Joined
Jun 13, 2006
Messages
267
Location
Netherlands
Website
Visit site
I'm looking for a scripting engine to use in a game I'm working on. Right now my only option is:

LUA http://www.lua.org/
It compiles out of the box, but by default uses doubles. With some fiddling should be able to use longs.

But I don't really like the LUA syntax, I rather have a C syntax. But I cannot find any other scripting engine that's small enough or flexable enough for my needs...
 
Well, python would definitely take care of the flexible requirement, but I don't know if it's as small as you want.
 
Daid posted on Jul 23 2006 at 09:42 PM said:
I'm looking for a scripting engine to use in a game I'm working on. Right now my only option is:

LUA http://www.lua.org/
It compiles out of the box, but by default uses doubles. With some fiddling should be able to use longs.

But I don't really like the LUA syntax, I rather have a C syntax. But I cannot find any other scripting engine that's small enough or flexable enough for my needs...
Why don't you use C... You could try Fenix. Not exactly sure how well it would suit your needs though. Or how fast the gp2x port can go exactly.
 
Last edited by a moderator:
Daid posted on Jul 23 2006 at 10:42 PM said:
I'm looking for a scripting engine to use in a game I'm working on. Right now my only option is:

LUA http://www.lua.org/
It compiles out of the box, but by default uses doubles. With some fiddling should be able to use longs.

But I don't really like the LUA syntax, I rather have a C syntax. But I cannot find any other scripting engine that's small enough or flexable enough for my needs...

I think that LUA is the most indicated for small and powerful scripting engine. But if you want something more C like, you can look at http://www.s-lang.org/. Pay attention s-lang, even if a sintax more C like, is not C (of course) and is somewhat more low level than lua.

BTW: most of the game use lua or python as script language, but python is often considered as an overkill, for simpler task and lua preferred. Take a look at: http://lua-users.org/wiki/LuaVersusPython
 
Last edited by a moderator:
Back
Top