Commit graph

4 commits

Author SHA1 Message Date
e50f0aefb1 add a random starting x direction to the ball
this means the ball can either go left or righ randomly instead of always going left.
2023-05-17 14:16:31 -07:00
133e0fb734 move the maxRandomAngle double to an exported var.
this means you can set the maxRandomAngle in the inspector, without having to modify the code.
2023-05-17 10:52:55 -07:00
4681c2e620 add randomness to the ball and make the paddle smaller. 2023-05-16 23:47:24 -07:00
02c5b90415 make a basic prototype for a scene.
right now theres just a moving ball, inside a box, with a working paddle. i had to make the ball kinematic and tell the ball to bounce when it hits the other direction.
2023-05-16 23:15:31 -07:00