Well, I am using the friction ball, in the Things folder, and I am trying to make it so if you get to the right spot you go to the next level. If you touch walls you lose. So, there is a pinkish square that you have to get to. So, your the red ball getting to the pink....so here is what I put:(THIS IS FOR THE BACKGROUND/STAGE)
When [Green Flag] clicked
Switch to Background: background 1
wait 15 secs
switch to background: background 2
forever if: color [red] is over [pink]
switch to background: background 3
Just so you know, the wait 15 secs is for something that will be shown later. Then it goes to background 2 because that is the first level, that is when the ball and finish pieces appear(they have wait 15 secs too). So I get the ball to the finish and nothing happens. When i go to background, that script that it up there is outlined in red not white....and so it doesn't go to the next level(background 3).
How do I fix this? Is there a different way to make it go to the next level?(I looked at the PacMan that is already on there, and it does the if [color] is over [color], also...
Thanks in advance!
Offline
I think it doesn't work because since the blocks are on the stage the forever if: color [red] is over [pink] block will only activate if a red colour touches a pink colour that is part of the stage so the ball has to touch a pink that is part of the background. If thats not the problem just upload it and ill take a look.
Offline
Well I made the pink ending spot part of the background, and it just moves the ball to the bottom right part of the pink square(which is kinda what happened when it was a sprite an not part of the background) When the ball touches the end, the ball is supposed to go to certain X, Y coordinates, and the background should change, but it doesn't...
So here it is, tell me if you can find out what is wrong..
http://scratch.mit.edu/projects/apwhitelaw/24711
Offline