Discuss Scratch
- Discussion Forums
- » Suggestions
- » If touching [ v] bounce block
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
snipThe bounce to angle block works differently, it would bounce to an angle depending from the current direction. Say, your direction is -135 and you're bouncing to angle 180. Your direction would be changed to -45.bounce to angle ()::motionpoint in direction ()Would have the same effect.
- BigNate469
-
Scratcher
1000+ posts
If touching [ v] bounce block
Then we havesnipThe bounce to angle block works differently, it would bounce to an angle depending from the current direction. Say, your direction is -135 and you're bouncing to angle 180. Your direction would be changed to -45.bounce to angle ()::motionpoint in direction ()Would have the same effect.
turn cw () degreeswhich would have the same effect.
Last edited by BigNate469 (Dec. 24, 2024 15:31:19)
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
That's… even worse. I'm not even gonna explain why, just stay like you are if you want.Then we havesnipThe bounce to angle block works differently, it would bounce to an angle depending from the current direction. Say, your direction is -135 and you're bouncing to angle 180. Your direction would be changed to -45.bounce to angle ()::motionpoint in direction ()Would have the same effect.turn cw () degreeswhich would have the same effect.
- masonhugokingcraft
-
Scratcher
82 posts
If touching [ v] bounce block
I really want a block that is JUST like the "if touching edge, bounce" block that is able to work when you touch ANY sprite, to make it simpler for more basic users to have things bounce on each other.Example:
if touching [sprite v], bounceor
if touching color [#1b37da], bounce
Last edited by masonhugokingcraft (Dec. 25, 2024 04:06:48)
- amagamecode
-
Scratcher
500+ posts
If touching [ v] bounce block
I really want a block that is JUST like the "if touching edge, bounce" block that is able to work when you touch ANY sprite, to make it simpler for more basic users to have things bounce on each other.Well, I also want this block because it also helps us a lot.
if <>, bounce :: motion stack
Last edited by amagamecode (Dec. 27, 2024 07:04:19)
- BigNate469
-
Scratcher
1000+ posts
If touching [ v] bounce block
But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.I really want a block that is JUST like the "if touching edge, bounce" block that is able to work when you touch ANY sprite, to make it simpler for more basic users to have things bounce on each other.Well, I also want this block because it also helps us a lot.if <>, bounce :: motion stack
- amagamecode
-
Scratcher
500+ posts
If touching [ v] bounce block
If there is nothing, scratch will come ignore itBut if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.I really want a block that is JUST like the "if touching edge, bounce" block that is able to work when you touch ANY sprite, to make it simpler for more basic users to have things bounce on each other.Well, I also want this block because it also helps us a lot.if <>, bounce :: motion stack
- cake__5
-
Scratcher
100+ posts
If touching [ v] bounce block
support
also, these are the blocks i want:
also, these are the blocks i want:
bounce::motion
if <> , bounce::motion
If touching (color), bounce :: motion
time since last bounce::motion reporter
bouncing?::motion boolean
on bounce::motion hat
when [time since last bounce v] > (10)
Last edited by cake__5 (Dec. 27, 2024 16:30:00)
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
Just make the sprite flip.But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.I really want a block that is JUST like the "if touching edge, bounce" block that is able to work when you touch ANY sprite, to make it simpler for more basic users to have things bounce on each other.Well, I also want this block because it also helps us a lot.if <>, bounce :: motion stack
- seriouslyscratchy1
-
Scratcher
100+ posts
If touching [ v] bounce block
How would the sprite determine which direction it will bounce? What if the sprite where it bounces off to doesn't have a smooth surface? Or that it's a circle, surrounding the bouncing sprite?
Sorry, but no support.
So, you're telling me that there is no physical way in scratch that a ball can bounce off of another ball? Or, for that matter, that NOTHING can bounce off of a ball? Because that's what you're telling me is that there is no way in scratch that it can detect the angle of a surface and use the directions of each object with said angle to change one of the objects directions.
No.
I'm telling you Scratch can't determine how a sprite bounces off, say, a sprite that is completely surrounding it, and touching it from every direction?
Wow, I can't even properly explain…
Sorry, but I think someone knows these stuff better than me, and can inform you why your suggestion can't happen.
Omg this is a perfectly good suggestion…
I am sure, using simple mathematics, scratch will be able to figure that out. Scratch is made in python…
- jmdzti_0-0
-
Scratcher
1000+ posts
If touching [ v] bounce block
if <>, bounce::motionwould be better imo, you would be able to insert a touching edge, and literally any other boolean
- jmdzti_0-0
-
Scratcher
1000+ posts
If touching [ v] bounce block
it's not the same.Just make the sprite flip.But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.I really want a block that is JUST like the "if touching edge, bounce" block that is able to work when you touch ANY sprite, to make it simpler for more basic users to have things bounce on each other.Well, I also want this block because it also helps us a lot.if <>, bounce :: motion stack
- BigNate469
-
Scratcher
1000+ posts
If touching [ v] bounce block
But if the only conditions where it can bounce are if it's touching a sprite or color, why make it so that you can insert any boolean? Just make it a dropdown with touching sprite and touching color options, in addition to the existing touching edge option.If there is nothing, scratch will come ignore itsnipBut if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.
supportBounce off of what? If you want to turn the sprite around, then just turn 180 degrees either clockwise or counterclockwise.
also, these are the blocks i want:bounce::motion
See above point about thisif <> , bounce::motion
That's possible to make, but it might be a little slow due to the nature of the color sensing blocksIf touching (#0000FF), bounce :: motion
Can be replicated with a reset timer block after a bounce blocktime since last bounce::motion reporter
if on edge, bounce
reset timer
Pointless- all the “bounce” does now is change the direction of the sprite. It does not move forwards, or do anything other than change the direction of the sprite.bouncing?::motion boolean
Again, all the existing block does is change the direction of the sprite, in a way that makes it “bounce” off the edge at the angle it was. It does not move the sprite in any way, or do anything more than that. This block can be replicated by simply placing blocks underneath a bounce block.on bounce::motion hat
if on edge, bounce
...
Bouncing isn't special. Reset the timer immediately after you bounce (see above), and you can use the existing block to do this. This is an easy enough workaround- it's literally one block- that I don't think it would be worth implementing.when [time since last bounce v] > (10)
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
It's literally the thing that would happen. Anything else would not make sense.it's not the same.Just make the sprite flip.But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.SnipWell, I also want this block because it also helps us a lot.if <>, bounce :: motion stack
- SpyCoderX
-
Scratcher
1000+ posts
If touching [ v] bounce block
Workaround:It's literally the thing that would happen. Anything else would not make sense.it's not the same.Just make the sprite flip.But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.SnipWell, I also want this block because it also helps us a lot.if <>, bounce :: motion stack
if <> thenOr
turn cw (180) degrees
end
if <> then
point in direction ((direction)+(180))
end
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
Workarounds are not fun.Workaround:It's literally the thing that would happen. Anything else would not make sense.it's not the same.Just make the sprite flip.But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.SnipWell, I also want this block because it also helps us a lot.if <>, bounce :: motion stackif <> thenOr
turn cw (180) degrees
endif <> then
point in direction ((direction)+(180))
end
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
“This is the If touching edge, bounce block, and it is bugged. (uses a change x block instead of a move steps block) See?”
-Donutask (i think)
-Donutask (i think)
- doggy_boi1
-
Scratcher
1000+ posts
If touching [ v] bounce block
this hardly even counts as a workaround. This is literally just a block. we don't need a designated flip or turn 180* block because that already existsWorkarounds are not fun.Workaround:It's literally the thing that would happen. Anything else would not make sense.it's not the same.Just make the sprite flip.But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.SnipWell, I also want this block because it also helps us a lot.if <>, bounce :: motion stackif <> thenOr
turn cw (180) degrees
endif <> then
point in direction ((direction)+(180))
end
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
then quote spycoderthis hardly even counts as a workaround. This is literally just a block. we don't need a designated flip or turn 180* block because that already existsWorkarounds are not fun.Workaround:It's literally the thing that would happen. Anything else would not make sense.it's not the same.Just make the sprite flip.But if it's not touching something, then Scratch can't know what to bounce off of. It's literally impossible to make that block.SnipWell, I also want this block because it also helps us a lot.if <>, bounce :: motion stackif <> thenOr
turn cw (180) degrees
endif <> then
point in direction ((direction)+(180))
end
- Discussion Forums
- » Suggestions
-
» If touching [ v] bounce block









