Open a-r-t opened 7 months ago
I recently implemented something similar for a Multiplayer Pong demo recently, so I have an idea on where to start.
@mattcmerritt awesome, perfect!!! thank you! this issue is such high priority, I really appreciate it!!!
This is in my opinion the most important issue in regards to the game's overall playability.
In traditional brick breaker games, based on where the ball hits the paddle, the ball's direction and angle is changed. This is what makes brick breaker difficult and adds actual strategy to the game beyond just trying to keep the ball afloat.
If the ball hits the left side of the paddle, the ball should be sent to the left. If the ball hits the right side of the paddle, the ball should be sent to the right.
The ball's trajectory angle should also change based on how close to the edge of the paddle it hits. If the ball hits near the center, its trajectory will be near straight, while if it hits near the edge, its trajectory will be at a much greater angle. Most brick breaker games divide the paddle up into six slices and decide on directions/trajectory angles from there.
You can watch traditional brick breaker gameplay here for a visual on the ball's trajectory being affected by where it hits the paddle.