Differences

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


wmelite:ios 2012/01/02 18:33 wmelite:ios 2012/01/21 13:37 current
Line 34: Line 34:
===== iOS notes ===== ===== iOS notes =====
 +
==== Multitasking and auto-save ==== ==== Multitasking and auto-save ====
-Since version 4, iOS supports multitasking and applications can choose whether they want or don't want to support it. WME Lite deliberately doesn't support multitasking. The reason is, that the underlaying SDL graphics library currently doesn't cope well with returning to a running application. It means, that when the user presses the Home button, the WME Lite game is terminated. However, before being terminated, it's possible to instruct WME Lite to save the current game. That way the player can resume playing when they start the game again.+Since version 4, iOS supports multitasking and applications can choose whether they want or don't want to support it. WME Lite does support multitasking. However, the way multitasking works in iOS means that the application can be terminated at any moment when it's running in the background (when the OS needs more resources, inactive apps are removed from memory). When the application goes to background (typically when the user presses the Home button), it should save its state, so that it can be seamlessly restored later. In case of WME Lite it means a saved game should be created. That way the player can resume playing when they start the game again.
The iOS version of WME Lite provides two scripting properties that control this behavior: The iOS version of WME Lite provides two scripting properties that control this behavior:
 
wmelite/ios.1325525628.txt.gz · Last modified: 2012/01/02 18:33 by Mnemonic
Recent changes RSS feed Creative Commons License Driven by DokuWiki