End Screens, Colours, and Paddle Collisions
This devlog marks the nearing of the end of this project. I made these changes a week ago, but was unable to find time to write a devlog before I went off-grid.
Here are the main changes:
- End Screen
I added an end screen with a randomised end message based off of who won (9 messages each) and a Restart button that uses a lot of the same code as the start screen. I also realised that 10 goals was a lot and quite slow, so I dropped it down to 5.
- Colours
I fixed the colour palette by finally swapping the background colour to something within the grand palette.
- Collisions
Hopefully, this is the last collision issue. If the ball hit the top/bottom of a paddle while the paddle had the same v_y direction as the ball, the ball would still swap v_y direction and go DOWN/UP, so this is hopefully taken care of. It doesn’t matter how fast the ball goes because if it hits the top/bottom of a paddle, the point is already lost.
The next devlog will probably be with all the build files and such.