twiddlingbits / twr-wasm

twr-wasm: easily run C/C++ code in a web browser using Web Assembly, with examples
https://twiddlingbits.dev/
MIT License
19 stars 2 forks source link

horizontal ball in single player pong #35

Closed twiddlingbits closed 1 month ago

twiddlingbits commented 1 month ago

Sometimes when launching single player pong, the ball is almost horizontal, taking a very very long time to make it down to the paddle. You should make sure the angle is sufficiently "downward". For example, perhaps at least 30 deg down from the horizontal?