Archive for the ‘JBox2d’ Category

Ludum dare 11: Final version

Sunday, April 20th, 2008

Well my entry is as complete as I will get it in the time allowed.

Here is a screen shot of the chaos.

Screenshot

Play the game here

Source Code
Minimalist source code

Quick run down of tools used.
Pulpcore
Applet framework.

JBox2d
Physics engine.

Eclipse IDE
IDE I used to code it.

Ludum dare 11: First release

Sunday, April 20th, 2008

I have been coding an entry to the Ludum dare 48 hour game programming competition.
The theme for LD48:11 is Minimalist.
So my entry is pretty minimalistic, just colored squares trying to crash into each other with some retro sound effects generated by this awesome application sfxr.

Here are some development screen shots.

Here is a link to my entry as it currently stands.

Instructions.
Use the arrow keys to move the blue square.
Dodge the red squares as they try to fall on you.
Red squares will turn white after staying still for a short time and are safe to touch.
Use the mouse to move the green cursor, click to fire a yellow square. The yellow square can help deflect red squares.

Pulpcore and JBox2d: A simple demo

Saturday, March 29th, 2008

Found a physics library called JBox2d the other day.
It is a Java port of the Box2d physics library.

The demos on the JBox2d site looked pretty interesting so I decided to see if I could get it to run with Pulpcore.
I managed to get a simple demo together fairly quickly.
It is a demo where you are able to drop a domino into a scene. You can also create new floors by right clicking 4 points in a clockwise order. IF you cross the points or drawn them out of order they will render but will not take part in the physics simulation.

Demo
Source