2DWorlds Forums
Lua wiki - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: Lua wiki (/showthread.php?tid=178)



Lua wiki - pokemon771 - 12-19-2012

Will there be a wiki on the lua?

is it custom lua kinda like rbx.lua?


:gun_bandana:


:gun_bandana:

:gun_bandana:
:gun_bandana:


RE: Lua wiki - Ghosty - 12-19-2012

http://2dworlds.org/wiki

Yes, it is similar to Roblox Lua, with a few very important differences.
  • Use sleep(time) instead of wait(time).
  • Use Item:getChild(name) instead of Item:findFirstChild(name).
  • Use Color(red, green, blue) instead of Color3.new(red/255, green/255, blue/255).
  • Use Vec2D(x, y) instead of Vector3.new(X, Y, Z).
  • Use link(event, function) instead of event:connect(function).
  • Do not use the newbie bandito smiley too often. Wink



RE: Lua wiki - pokemon771 - 12-19-2012

(12-19-2012, 01:55 PM)Ghosty Wrote: http://2dworlds.org/wiki

Yes, it is similar to Roblox Lua, with a few very important differences.
  • Use sleep(time) instead of wait(time).
  • Use Item:getChild(name) instead of Item:findFirstChild(name).
  • Use Color(red, green, blue) instead of Color3.new(red/255, green/255, blue/255).
  • Use Vec2D(x, y) instead of Vector3.new(X, Y, Z).
  • Use link(event, function) instead of event:connect(function).
  • Do not use the newbie bandito smiley too often. Wink


Thanks for the help!



RE: Lua wiki - Emperor - 12-19-2012

What would we do without you, Ghosty!


RE: Lua wiki - Silcone - 12-21-2012

LUA is a highly adapted programming language used in a score of "build your own world" games.

I currently am developing my own programming language, similar to LUA, for my new game. The language will feature Java-like properties, that gives it an edge over LUA.

For instance:
()Add.
-Adds an object "Add(Link to Model)"
The objects will have to be uploaded via the website.

For now, the ROBLOX LUA wiki will suffice, until 2DWorlds develops one. Plus, you can also
see examples on youtube and various websites. If you need background information on LUA's creation,
refer to Wikapedia and if that doesn't work, cross-reference.