Saturday, September 20, 2014

HTML5 up and running!

So for fun sake, I decided that the integrated HTML5 feature could not go to waste. And I setup a webserver that runs the game through javascript.

The build was done in gradle with the command:

./gradlew html:dist

which creates all the necessary files in html/build/dist folder of the project. Of course as always there was some tweaking before getting it to work. Nothing is that easy. But changing the android sdk path

On Linux/Mac OS X

set ANDROID_HOME/Path/To/Android/SDK (Applications/sdk)

is something that has to be done nevertheless.

So now you can visit this site to get to the week 3 progress of the game!

Enjoy!