December 1GAM – Alien Abductor

For December I finally ventured into the alleged “third dimension”. Or at least, sort of. This game is based around ray casting to create a pseudo 3d environment. It is an interesting approach that is actually surprisingly simple. I was pleasantly surprised by how straight forward the algorithms are.

Due to time constraints I took a short cut by working through a tutorial to get the basics done. Creating pseudo 3D games with HTML 5 canvas and raycasting. That got me as far as having a big room that you could walk around in. Not very exciting.

To make the world a little more interesting I brought in the map generator from a previous project, Ascent pt 1.

I had to figure out the logic to add critters to my world. Once I understood how the ray casting worked, adding non-wall entities wasn’t particularly difficult. A little high school math is all that is involved. That said, my logic for determining whether an alien is actually visible onscreen is somewhat glitchy. If I have time in the future I will revisit it and try to iron out some of the bugs.

The aliens themselves are created by me based on the creatures depicted on ceramic tile coasters created by one of my sisters in law.

The game is called “Alien Abductor”. Your task is to roam around a large structure collecting aliens who are going about their business. The fate of the aliens post collection is left as an exercise for the reader.

Here it is. Alien Abductor.

2 thoughts on “December 1GAM – Alien Abductor

    1. As I understand it, the ray casting technique I have used is the same as was used in Wolfenstein. Wolfenstein 3d was rather more polished than Alien Abductor obviously.

Leave a Reply