Changes

Jump to navigation Jump to search

Changes in OS 3.2

37 bytes added, 15:38, 25 July 2013
Line 7: Line 7:  
'''All''' documents created for 3.1 and previous will run in that apilevel by default. This is because some changes in the XML structure of the document. So most programs and games should run fine by default.<br /> Then there is apilevel 2.0. This apilevel has some big changes to the API structure, so you will have to update some of your code in order to have some of they new 3.2 stuff. However, it is currently not possible to create apilevel 2.0 documents with [[Luna]] due to changes in the XML structure. Luna may get updated soon.<br />
 
'''All''' documents created for 3.1 and previous will run in that apilevel by default. This is because some changes in the XML structure of the document. So most programs and games should run fine by default.<br /> Then there is apilevel 2.0. This apilevel has some big changes to the API structure, so you will have to update some of your code in order to have some of they new 3.2 stuff. However, it is currently not possible to create apilevel 2.0 documents with [[Luna]] due to changes in the XML structure. Luna may get updated soon.<br />
 
For the best support and guarantee that you are using the correct apilevel, you should add the following to the top of new Lua documents you create:
 
For the best support and guarantee that you are using the correct apilevel, you should add the following to the top of new Lua documents you create:
:''platform.apilevel = "1.0"'' or ''platform.apilevel = "2.0"''
+
:''platform.apilevel = "1.0"'' ( or ''platform.apilevel = "2.0"'' depending on what you plan to use)
    
==Events==
 
==Events==

Navigation menu