1. My main question is that how can i make sure that let's say during a splash screen every image is preloaded before i go to the main screen. in other words i need something like this for local bitmaps:
"local loader = UrlLoader.new("
http://www.giderosmobile.com/giderosmobile.png")
loader:addEventListener(Event.COMPLETE, onComplete) "
is this possible somehow? thanks
2. sidequestion about file operations:
if i use io.open and then file operations then in the example what does |D| mean? also if i just use this io.open to read/write my config file, when i export to apk do i need to set in android permissions read/write?
Comments
|R| means from the Resources (i.e. the applications directory)
Documents is a read-write directory and is backed up on iCloud, where as resource is a read only and not backed up as that is contained in your app.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
http://www.giderosmobile.com/forum/discussion/comment/9755