Discuss Scratch
- Discussion Forums
- » Suggestions
- » If touching [ v] bounce block
- doggy_boi1
-
Scratcher
1000+ posts
If touching [ v] bounce block
?? wdymthen 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
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
yeah he started considering it as a workaround?? wdymthen 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
- SpyCoderX
-
Scratcher
1000+ posts
If touching [ v] bounce block
(#178)I made a workaround that mimics your suggestion exactly.yeah he started considering it as a workaround-snip-?? wdym
doggy_boi1 said that my workaround is barely a workaround since its so simple, and that the suggested block isn't needed because its so simple.
(#175)
we don't need a designated flip or turn 180* block because that already exists
You (helloagain_57) thought that he (doggy_boi1) meant my workaround wasn't a valid workaround and that it should be discounted, which isn't what he was saying.
(Correct me if I'm wrong)
I hope this helps to clear things up.
Last edited by SpyCoderX (Dec. 30, 2024 17:17:26)
- helloagain_57
-
Scratcher
100+ posts
If touching [ v] bounce block
Oh ok. What I was referring is to literally use your workaround to just flip the sprite.(#178)I made a workaround that mimics your suggestion exactly.yeah he started considering it as a workaround-snip-?? wdym
doggy_boi1 said that my workaround is barely a workaround since its so simple, and that the suggested block isn't needed because its so simple.(#175)
we don't need a designated flip or turn 180* block because that already exists
You (helloagain_57) thought that he (doggy_boi1) meant my workaround wasn't a valid workaround and that it should be discounted, which isn't what he was saying.
(Correct me if I'm wrong)
I hope this helps to clear things up.
- masonhugokingcraft
-
Scratcher
82 posts
If touching [ v] bounce block
what if, a sprite is touching the edge of the screen and we want it to hide or delete itself, then what do we do? because i am trying to fix a podracer game i made, but when the rock reaches the edge, it waits a second or two and then it deletes itself. but i can't seem to get it to work.
here is the link to the game:
https://scratch.mit.edu/projects/395765011/
if <touching [edge v] ?> then
hide
end
- trolley_explodes
-
Scratcher
100+ 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.So like this?
if touching (sprite1 v) then bounce:: motion
- amagamecode
-
Scratcher
500+ posts
If touching [ v] bounce block
Everyone knows thatI 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.So like this?if touching (sprite1 v) then bounce:: motion
- trolley_explodes
-
Scratcher
100+ posts
If touching [ v] bounce block
thats a bit rude.Everyone knows thatI 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.So like this?if touching (sprite1 v) then bounce:: motion
- Cool_kid092
-
Scratcher
500+ posts
If touching [ v] bounce block
we need
if touching clone of [myself v], bounce ::motion
- BigNate469
-
Scratcher
1000+ posts
If touching [ v] bounce block
After 10 pages, this is a duplicate.This has way, way more discussion than the other topic (which has 3 posts, including the OP). If anything, they should be merged.
- nembence
-
Scratcher
500+ posts
If touching [ v] bounce block
The problem is that the speed and direction after bouncing depends on the speed, direction and mass of the other sprite. The [if on edge, bounce] block can assume that the edge is static, which makes this much simpler.
Also idk how the block could change the speed of the sprite that runs it
Also idk how the block could change the speed of the sprite that runs it
- Discussion Forums
- » Suggestions
-
» If touching [ v] bounce block










