Pages: 1
Topic closed
So I'm making a pong game (with a twist like no other, you'll see when I finish it!), and found that the normal bounce script sometimes makes the ball vibrate for a few seconds (it's too complicated to explain exactly why, but it's to do with the direction of the ball and the turn pick random -20 to 20 degrees making the ball go back to the paddle). So I decided to make my own script, which to call complicated is an understatement! (Download if you don't believe me)! So if you could just play the game for literally just one minute and tell me if anything weird happens. I know it can hardly be called a game yet, but thanks to anyone who tests it!
Link: http://scratch.mit.edu/projects/LFCm4d227/1981781
Offline
I didn't see glitches. I mean, it'd be cool if it was more like actual pong (Meaning, if it hit the right side, it would change the velocity more to the right, vice versa, as sometimes it hit the right and went way to the left), but that's not precisely a glitch. So it's fine The bouncing is okay. It didn't do the glitchy bouncing part it usually does in pong games, so that's good.
And it's simple to explain why that happens, it goes in a loop because it changes the direction when it hits the paddle, and it gets caught inside it, simply turning again and again until you move the paddle
I'll download it and check the script out
Offline
Everything worked perfectly for me.
Offline
Death_Wish wrote:
And it's simple to explain why that happens, it goes in a loop because it changes the direction when it hits the paddle, and it gets caught inside it, simply turning again and again until you move the paddle
Thanks for making me look stupid! >
Offline
LFCm4d227 wrote:
Death_Wish wrote:
And it's simple to explain why that happens, it goes in a loop because it changes the direction when it hits the paddle, and it gets caught inside it, simply turning again and again until you move the paddle
Thanks for making me look stupid! >
No, you don't look stupid. I remember when I felt dumb: it took me an hour once to find out I was missing two quotes in a BASIC program! I think Death_Wish is explaining why that happens in some pong games.
Offline
Topic closed
Pages: 1