Discuss Scratch

helloagain_57
Scratcher
100+ posts

If touching [ v] bounce block

BigNate469 wrote:

snip

helloagain_57 wrote:

bouncetoangle
pointindirection
Would have the same effect.
The 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.
BigNate469
Scratcher
1000+ posts

If touching [ v] bounce block

helloagain_57 wrote:

BigNate469 wrote:

snip

helloagain_57 wrote:

bouncetoangle
pointindirection
Would have the same effect.
The 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.
Then we have
turndegrees
which 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

BigNate469 wrote:

helloagain_57 wrote:

BigNate469 wrote:

snip

helloagain_57 wrote:

bouncetoangle
pointindirection
Would have the same effect.
The 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.
Then we have
turndegrees
which would have the same effect.
That's… even worse. I'm not even gonna explain why, just stay like you are if you want.
masonhugokingcraft
Scratcher
50 posts

If touching [ v] bounce block

Starman99 wrote:

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:
iftouchingsprite,bounce
or
iftouchingcolor,bounce

Last edited by masonhugokingcraft (Dec. 25, 2024 04:06:48)

Lome2023
Scratcher
8 posts

If touching [ v] bounce block

;
amagamecode
Scratcher
100+ posts

If touching [ v] bounce block

Starman99 wrote:

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

Last edited by amagamecode (Dec. 27, 2024 07:04:19)

BigNate469
Scratcher
1000+ posts

If touching [ v] bounce block

amagamecode wrote:

Starman99 wrote:

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
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.
amagamecode
Scratcher
100+ posts

If touching [ v] bounce block

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

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
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.
If there is nothing, scratch will come ignore it
cake__5
Scratcher
100+ posts

If touching [ v] bounce block

support

also, these are the blocks i want:
bounceif,bounceIftouchingcolor,bouncetimesincelastbouncebouncing?onbouncewhentime since last bounce>10

Last edited by cake__5 (Dec. 27, 2024 16:30:00)

helloagain_57
Scratcher
100+ posts

If touching [ v] bounce block

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

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
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.
Just make the sprite flip.
seriouslyscratchy1
Scratcher
100+ posts

If touching [ v] bounce block

ScratchJahd2011 wrote:

Starman99 wrote:

ScratchJahd2011 wrote:

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
500+ posts

If touching [ v] bounce block

if,bounce
would be better imo, you would be able to insert a touching edge, and literally any other boolean
jmdzti_0-0
Scratcher
500+ posts

If touching [ v] bounce block

helloagain_57 wrote:

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

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
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.
Just make the sprite flip.
it's not the same.
BigNate469
Scratcher
1000+ posts

If touching [ v] bounce block

amagamecode wrote:

BigNate469 wrote:

amagamecode wrote:

snip
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.
If there is nothing, scratch will come ignore it
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.

cake__5 wrote:

support

also, these are the blocks i want:
bounce
Bounce off of what? If you want to turn the sprite around, then just turn 180 degrees either clockwise or counterclockwise.

cake__5 wrote:

if,bounce
See above point about this

cake__5 wrote:

Iftouching,bounce
That's possible to make, but it might be a little slow due to the nature of the color sensing blocks

cake__5 wrote:

timesincelastbounce
Can be replicated with a reset timer block after a bounce block
ifonedge,bounceresettimer

cake__5 wrote:

bouncing?
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.

cake__5 wrote:

onbounce
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.
ifonedge,bounce. . .

cake__5 wrote:

whentime since last bounce>10
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.
helloagain_57
Scratcher
100+ posts

If touching [ v] bounce block

jmdzti_0-0 wrote:

helloagain_57 wrote:

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

Snip
Well, I also want this block because it also helps us a lot.
if,bounce
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.
Just make the sprite flip.
it's not the same.
It's literally the thing that would happen. Anything else would not make sense.
SpyCoderX
Scratcher
1000+ posts

If touching [ v] bounce block

helloagain_57 wrote:

jmdzti_0-0 wrote:

helloagain_57 wrote:

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

Snip
Well, I also want this block because it also helps us a lot.
if,bounce
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.
Just make the sprite flip.
it's not the same.
It's literally the thing that would happen. Anything else would not make sense.
Workaround:
ifthenturn180degrees
Or
ifthenpointindirectiondirection+180
helloagain_57
Scratcher
100+ posts

If touching [ v] bounce block

SpyCoderX wrote:

helloagain_57 wrote:

jmdzti_0-0 wrote:

helloagain_57 wrote:

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

Snip
Well, I also want this block because it also helps us a lot.
if,bounce
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.
Just make the sprite flip.
it's not the same.
It's literally the thing that would happen. Anything else would not make sense.
Workaround:
ifthenturn180degrees
Or
ifthenpointindirectiondirection+180
Workarounds are not fun.
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)
doggy_boi1
Scratcher
1000+ posts

If touching [ v] bounce block

helloagain_57 wrote:

SpyCoderX wrote:

helloagain_57 wrote:

jmdzti_0-0 wrote:

helloagain_57 wrote:

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

Snip
Well, I also want this block because it also helps us a lot.
if,bounce
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.
Just make the sprite flip.
it's not the same.
It's literally the thing that would happen. Anything else would not make sense.
Workaround:
ifthenturn180degrees
Or
ifthenpointindirectiondirection+180
Workarounds are not fun.
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 exists
helloagain_57
Scratcher
100+ posts

If touching [ v] bounce block

doggy_boi1 wrote:

helloagain_57 wrote:

SpyCoderX wrote:

helloagain_57 wrote:

jmdzti_0-0 wrote:

helloagain_57 wrote:

BigNate469 wrote:

amagamecode wrote:

Starman99 wrote:

Snip
Well, I also want this block because it also helps us a lot.
if,bounce
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.
Just make the sprite flip.
it's not the same.
It's literally the thing that would happen. Anything else would not make sense.
Workaround:
ifthenturn180degrees
Or
ifthenpointindirectiondirection+180
Workarounds are not fun.
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 exists
then quote spycoder

Powered by DjangoBB