markckim / Scorched

Demo of destructible terrain (i.e., "Scorched" / "Worms" type gameplay) using cocos2d and box2d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scorched

This is a demo of an implementation of destructible terrain on iOS using cocos2d and box2d. Touching an area creates a circular hole. If the circle intersects the terrain, it is removed. The image has been separated into different tiles (indicated by the red lined boundaries) which are box2d edges to improve performance. Upon terrain destruction, the borders are reconstructed and new edges are created based on the remaining terrain inside the tile.

Brief Video Demo: ScreenShot

About

Demo of destructible terrain (i.e., "Scorched" / "Worms" type gameplay) using cocos2d and box2d

License:MIT License


Languages

Language:Objective-C 78.6%Language:C++ 14.6%Language:C 6.7%Language:MATLAB 0.0%Language:Shell 0.0%