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

#1 2010-05-18 03:48:33

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Dying

Ive made a sprite that if it touches the colour red that it will have to restart at a certain point. how do i do this if im using scrolling?


...........I'm A Bubble.............

Offline

 

#2 2010-05-18 03:49:34

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Re: Dying

Oh i forgot to say that the point where i want it to go is where it first started


...........I'm A Bubble.............

Offline

 

#3 2010-05-18 08:44:28

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Dying

[blocks]
<when green flag clicked>
<forever>
Do some scrolling code here...
<if><touching color[ red
<go to x sad  the point where )y sad  you want to restart
<end>
<end>
[/blocks]

Try this.


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#4 2010-05-18 11:25:16

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Dying

This doesn't seem to be an advanced topic... I'll move it to All About Scratch.


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

Board footer