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.
--- a/MusicEngine.lib Thu Feb 05 14:41:21 2015 +0000 +++ b/MusicEngine.lib Sat Feb 28 11:40:39 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/taylorza/code/MusicEngine/#1742b6b435ff +http://developer.mbed.org/users/taylorza/code/MusicEngine/#4f7c4255997a