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

#1 2008-11-30 12:58:27

Ricardo-san
Scratcher
Registered: 2008-11-20
Posts: 27

How to change background when sprite reaches end of scene

Well, the title explains it all. I have a sprite that moves with the arrow keys and when the sprite hits the edge of a scene I want the background to change.
I'm sure there's  an easy solution, but I'm having one of those moments right now.  tongue
I was going to use the scrolling feature but there are a lot of bugs. So I can't.

Offline

 

#2 2008-11-30 13:04:35

big-bang
Scratcher
Registered: 2008-02-21
Posts: 1000+

Re: How to change background when sprite reaches end of scene

Sprite: Forever if sprite touching edge, broadcast whatever

Background: When I receive whatever, next background/switch to background [whatever]


http://i47.tinypic.com/6edrbm.jpghttp://i45.tinypic.com/dw9hmw.jpghttp://i50.tinypic.com/f28tvn.jpghttp://i45.tinypic.com/ruwaop.jpg

Offline

 

#3 2008-11-30 14:58:01

Ricardo-san
Scratcher
Registered: 2008-11-20
Posts: 27

Re: How to change background when sprite reaches end of scene

Wish I saw this earlier...I made a 6 script workaround. Dangit.
Thanks lol didn't see the "edge" option in "touching"

Offline

 

Board footer