An app I'm working on has several separate activities that you can choose from a menu screen. I'm using scenemanager to go from a menu screen to the activities and back from the activities to the menu. Each activity has its own 'scene'.
This works well in Gideros player on my computer and also using the player on my tablet (Archos 80 running Android 4.0.3) and switched between activities with little delay. However, when I built an apk and used that on the tablet, I found that it takes a long time to go from the menu to an activity (maybe taking 2 to 3 seconds from touching the button on the menu to opening the activity). I wonder if this is something to do with the way I'm loading files, although when I use the same apk on my phone (Nexus One Android 2.3) it takes less than 1 second to go from menu to activity, so it can't be totally bad!
If I can't beat this lag, is there any way that I can run a simple movieclip animation so that it starts up when the menu button is touched and stops when the new scene has appeared? I tried doing that and it worked fine in Gideros Player, running merrily until the new scene was loaded. However, when I built the apk and used that on the tablet, the animation appeared when I touched a menu button but stopped the moment the scenemanager change scene call was made (I tried a delayed call to the scene change just to check that the animation started and it did).
Thanks
Pete
Edit: I've now found the cause for the lag so it's working much better again. Would still be interested to know if there was any way of showing an animation during screen transitions in scenemanager.
Comments
Likes: MoKaLux