Get the full commented source code of

HTML5 Suika Watermelon Game

Talking about Game development and Javascript.

Do you remember my first Flash game tutorial?

I think it’s time to make something similar with HTML5. At the moment, I am showing just a quick prototype because I want to show you it’s possible to achieve smooth movements with this technique, but I am going to start a tutorial series about it.

I called most variables and functions in the same way AS3 coders are used to see, so it won’t be a problem to figure out how does it works.

Anyway, this is the game:

Tap arrow keys like in the original game to move the ball. Obviously this does not work on Internet Explorer.

And this is the source code:









     


Expect a lot more features and a full tutorial in a couple of days. But the most interesting question is: can an HTML5 game make some money? Maybe I’ll make an experiment on it…

Never miss an update! Subscribe, and I will bother you by email only when a new game or full source code comes out.