Wizcorp / Ejecta-X

A Fast, Open Source JavaScript, Canvas & Audio Implementation
http://wizcorp.github.io/Ejecta-X
185 stars 50 forks source link

How to import my js game into Ejecta ? #57

Closed BuzzBuzz closed 10 years ago

BuzzBuzz commented 10 years ago

Hello Seems such a stupid question, but I do have a trouble. I imported the project in Eclipse, replaced the index.js content with my own game's js, but when I run I am still getting the demo drawings... What is the proper way to import my game into Ejecta ? Thanks

come commented 10 years ago

it is the proper way.

perhaps you can "project > clean" before running ?

BuzzBuzz commented 10 years ago

(Thanks for helping so fast) I tried but no change, I am still getting the demo drawings. I built it again with the ndk after replacing the index.js but it did not change anything neither.

come commented 10 years ago

hmmm strange problem

just to be sure, did you try to remove your app from your device ?

jrouault commented 10 years ago

As @come suggested, be sure to uninstall your app after modifying your JS code. If the app is not uninstalled first, assets already existing on the device won't be replaced. You can uninstall the app directly on the device or by command-line: path/to/android/sdk/platform-tools/adb uninstall package.of.your.app (be sure to replace the path to adb and the package of your app by the right value)

BuzzBuzz commented 10 years ago

That's it, thanks.

aogilvie commented 10 years ago

Issue seems to be resolved.