Someone could help me, I made a game and works perfectly on the simulator, but when I install the Android does not work, the functions are not called. Below the link to the project
https://github.com/AndreRavagnani/SamuraiTheRevenge
Thanks
Someone could help me, I made a game and works perfectly on the simulator, but when I install the Android does not work, the functions are not called. Below the link to the project
https://github.com/AndreRavagnani/SamuraiTheRevenge
Thanks
Hi, I have not tried your code but…
When I had problems with the app working on the simulator & not on the device its has been because the graphics names are case sensitive on the device … but not on the simulator… so It will work on the simulator but if the file name reference is not exactly the same case on the code, the device will not find the filename & it would not run…
I checked your code and for example on your game.lua you have: stageClear = display.newImage(“stageClear.png”,true)
But if you check the filename is StageClear.png (with the first letter in uppercase)… Check your images filename on
your code
Thanks very much for your help, you really found the error and now works perfectly.
The most common cause of “It works in the sim but not on the device” is a case sensitivity problem with a file name. However you can determine a lot if you learn how to read your debug messages printed to the device console. Please read this blog post:
http://www.coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
Thanks
Rob
Hi, I have not tried your code but…
When I had problems with the app working on the simulator & not on the device its has been because the graphics names are case sensitive on the device … but not on the simulator… so It will work on the simulator but if the file name reference is not exactly the same case on the code, the device will not find the filename & it would not run…
I checked your code and for example on your game.lua you have: stageClear = display.newImage(“stageClear.png”,true)
But if you check the filename is StageClear.png (with the first letter in uppercase)… Check your images filename on
your code
Thanks very much for your help, you really found the error and now works perfectly.
The most common cause of “It works in the sim but not on the device” is a case sensitivity problem with a file name. However you can determine a lot if you learn how to read your debug messages printed to the device console. Please read this blog post:
http://www.coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
Thanks
Rob