Score(s)!
Got the score system working. I think.
Still a little sick, but definitely feeling better. Although the bar for feeling better is not that high considering I literally lost consciousness twice on Thursday...
But regardless, have made progress on my breakout game. There are some tweaks and minor bugs that I need to work on, for instance;
- Space to continue text needs to show up in the middle. Now it shows up behind squares
- Add rank on high score list
- Some white borders (like in the screenshot above remaining balls)
- Hitting corners on bat can make the ball bounce in an unintended way
- At game over, ask player if they wanna continue or prompt new player
Also saw that there was a competition where the students could upload their version of the breakout game and we could vote who made the best game. Would have though that was cool, but now with less than a weeks time I don't think I can add that much to it. I also got some personal stuff I would like to get started on (for instance learning lua and trying to make a mod for [Project Zomboid](https://store.steampowered.com/app/108600/Project_Zomboid/)
But, I would like to add some of the following;
- If the bat is in motion when the ball hits, make the ball bounce in a modified angle. If both the ball and the bat are moving in the same direction, make the angle sharper. And if they are going toward each other, more narrow
- Would like to have space shoot the ball in the direction the mouse is pointing. It would be on a cooldown
- Have the bat glide for a while. Like if you had been moving right, it would decelerate for a few ticks before stopping completely