This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-10-16 23:35:22

bobby32
Scratcher
Registered: 2009-05-23
Posts: 2

A block that says "if touching ..., bounce.

<clear graphic effects><change[  ]effect by( I think they should put a block that says if touching... bounce.
I tried making a mini golf game but couldn't unless i use the whole screen!
like:
[blocks]<if on edge, bounce>[/blocks]
but with a blank in place for "edge"

Offline

 

#2 2010-10-16 23:57:05

militarydudes
Scratcher
Registered: 2008-09-12
Posts: 1000+

Re: A block that says "if touching ..., bounce.

There is. <touching[

it's in sensing  big_smile  you just have to figure out how to make it do what you want after that

Last edited by militarydudes (2010-10-16 23:57:44)


__m. .m__ KILROY WAS HERE
        U

Offline

 

#3 2010-10-17 00:20:44

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: A block that says "if touching ..., bounce.

bobby32 wrote:

<clear graphic effects><change[  ]effect by( I think they should put a block that says if touching... bounce.
I tried making a mini golf game but couldn't unless i use the whole screen!
like:
[blocks]<if on edge, bounce>[/blocks]
but with a blank in place for "edge"

It seems a bit odd to me.  hmm


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#4 2010-10-17 07:04:25

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: A block that says "if touching ..., bounce.

This isn't a bad idea, but I think there might be something that would get in the way. The problem with this is that there's no clear direction to have the sprite bounce once it touches another sprite.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#5 2010-10-17 08:01:11

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: A block that says "if touching ..., bounce.

No. I didn't like the idea of the bounce blocks from the beginning. They're too convenient.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

Board footer