Finishing game and the menus work fine, but the minute we choose "New Game" the screen goes white and it's gone with no returning. I can exit to home and then go back into app, but can't actually get to the new game screen. Help. iOS version is ready and submitted to Apple, but need to clear up Android issues. Thanks so much.
Comments
white screen means there is a Lua error. Which version are you using? If your version is older than beta8, can you upgrade to beta8 and try again?
88.198.22.6/downloads/beta
Which I did.
Then run your project.
Thanks again to all.
(Any require calls should be deleted)
I've been stuck in building my app on Android and try to find the reason. Will we have other reasons about this?
Thank you.
My project works on Gideros Player Android, on Gideros player windows. I imported the project to eclipse and generate my own apk file. On real android device this apk file only runs the Gideros Splash screen, after that, a white screen is showed for 1 second and finally the execution program finish.
I remove the "require" command but still the problem persist. I use the tntCollision library, maybe there is a problem with this library.
Any help how I can compile my program?
Using require for lua files may consume twice as much memory, because scripts are loaded two times, which may also break your code.
Thus require may be used for external libraries, not for files included in the project.
For android your best bet is to launch app in debug mode in eclipse and look for errors in LogCat?
Most common Android mistake is the case sensitivity of files. Make sure your file names and extensions are in same case that you use in the code.
@MysiaGames tntCollision is an external library, that probably should also be included in eclipse project.
?:??: W/?(?): [ 12-15 23:45:58.219 4981: 5064 D/Gideros ]
?:??: W/?(?): *callFile* stack NOT ok begin:1 end:101 delta:-1
?:??: W/?(?): [ 12-15 23:45:58.219 4981: 5064 D/Gideros ]
?:??: W/?(?): ?:0: attempt to index global 'tntCollision' (a nil value)
?:??: W/?(?): stack traceback:
?:??: W/?(?): ?: in main chunk
?:??: W/?(?): [ 12-15 23:45:58.289 344: 344 D/dalvikvm ]
?:??: W/?(?): GC_FOR_ALLOC freed 345K, 15% free 13789K/16135K, paused 52ms, total 52ms
?:??: W/?(?): [ 12-15 23:46:21.149 4656: 5015 W/AndroidResourcesFactory ]
?:??: W/?(?): [chromesync#2021767611] Not running on internal thread since resources not started 55957, RegSyncHeartbeat:com.google.ipc.invalidation.ticl.RecurringTask$1@4197c008
---------------------------------------------
Update: forgot my problem. Now it's working fine. I rename my lua project all in lowercase and problem finished.