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

#1 2010-02-19 06:39:55

winksi45
Scratcher
Registered: 2010-02-19
Posts: 1

I Think Scratch Should Have This Block

[blocks]<if touching (pulldown list of spritesand edge cursor) bounce>[/blocks]
because it would be useful for the creation of movies where the sprites bounce around and they don't just move under/over each other this would also be good as
[blocks]<if touching (pulldown list of sprites and edge cursor) bounce in direction (pulldown list of directions)>[/blocks]

Last edited by winksi45 (2010-02-19 06:44:12)

Offline

 

#2 2010-02-19 11:00:26

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: I Think Scratch Should Have This Block

That's actually really complicated if you look at the math for it.
I doubt it's even possible without creepy glitches because scratch doesn't use vector graphics (where you know the slope of each line)...


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#3 2010-02-19 12:09:55

pixlepix
Scratcher
Registered: 2010-01-18
Posts: 23

Re: I Think Scratch Should Have This Block

That is possible.




[blocks]<if><touching[ spritex <if>
<turn cw(((180  <-><direction>  ))  )degrees>
<end>

Last edited by pixlepix (2010-02-19 12:10:08)

Offline

 

#4 2010-02-19 12:31:10

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: I Think Scratch Should Have This Block

pixlepix wrote:

That is possible.




[blocks]<if><touching[ spritex <if>
<turn cw(((180  <-><direction>  ))  )degrees>
<end>

That is extremely inaccurate.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

Board footer