Talking about Actionscript 3, Box2D, Flash and Game development.
There’s no wonder my most popular posts in these weeks are Box2d destructible terrain demo using only geometry and Where’s my water Flash + Box2D demo. A lot of people want to create new games with Box2D physics and destructible terrain, and I receive a lot of emails and Facebook messages asking me if I am going to release the code.
Unfortunately, the code wasn’t ready when I wanted to release it, for a known bug I called “the infamous square cave”, here it is:
Anyway, I think I finally fixed it, but there may be other issues to fix… so here is the final version of the engine, with a new game design idea and some output texts to help me in the debug.
This is the result:
You can dig into the terrain by clicking and dragging with the mouse, should you encounter the infamous square cave bug, please select all the content of the rightmost text area, copy it and paste it as a comment, so I can work on it. Otherwise, if you don’t find any issue, please comment it’s ok.
If everything goes well, next week will be dedicated to the full tutorial and suggestions to optimize it. I want to see new games!!
Never miss an update! Subscribe, and I will bother you by email only when a new game or full source code comes out.