Pros and Cons of Building a Custom Physics Engine

I am currently building a 2D platformer game called Platform Pixels. I chose to build the game using the libGDX framework because it can export to iOS, Android, and Desktop very easily. The framework also includes (optionally) the Box2D physics engine, but I chose not to use it. Instead, I wrote my own physics engine.

Continue Reading

How I Fixed libGDX Sounds Causing Game Lag on Android

tl;dr add silence to your sound files if they’re too short. The release of my first ever mobile game Platform Pixels is coming up, so I’ve been testing it on as many devices as I can. I was confident after seeing it run on an old HTC One X (2012) but was saddened when I later saw it stutter on a more powerful Nexus 7 (2013). Then I noticed something. The stutter disappeared completely when I disabled the sound.

Continue Reading

How I Implemented a Lantern Lighting Effect in 10 Minutes

I am not an artist, so when I set out to make a game I needed to find other ways of making it look good. One of the things I did for my game Platform Pixels was add a lantern lighting effect. Here’s what it looks like (zoomed out for greater effect). This effect was actually very easy to implement in the game, so I felt like sharing exactly how it was done.

Continue Reading

10 Essential Tools for Making an Indie Game

When I started working on my first game Platform Pixels about a year ago, I had no idea how much work it would be. Since starting the project I have learnt how to make a game, create music, design graphics, edit video, and a bunch of other useful stuff! As I prepare for the initial launch, I though it would be cool to put together a list of the tools I found most useful throughout the development process.

Continue Reading

Pros and Cons of Procedural Level Generation

Over the past few months I’ve been working on a 2D platformer game called Platform Pixels as a side project. A large part of making a game like this is designing and creating levels. I started off doing this by hand, but quickly realized that it was taking more time than I wanted. To speed up the development cycle, I wrote a Procedural Level Generator to make levels for me. It can randomly generate a level for the game in seconds, which is a huge improvement.

Continue Reading

The Sad State of In-Game Ads

With every passing day, the state of advertising worsens — specifically in mobile games. Today, one app took it too far. This is my story: I am sitting on my bed, comfortably, browsing the Play Store for something new. Minutes pass with no luck. “Utter garbage,” I think to myself as I keep scrolling. What has the mobile game market become? Finally, after what seems like hours, a game piques my interest.

Continue Reading

Platform Pixels – My First Ever Game

I’ve been working on a 2D platformer called Platform Pixels for a while now and realized I had not yet written about it. Platform Pixels is something that I started as a learning experiment. I had been playing around with HTML5 Canvas and became curious as to how collision detection worked. So I started writing a physics engine… After a weekend of hacking, a basic (slightly broken) physics engine with simple movement controls was implemented.

Continue Reading

Pong Simulation Demo

Discovering CodePen yesterday has motivated me try more programming experiments. I’ve been wanting to build a pong clone for a while so I decided to finally give it a try. Unfortunately it is too much code to write inside of CodePen’s interface (my opinion), but I was able to write a Pong simulation in just over 100 lines. Here it is: Check out this Pen! I started a Github repository for the project that I plan on eventually finishing, but for now I’ll leave it at this.