Saturday, February 12, 2011

Collider Bombs

In this Android game, user takes control of some removable and exploding components and use them to collide same colored rigid bodies. User can cut the springs or remove some of the rigid bodies and make the way for the entities. The game is developed with Eclipse and runs ok on my Galaxy S. This is my first experience for mobile game development and using Java is good to speed-up things. Its really good to have a easy interface to install your application to the phone, eclipse just outputs the necessary -single- .apk file. But when debugger is connected to the emulator program runs very slow, it is problematic to debug the program and I experienced some deadlock problems .

The physics engine and the game-play part is separated and game uses collision callback to handle collision events. Game entities holds the rendering and game specific details while the physics engine and the rigid body classes are only using necessary data. Rigid body dynamics supports box and sphere shapes. Broad-phase collisions are handled via radius check and then the possible collision are
Here is some of the physics engine features: Rigid Body dynamics, Force Fields, Gravity Keyframe Animated Bodies, Springs Collision listeners, sphere and box shapes, friction, joints, raycasts.

There are 4 levels exist in the game. The first level is the tutorial part and you just click the entity to see the game's mechanic. The second level has a bomb attached to a spring. All you have to do is cut the spring and drop the bomb to a good place where it should effect dynamic bodies and make them collide.

Third level is a testing area and shows the joint system, not completed yet. And the latest level is a completely different game created with the same physics engine where you try to avoid collisions with the random rigid bodies. The scoring system is not ready yet for this level.
I hope you will enjoy with this term-project game. Serdar, out.


0 comments:

Post a Comment