Hello, this is my first post ever on this forum
I am new to Gideros and for learning purposes I've tried to make a small test game. On the Gideros Player everything worked fine (never mind some bugs) but when I deployed the .apk file to the device (HTC Sensation) the application crashed, I suppose.
It only shows the "made with Gideros Studio" splash screen and then the screen goes blank and the application closes. Searching on this forum for help I've understood that such behavior can be caused by wrong case of graphics file names as Android is case sensitive but I still can't figure the problem as these names seem ok.
Can anybody please give a look?
Thank you and greetings from Croatia
Comments
10-28 19:34:56.341: D/Gideros(22114): ?:0: attempt to index global 'Start_menu' (a nil value)
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Anyway, here's the project in the attachment.
This would suggest that the problem lies elsewhere as the Gideros Player is just a normal build without an empty assets folder.
Interestingly, I just looked at the output files from Gideros Studio export and the files in the project you're trying to compile with eclipse and your start_menu.lua is start_menu.lua.jet in the eclipse project but Start_menu.lua.jet in the project I just exported.
This would suggest that between exporting the project yourself and posting the project on this forum, the filename has been changed.
@hnim: Although the project shows 2 main.lua files, there is actually only one and this is reflected in both the project folder and the exported eclipse project folder. As the project works fine in Gideros Player (which I have tested and found to be the case) then code dependency is not the problem.
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
I've done that with several other files/classes, recompiled it, exported it but the result was still the same:
10-29 14:01:21.192: D/Gideros(6582): *callFile* stack NOT ok begin:1 end:5 delta:-1
10-29 14:01:21.192: D/Gideros(6582): ?:0: attempt to index global 'Start_menu' (a nil value)
10-29 14:01:21.192: D/Gideros(6582): stack traceback:
10-29 14:01:21.192: D/Gideros(6582): ?: in main chunk
@vedran: can you try this: remove 2main files (open Starfighter.gproj and remove 2lines) then re-import main file to project.
>-
Thank you for helping me guys
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive