Discuss Scratch

Contest101-test
Scratcher
78 posts

"bounce" motion block.

bounce

useful for bouncing off sprites, sports, etc.

This is Contest101's test account.

My OS Automatically changes for holidays! How cool is that?
AonymousProfessor
Scratcher
100+ posts

"bounce" motion block.

So… What would the following script do? (If it was the only script in the only sprite in the project)
when gf clicked
forever
bounce :: motion
end
And, how would it detect what other stuff you want it to bounce off of? It wouldn't be able to read your mind…

I am @AonymousGuy's test account!

The word “test” in test accounts is outdated. That is why mine has professor instead!

Thanks @MicroMacro for the profile image!
Contest101-test
Scratcher
78 posts

"bounce" motion block.

AonymousProfessor wrote:

So… What would the following script do? (If it was the only script in the only sprite in the project)
when gf clicked
forever
bounce :: motion
end
And, how would it detect what other stuff you want it to bounce off of? It wouldn't be able to read your mind…

Forever bounce would make the sprite go insane, and it cannot detect what to bounce off of.


when gf clicked
forever
if <touching [sprite]?> then
bounce :: motion
end

This is Contest101's test account.

My OS Automatically changes for holidays! How cool is that?
Contest101-test
Scratcher
78 posts

"bounce" motion block.

Contest101-test wrote:

AonymousProfessor wrote:

So… What would the following script do? (If it was the only script in the only sprite in the project)
when gf clicked
forever
bounce :: motion
end
And, how would it detect what other stuff you want it to bounce off of? It wouldn't be able to read your mind…

Forever bounce would make the sprite go insane, and it cannot detect what to bounce off of.


when gf clicked
forever
if <touching [sprite]?> then
bounce :: motion
end

Perhaps it would be better to add this:
bounce off of [sprite] :: motion

Last edited by Contest101-test (March 9, 2014 19:10:25)


This is Contest101's test account.

My OS Automatically changes for holidays! How cool is that?
ijohn007
Scratcher
100+ posts

"bounce" motion block.

This would make some stuff much easier, support!

when green flag clicked :: pen
say [Doing things is boring] :: sensing
think about doing nothing :: operators
forever :: custom
Do nothing :: operators
end

3sal2
Scratcher
100+ posts

"bounce" motion block.

No, you need calculus. Sorry.

Th* *ui** *r*wn *ox **mps o**r the la*y **g.

My 250th post!
shoresbeep
Scratcher
1000+ posts

"bounce" motion block.

when green flag clicked
forever

point in direction ((180) - (direction))
end
No support

Last edited by shoresbeep (Nov. 16, 2014 02:49:48)


ShamelessSnores
Scratcher
100+ posts

"bounce" motion block.

No support, easy workarounds, and also been suggested before

The kumquat came, but it did not snore. Kumquats do not snore! So, it wasn't able to eat my signature.
stickfiregames
Scratcher
1000+ posts

"bounce" motion block.

3sal2 wrote:

No, you need calculus. Sorry.
Did you really need to necropost 3 duplicate topics to say the exact same thing on each?










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
cs274283
Scratcher
100+ posts

"bounce" motion block.

Contest101-test wrote:

bounce::motion
if <> bounce::motion
if on [edge v] bounce::motion

cs274283::motion
Yeah, I like it.::pen
DaSpudLord
Scratcher
1000+ posts

"bounce" motion block.

No support. This would create a lot of lag when used, and what if the sprite wasn't touching any surface to bounce off of? Or what if it was touching multiple surfaces? How would it bounce?


U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
cs274283
Scratcher
100+ posts

"bounce" motion block.

Contest101-test wrote:

when <touching [edge v]?>::events hat ring

useful for bouncing off sprites, sports, etc.

cs274283::motion
Yeah, I like it.::pen
Kylo-ren
Scratcher
16 posts

"bounce" motion block.

Contest101-test wrote:

Contest101-test wrote:

AonymousProfessor wrote:

So… What would the following script do? (If it was the only script in the only sprite in the project)
when gf clicked
forever
bounce :: motion
end
And, how would it detect what other stuff you want it to bounce off of? It wouldn't be able to read your mind…

