Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 37 and Version 38 of content/LevelHowTo


Ignore:
Timestamp:
Jun 25, 2013, 5:08:01 PM (11 years ago)
Author:
bknecht
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v37 v38  
    200200Lua is the scripting language we use in our levels. At the beginning of the file templates for spaceships, the hud and more are loaded. What lua does in this context is editing the XML file and inserting the concerning XML (of the spaceships, hud, ..) before the level is loaded. That's why you cannot rely on the line numbers displayed when an error occurs, since before loading lua changes the file.
    201201
     202A quick overview over Lua: [http://tylerneylon.com/a/learn-lua/ Learn Lua in 15 minutes]
     203
    202204What lua can do:
    203205 * load external skripts: for example the cuboid spacestation.