Paddle working
GameJam > Ping » Devlog
Update: The paddle now works!
I was very surprised how little code was needed for this.
```
float angle = (float)(ball.position.y - leftControllable.position.y) / (leftControllable.scale.y / 2.0);
dirVector.y = angle * biasFactor;
```
Files
Ping-artifact-itch-31.zip 8.4 MB
10 hours ago
Get GameJam > Ping
GameJam > Ping
https://itch.io/jam/beginners-jam-aut2025
Status | In development |
Author | Litebox Games |
Tags | 2D, Game Jam, pong |
More posts
- Texture coordinates now working4 days ago
- Something kind of playable6 days ago
- First troubles, Hardcoded object limits6 days ago
- GameJam > Plan6 days ago
Leave a comment
Log in with itch.io to leave a comment.