Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

About this blog

A rusty programmer tries his hand at a new platform

Entries in this blog


Prototyping has Begun

I managed to squeeze some time in this morning to start working on the Allegro 4 prototype for the game. I want the final game to have a potentially infinite length, so what I have done is created a background bitmap that is three times longer than the display. Initially, obstacles and flags will be drawn to the entire background.

Once the game begins, a camera object moves from the top of the 'first' page to the top of the 'second' page. At this point, all objects are moved up the bitmap by one display length. Any objects that are now off the top of the bitmap are removed from the game, and new obstacles are created for the new 'third' page. The camera is then repositioned to the top of the first page. This process will be repeated until the game ends.

Here's a YouTube clip to demonstrate:




Project Introduction


It's been a while since I did any serious programming, as I have a very time-consuming job. But since I bought myself a new Nexus 7 tablet, I've been finding myself wanting to develop games for it.

Not only will this be my first real Android project, it will be my first Java project (most of my experience is with C, and some C++ and C#).

I'm keeping this journal for two reasons. Firstly to keep track of my progress and help keep myself motivated, and secondly to hopefully help anyone else who finds themselves in the same situation.

The Game

The game I've chosen to make for this project is a skiing game based on a BASIC game I had on my Atari 800 when I was a kid. The premise is simple - avoid obstacles and last as long as possible. Points are awarded continuously over time (the faster you travel, the more points you accrue) for just surviving and extra points can be earned by skiing between sets of flags,

The control scheme I intend to implement is to steer by tilting the device to the left or right and controlling speed by tilting backwards and forwards.

Development Process

I will probably prototype my ideas using C/C++ and Allegro 4, as it is what I am familiar with. At the same time, I intend to learn Java and LibGdx to write the game itself. At a later date, I hope to start using the Android port of Allegro 5, but I will wait until it is more complete before switching from LibGdx.



Sign in to follow this  
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!