GitHub Game Jam 2012

GitHub Game Jam 2012 image of GitHub mascot in Mega man outfit

Image used from GitHub Game Off

GitHub is hosting a game jam for the month of November, and I decided I would participate. So fo the next few weeks I will post an article on my progress so that you can follow along with my endeavor.

Read more

Object Pools

The green recycle symbol. Taken from http://www.sxc.hu/photo/1266576.

I recently wrote an article for Gamedevtuts+ that covered object pools and how to use them to create an efficient particle system.

I hope you find it helpful.

JavaScript Object Pool

The green recycle symbol. Taken from http://www.sxc.hu/photo/1266576.

During the development of my Galaxian style HTML5 game, I wanted to make an object pool of the bullets that my ship and enemies could use to help keep my performance high and unnecessary garbage collection low. However, after 30 minutes of Google searching for an object pool in JavaScript, it seemed that no one had posted any examples. I was quite baffled that no one had made one, so I developed my own simple object pool for JavaScript.

Read more