Block Breaker is a game I’m currently developing. It’s a simple game where you have to use a paddle to bounce a ball into bricks to destroy them. The game was working and had only 1 feature which was to hit a brick with a ball and collect the brick with the paddle. I wanted […]
Java
Simplex Noise – Generating Random Terrain.
I had an idea for a game and wanted to see if I was able to make some random terrain for it. So I decided to look into making some random terrain using the Perlin noise as I knew minecraft uses this in it’s terrain generation. while looking into the Perlin noise I discovered a […]
Using Pixmaps in Libgdx
Pixmaps, as the name implies is a map of pixels, each pixel containing a level for red, green and blue and sometimes alpha. They can be used to store image data and can be generated on the fly in your application. Pixmaps reside in native heap memory and should be disposed when they are no […]
Explosions in Libgdx with Box2d
In a game I’m developing I wanted to have some realistic explosion effects. At first, I thought I would just apply an impulse to all objects within range of the explosion. However, this created unrealistic movement in the affected objects and the objects didn’t rotate. I tried using ray casts to set points to apply the forces […]
Game AI: Finite State Machines
Game AI is one of the main reasons people will continue to play a game again and again. Games without good AI tend to lack any replay value. An example of really bad AI is Aliens: Colonial Marines. Just check out this video of someone playing on ‘Hardened’ difficulty and not even needing to shoot […]