iDevGames Forums
Lua: A good scripting resource - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: Lua: A good scripting resource (/thread-6649.html)



Lua: A good scripting resource - CarbonX - Nov 3, 2003 02:25 PM

I am looking to impliment a scripting language of my making into Ground Zero so the users can create mods and conversions to the game. Does anyone know where there is a good resource on how to do scripting on the mac. e.g. loading files and gathering information from them.


Lua: A good scripting resource - OneSadCookie - Nov 3, 2003 02:36 PM

http://www.lua.org/


Lua: A good scripting resource - ededed - Nov 4, 2003 02:40 PM

LuaGL Scripter
Example code
http://www.geocities.com/ed72678954/index.html


Lua: A good scripting resource - CarbonX - Nov 5, 2003 02:12 PM

Pretty much All I need to know is how to read data into my programs from text files as variables and functions and stuff. (I don't know if this makes sense to you but it all makes sense to me in my headSmile)


Lua: A good scripting resource - w_reade - Nov 5, 2003 02:50 PM

Quote:Originally posted by CarbonX
(I don't know if this makes sense to you but it all makes sense to me in my headSmile)


In my experience, thinking this is a sure sign of pain to come Wink.

If you just want to get data out of text files, that's pretty simple, but I'm too drunk to be sure I'll get anything right... so ask, and someone will tell you.

If you want a scripting language, Lua (linked above) is really rather pleasant to deal with. Read the docs and OSC's Smiley Tag source from last year's uDevGame, and you should get it pretty quickly.

If you really want to write your own scripting language... don't ask me.

As ever, flame if I'm gibbering Wink.


Lua: A good scripting resource - igame3d - Nov 5, 2003 02:59 PM

Antack Source
Has a self created scripting language we implemented for uDevGame last year, 32 commands I believe.
Maybe that will help.

Antack the Game for your reference and to see the scripts in action.

Hope that helps.