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

#1 2011-01-18 17:07:52

Jirachiwishu
Scratcher
Registered: 2010-02-25
Posts: 25

When touching color _, bounce.

Even though this is already possible, it would be better for the new scratchers.


Yay.  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile : MY MINIONS! Fear me.

Offline

 

#2 2011-01-18 19:00:46

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: When touching color _, bounce.

actually, just

bounce

would be better.

Offline

 

#3 2011-01-18 21:58:38

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

Re: When touching color _, bounce.

kayybee wrote:

actually, just

bounce

would be better.

That would be nice - but how would it know in which direction to bounce?


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

Offline

 

#4 2011-01-18 22:07:31

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: When touching color _, bounce.

well, if it's a circle, that's a problem... so... idk.

Offline

 

#5 2011-02-07 17:58:00

Jirachiwishu
Scratcher
Registered: 2010-02-25
Posts: 25

Re: When touching color _, bounce.

kayybee wrote:

actually, just

bounce

would be better.

Yeah.


Yay.  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile : MY MINIONS! Fear me.

Offline

 

#6 2011-07-30 17:23:23

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: When touching color _, bounce.

bunce off [sprite] will calculate what angle to bounce by checking the appearence


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#7 2011-07-31 11:44:23

cursorkiller
Scratcher
Registered: 2011-03-12
Posts: 10

Re: When touching color _, bounce.

lol guys you dont need another block for that here ill break it down for you:<if on edge, bounce> = <if><touching[ edge]> <point in direction( ((  0<-><direction>  )) therefore if you want touching color, just change touching edge to touching color ( ). Having just bounce would be this <point in direction( ((  0<-><direction>  ))  part.

Offline

 

#8 2011-07-31 11:47:42

cursorkiller
Scratcher
Registered: 2011-03-12
Posts: 10

Re: When touching color _, bounce.

sorry lol im not very good at that. If you dont get what i put up there ill make a project with it.

Offline

 

Board footer