Hey guys,
I’m trying to download a full zip containing the resources for the game (including lua files, sounds, etc) and unzipping it on the cache directory of Android and setting that path to the init() function of the CoronaView.
It seems that the main.lua is loaded but the following files are not loaded and the JNI can’t find the other lua files. The error is :
ERROR: Runtime error
/Users/jenkins/slaveroot/workspace/CoronaCards/OS/android/subrepos/composer/composer.lua:1453: /Users/jenkins/slaveroot/workspace/CoronaCards/OS/android/platform/resources/init.lua:906: module ‘level’ not found.
The main calls the following “composer.gotoScene(“level”)”
Everything works perfectly if I embed the resources in the assets.
Is it possible to set a custom Android directory to have dynamic runtime games or do the resources have to be in the assets of the apk and embedded from the start?
Let me know if you have any idea, thanks!
T