Forever bounce would make the sprite go insane, and it cannot detect what to bounce off of.


when gf clicked
forever
if <touching [sprite]?> then
bounce :: motion
end

Perhaps it would be better to add this:
bounce off of [sprite] :: motion

Perhaps it would be even better to do this:

forever
bounce off of [sprite1]at direction[(direction)] :: motion

end

Last edited by Kylo-ren (March 3, 2016 15:57:00)

JonathanSchaffer
Scratcher
1000+ posts

"bounce" motion block.

shoresbeep wrote:

when green flag clicked
forever

point in direction ((180) - (direction))
end
No support
That wont work, what if the sprite is round?
Support.

Last edited by JonathanSchaffer (March 3, 2016 16:36:53)


club penguin is kil
awesome5185
Scratcher
1000+ posts

"bounce" motion block.

No support. This would make scratch way too easy.

Regards,
awesome5185

Featured Studio!
Ask Ouija!
Ask a question and get your answers one. letter. at. a. time. Join now!

; Santa Claus and Mrs Claus wanted to get a devorce. However, being in the north pole, there was no one there to help them do that. So they used a semi colon instead; they are great for seperating two independent clauses.
WaffleChurro
Scratcher
100+ posts

"bounce" motion block.

No Support.

Its useless seeing all these silly workarounds come. Wouldn't this just make Scratch too easy..

Lets ban Minimods together.
TheMonsterOfTheDeep
Scratcher
1000+ posts

"bounce" motion block.

WaffleChurro wrote:

No Support.

Its useless seeing all these silly workarounds come. Wouldn't this just make Scratch too easy..
What workaround is there for bounce? I would seriously like to know, because it requires deciding an arbitrary point on a costume to calculate a normal, and then calculating that normal, so…

my latest extension: 2d vector math
WaffleChurro
Scratcher
100+ posts

"bounce" motion block.

TheMonsterOfTheDeep wrote:

WaffleChurro wrote:

No Support.

Its useless seeing all these silly workarounds come. Wouldn't this just make Scratch too easy..
What workaround is there for bounce? I would seriously like to know, because it requires deciding an arbitrary point on a costume to calculate a normal, and then calculating that normal, so…

All I am saying is why make Scratch any easier? It easy enough.

Here is a link to a video of a sprite bouncing off another sprite Your text to link here…

Lets ban Minimods together.
MathlyCat
Scratcher
1000+ posts

"bounce" motion block.

WaffleChurro wrote:

TheMonsterOfTheDeep wrote:

WaffleChurro wrote:

No Support.

Its useless seeing all these silly workarounds come. Wouldn't this just make Scratch too easy..
What workaround is there for bounce? I would seriously like to know, because it requires deciding an arbitrary point on a costume to calculate a normal, and then calculating that normal, so…

All I am saying is why make Scratch any easier? It easy enough.

Here is a link to a video of a sprite bouncing off another sprite Your text to link here…
Just like how easy it is to mock your grammar there

I have one question…

awesome5185 wrote:

No support. This would make scratch way too easy.
Why do you keep bumping up old topics? Like sure they're relevant but they're ages old

Last edited by MathlyCat (March 11, 2017 02:36:51)


Think before you act.
Actions speek louder than words.

hi there fella
WaffleChurro
Scratcher
100+ posts

"bounce" motion block.

MathlyCat wrote:

WaffleChurro wrote:

TheMonsterOfTheDeep wrote:

WaffleChurro wrote:

No Support.

Its useless seeing all these silly workarounds come. Wouldn't this just make Scratch too easy..
What workaround is there for bounce? I would seriously like to know, because it requires deciding an arbitrary point on a costume to calculate a normal, and then calculating that normal, so…

All I am saying is why make Scratch any easier? It easy enough.

Here is a link to a video of a sprite bouncing off another sprite Your text to link here…
Just like how easy it is to mock your grammar there

I have one question…

awesome5185 wrote:

No support. This would make scratch way too easy.
Why do you keep bumping up old topics? Like sure they're relevant but they're ages old

Very sorry Mr MathlyCat, but I am on a tablet and I am not used to typing on them.

I am sure Reddit has lots of people to mock.

Lets ban Minimods together.

Powered by DjangoBB