The hardest pas is collision checking, which is still very funky sometimes. For example, if the ball hits a corner, it just passes through the tile, while it should properly bounce. I'm entirely not sure how to solve that, we will see...
Also, as you can see, the game gets a bit laggy if more and more balls are in the field, but I guess that's just because I draw many sprites. State saving and highscores are implemented, and stored in an appvar.
The source code can be found here: https://github.com/PeterTillema/Ballz. If people are willing to help me optimize, collision checking or cleanup, please do so!
To-Do-List
- (100%) Drawing map
- (100%) Animate going down
- (100%) Ask user input
- (100%) Draw moving balls
- (100%) Levels
- (100%) Highscore
- (100%) Saving
- (60%) Collision checking
- (0%) Yellow balls (purchase different color balls)
- (0%) Block explode animation
- (0%) Some sort of main menu