Differences

This shows you the differences between the selected revision and the current
version of the page.


wmelite:scripting 2011/05/29 09:40 wmelite:scripting 2011/07/30 15:14 current
Line 19: Line 19:
iOS only. This property specifies the save game slot used for automatic save. Default value is **999**. iOS only. This property specifies the save game slot used for automatic save. Default value is **999**.
Note that you are responsible for providing the user interface for resuming the game from autosave. Note that you are responsible for providing the user interface for resuming the game from autosave.
 +
==== Game.MostRecentSaveSlot ==== ==== Game.MostRecentSaveSlot ====
-Returns the number of the most recently used save game slot. If there's no recent slot, this property contains **-1**.+Read-only. This property returns the number of the most recently used save game slot. If there's no recent slot, this property contains **-1**.
It can be used for implementing a "Continue" button in main menu, which will allow the player to quickly continue from their last saved position. It can be used for implementing a "Continue" button in main menu, which will allow the player to quickly continue from their last saved position.
Line 30: Line 31:
iOS only. Hides the top status line on iPhone/iPad. iOS only. Hides the top status line on iPhone/iPad.
 +==== Game.Store ====
 +iOS only. Read-only. Returns a reference to the [[store|Store]] object, which can be used for in-app purchases.
 +
 +===== Store object =====
 +
 +[[store|Store object documentation]]
====== Changed scripting methods in WME Lite ====== ====== Changed scripting methods in WME Lite ======
 
wmelite/scripting.1306654816.txt.gz · Last modified: 2011/05/29 09:40 by Mnemonic
Recent changes RSS feed Creative Commons License Driven by DokuWiki