itch.io is community of indie game creators and players

Devlogs

Paddle working

Ping
A downloadable game for Windows, macOS, and Linux

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
    7 days ago
Download Ping
Leave a comment