Commit graph

4 commits

Author SHA1 Message Date
b27a44a9b3 build a proper working arm git plugin 2023-05-19 10:41:09 -07:00
9b0ebcefba walls can reset the ball to its starting position
WallManager binds to the BodyEntered signal on the Area2D class and
detects if the body that entered the area is the ball class, and if it
is, it will reset the ball to its starting position. right now, theres
no scoring system. this will be added later.
2023-05-19 00:18:38 -07:00
2805cd0e95 give each wall a seperate collider
this means i can detect if the ball hits the right or left wall, and it makes it easier to maintain.
2023-05-18 10:38:22 -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