Get the full commented source code of

HTML5 Suika Watermelon Game

Talking about SamePhysics game, Actionscript 3, Box2D, Flash, Game development and Monetize.

More than three years ago I released my first Box2D game called SamePhysics.

It was an experiment to port the famous tile based game SameGame into a real-world physics environment, and despite it was nothing that a prototype with some bugs – especially with collision management – the game got some success, with about 2.5 million views and two sponsorships by Rotten Tomato Games (now offline) and GirlGames.

Now I am making a sequel of the game, more polished, fun and playable, and it’s time to release the source code of the good old SamePhysics.

You are warned: the code is “as is” and it’s not even the latest Box2D distribution, but I think it could be interesting to learn the basics of Box2D programming from a real world successful example.

Download the source code.

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