Discuss Scratch

b1wein
Scratcher
11 posts

"if on edge, bounce"

The “if on edge, bounce” command is not working in one of my games. Please check it out!


when green flag clicked
forever
if <[name] = [ b1wein]> then
you are awesome!

end

HOWING
Scratcher
500+ posts

"if on edge, bounce"

b1wein wrote:

The “if on edge, bounce” command is not working in one of my games. Please check it out!
Can you give us more details? Like what is the problem?

Check out my most popular game! Check out my cool apple catcher! Check out my awesome Bullet Bill Dodge!
b1wein
Scratcher
11 posts

"if on edge, bounce"

Yes. I have a game where a ball is supposed to bounce back and forth between 2 paddles, and bounce if it hits the side. It's called SuperBounce(does not work) and whenever the ball hits the wall, it moves back about 15 steps.


when green flag clicked
forever
if <[name] = [ b1wein]> then
you are awesome!

end

HOWING
Scratcher
500+ posts

"if on edge, bounce"

b1wein wrote:

Yes. I have a game where a ball is supposed to bounce back and forth between 2 paddles, and bounce if it hits the side. It's called SuperBounce(does not work) and whenever the ball hits the wall, it moves back about 15 steps.
Can you give a link to the project so I can understand a little more?

Check out my most popular game! Check out my cool apple catcher! Check out my awesome Bullet Bill Dodge!
b1wein
Scratcher
11 posts

"if on edge, bounce"



when green flag clicked
forever
if <[name] = [ b1wein]> then
you are awesome!

end

b1wein
Scratcher
11 posts

"if on edge, bounce"

http://scratch.mit.edu/projects/41074574/


when green flag clicked
forever
if <[name] = [ b1wein]> then
you are awesome!

end

HOWING
Scratcher
500+ posts

"if on edge, bounce"

b1wein wrote:

http://scratch.mit.edu/projects/41074574/
Hmm. I see, so your trying to get the ball to hit the paddle. Look in my Hard pong project for the pong scripts. For shortcut: http://scratch.mit.edu/projects/37827964/

Check out my most popular game! Check out my cool apple catcher! Check out my awesome Bullet Bill Dodge!
b1wein
Scratcher
11 posts

"if on edge, bounce"

No, I can get the ball to bounce off the paddle, I just turned that off temporarily so that you could see the ball bounce off the edge.


when green flag clicked
forever
if <[name] = [ b1wein]> then
you are awesome!

end

HOWING
Scratcher
500+ posts

"if on edge, bounce"

b1wein wrote:

No, I can get the ball to bounce off the paddle, I just turned that off temporarily so that you could see the ball bounce off the edge.
I doesn't bounce correctly it's because the ball sprite isn't centered. There is a plus sign in the middle, drag the sprite to the center. (if your having trouble just put your finger to the center and drag the dot on the middle of the sprite to the center)

Check out my most popular game! Check out my cool apple catcher! Check out my awesome Bullet Bill Dodge!
b1wein
Scratcher
11 posts

"if on edge, bounce"

Thanks!


when green flag clicked
forever
if <[name] = [ b1wein]> then
you are awesome!

end

HOWING
Scratcher
500+ posts

"if on edge, bounce"

b1wein wrote:

Thanks!
I made a remix for your project for the fix.

Check out my most popular game! Check out my cool apple catcher! Check out my awesome Bullet Bill Dodge!

Powered by DjangoBB