The biggest disadvantage of Corona vs. Xcode (for us) is the problem with loading lots of images.
In Xcode we can load these images into the memory while we can still animate e.g. a scene.
In Corona this is not possible, there are always times where nothing happens because the images are loaded at this time and no interactivity is possible.
It would be very important to have an mechanism like this:
- declare image varibale e.g. local myImage
- myImage = loadImageAsThread(“spriteSheet.png”, onLoaded = imageLoadedListener) into the variable
- As soon as the image is loaded an event is thrown and the listener imageLoadedListener is called
With this I could e.g. design an animated book (using the storyboard API for the scenes) and while one scene is displayed and the user interacts with the scene I already could download the sprite sheets for the next scene (in the createScene event of the next scene I could check if images are already loaded, if not they will be loaded in createScene).
This would give us lots of possibilities to create more user friendly games & books.
Best,
Andreas
[import]uid: 107675 topic_id: 24071 reply_id: 324071[/import]