Retro game that let's the player steer a ball through a hole filled maze. Has multiple levels of increasing difficulty.
Ball and Holes
In this game I attempted to create somewhat natural movement of the ball by implementing gravity and friction which combined over time determine the speed of the ball. Playing with the settings (aka. the magic numbers) that are spread out all over game.cpp, gives different effects, such as an icy, rough or liquid-like surface.
It took some time to figure out how to post my very first youtube video. Sorry for the shaky recording. Trying to record the video with my phone while playing the game in one hand was quite challenging, but here it is;
The left and right buttons are used to cheat: restart the current or go to the next level. Up and down control the game-tick. During game-play the robot-button shows the accelerator graph and the ship-button mutes the sound.
BTW. If your ball happens to get stuck, tilting the console in the opposite direction will set it free. For sake of argument: these magnetic wall-ends are in the words of Bob Ross "a happy accident". Since there is no specific code for it, others might call it a bug. As it results in more interesting game-play, I didn't attempt to fix it, but left a comment for those who dare to look at the mess I call code.
Revisions of Game.cpp
|11:ef3cbc443f27||2015-03-02||more clean-up||File Diff Annotate|
|10:1d75861242f7||2015-03-01||ready for submisison?||File Diff Annotate|
|9:7bd5def2115d||2015-03-01||added cheat buttons to show higher levels||File Diff Annotate|
|8:b119501f4ef0||2015-02-28||multiple levels||File Diff Annotate|
|7:6e7b789f4060||2015-02-28||added holes and scoring||File Diff Annotate|
|6:e2eead4e53fb||2015-02-28||Added walls to maze||File Diff Annotate|
|5:67e75a4f0b52||2015-02-05||added MusicEngine for more tunes||File Diff Annotate|
|4:4a5f33d845d9||2015-02-04||This version works. Added lowering ceiling..||File Diff Annotate|
|3:ca8b21da67dc||2015-02-04||somehow this version fails. Too much ram usage?||File Diff Annotate|
|2:d4de5a5866fe||2015-02-03||Added more balls||File Diff Annotate|
|1:c1ee4c699517||2015-02-01||moved graph to accelerometer class||File Diff Annotate|
|0:87ab172a74b4||2015-01-28||Separated elements as objects, added gravity and bouncespeed.||File Diff Annotate|