13 years, 11 months ago
Highlights
You could consider your paddle as a rectangle with two half circles at the ends. Then find out what the ball hits and perform collision response accordingly (for the rectangle,…
13 years, 11 months ago
13 years, 11 months ago
So, I finished a pong game and upped the ante to a clone of the game Snake. Now I want the "food" to spawn at a random Vector 2 every 3 or so seconds (I'll flesh o…
13 years, 10 months ago
Alright, so I've got some nice collision detection going on and the ball's Y position is multiplied by -1 every time it hits a wall or a paddle, like so: if (ballPositio…
13 years, 11 months ago
13 years, 11 months ago
Latest Activity
See all in DiscussionsSo, I finished a pong game and upped the ante to a clone of the game Snake. Now I want …
13 years, 10 months ago
You could consider your paddle as a rectangle with two half circles at the ends. Then find out what the …
13 years, 11 months ago
[quote name='wtfmates' timestamp='1351084914' post='4993415'] [quote name='Bacterius' timestamp='1351084081' post='4993408'] You need to push the ball o
13 years, 11 months ago