Monday, August 12, 2013

Breakable Platforms and Ramps

I've added a couple things to the platform game that I think are pretty cool. First, there is a new platform type that the player has to break through to advance. They can do this by jumping (swiping up on the screen) and then swiping downwards to perform a "Ground Pound" move that shatters the platform allowing the player to fall through. In the screenshot below, you can see the player breaking through a platform.

Also noticeable in the screenshot above is a ramp section in the tunnel. I've added a few new sectors or rooms to the game that have these ramp sections. They go up or down and provide a different type of area that the player can run through, especially in sections like the one in the screenshot below with a lava pit at the top or bottom of a lava pit.

Another addition that I've made is one that I think is pretty cool, but it is also purely cosmetic. When the tunnel background tiles (the pink squares with the blue star in them) are spawned for a sector, there is now about a 10% chance that the background tile will be spawned as a different image. Currently it is just a different color star in the circle, but eventually it can be something cool and related to the theme that will break up the background a little bit. In the screenshot below you can see an instance of two of the "rare" green star tunnel background tiles among the more common blue star tunnel backgrounds.

The game is really coming together now, and besides the addition of some more sector types, I've basically added all the functionality I was wanting. I am hoping to add a couple more HUD things though. One, a meter (possibly in the form of a thermometer to go with the lava theme) on the left side of the screen that acts as a gauge to show the player how close the lava is to reaching them. Second, I would really like to add in something for the gems the player collects where, instead of having them just disappear, the move from the place they are collected up to top left corner of the screen where the score text is located.

No comments:

Post a Comment