Lua: A good scripting resource
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.
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 head)
Quote:Originally posted by CarbonX
(I don't know if this makes sense to you but it all makes sense to me in my head)
In my experience, thinking this is a sure sign of pain to come .
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 .
Possibly Related Threads...
|Suggested Scripting Language||Talyn||11||6,578||
Dec 31, 2008 03:26 PM
Last Post: Carlos Camacho
|Scripting Language Woes (Lua)||Bachus||2||4,385||
Oct 14, 2008 09:48 AM
Last Post: Blacktiger
|Looking for a compilable scripting language||BinarySpike||8||6,824||
Apr 24, 2007 09:59 AM
Last Post: BinarySpike
|Scripting Language: Rolling Your Own||Emehr||14||6,584||
Feb 10, 2007 08:14 AM
Last Post: IBethune
|Scripting language recommendation?||WhatMeWorry||6||4,106||
Nov 11, 2006 10:09 AM
Last Post: Duane