12/19/2015

ludum dare #34

So I skipped one ludum dare, but with number 34 I was in again.

The week before I came across a spriter-runtime for phaser - perfect!

I prepared and tested that a little, and for the ludum dare weekend I came up this this:


The dog and the sheep are animated in phaser, the sheep have two alternative textures for variety.

As mentioned thanks to the runtime, this time the animations are not spritesheets exported form phaser (see last entry) but are animated "live". This way the animations look much more smooth:



Ludum dare page here: http://ludumdare.com/compo/ludum-dare-34/?action=preview&uid=34367

Directly play my entry here: http://jppresents.net/static/ld34/

And here is the short timelapse, that shows the work:




4/19/2015

ludum dare #32

I joined ludum dare this weekend (again) and made a silly game about a monkey that really doesn't like butterflies.


I used the new Webstorm 11 with the integrated typescript compiler. It's not as smooth as it could be but it's already better than the filewatchers that were used before.


You can check out my ludum dare game and all the others here.

1/30/2015

Android and Webview + Html5

Since I got my new android phone (a oneplus one) late last year I wanted to look into making an android game and I finally made good progress.

Since I am into javascript/typescript html5 games at the moment, I have looked into building an android app that basically consists of nothing but a fullscreen browser.

With Android Studio 1.0 (the new intellij based google android developement studio) this was (with some googlefu) pretty easy - but then came the harsh awakening - while webview is based on chrome, it is:
a) an older version
b) not webgl enabled
c) running under more restricted power conditions then the normal chrome

This makes it nearly unusable. The absolute same webpage displayed within a webview barely manages 20fps while the chrome version has steady 60fps.

The app only has one activity which consists of one component, a webview (from android 4.4 on the webview is using the chrome rendering engine). Stackoverflow helped me get the webview to fullscreen and then it's just a matter of one line to enabling javascript and another to line to load the index.html for the game.

The issue reports about the performance problems are from 2013, when 4.4. first came out. (The previous webview had slightly better(!) performance).

Android 5 is supposed to have a better webview - and since it is due within the next few month, I'll hold off on developing the android game and re focus myself on webgl and threejs for now.

1/25/2015

website update and another small game

I finally updated the jppresents.net website to include some of the latest games.

The ludum dare tower defense, tank wars and a new small weekend project game "harvest: earthtongue" are now integrated in the site.

The "harvest: earthtongue" game was my "pay by art"-payment for earthtongue.
I thought it would be fun (and funny) to pay for a game with another game.




Erich (the creator) was cool about it and I received my free copy.