Discuss Scratch

Contest101-test
Scratcher
78 posts

"bounce" motion block.

bounce

useful for bouncing off sprites, sports, etc.
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…
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
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)

ijohn007
Scratcher
100+ posts

"bounce" motion block.

This would make some stuff much easier, support!
3sal2
Scratcher
100+ posts

"bounce" motion block.

No, you need calculus. Sorry.
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
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?
cs274283
Scratcher
100+ posts

"bounce" motion block.

Contest101-test wrote:

bounce::motion
if <> bounce::motion
if on [edge v] bounce::motion
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?
cs274283
Scratcher
100+ posts

"bounce" motion block.

Contest101-test wrote:

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

useful for bouncing off sprites, sports, etc.
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)

awesome5185
Scratcher
1000+ posts

"bounce" motion block.

No support. This would make scratch way too easy.
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..
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…
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…
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)

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.

Powered by DjangoBB