Pages: 1
Topic closed
Hey.
Im trying to make it so if colour is touching colour it will switch to background 2 and so on.
But it wont work, I try dragging it onto the background one, but it gives me a box saying Error, and my whole script goes red on the sprites <.< Anyone know what Im doing wrong?
Offline
Babado wrote:
Hey.
Im trying to make it so if colour is touching colour it will switch to background 2 and so on.
But it wont work, I try dragging it onto the background one, but it gives me a box saying Error, and my whole script goes red on the sprites <.< Anyone know what Im doing wrong?
Yes. You might want to make a sprite so that if it touches another color, it broadcasts something to the Stage so then on the Stage's script it'll change costume.
I hope this helped, and that if it didn't, someone else could explain it more clearly.
The stage can't move, BTW.
Offline
That has worked perfectly Thanks
One other thing, The fish chomp game that comes with scratch, I tried remaking that, first I made the script the exact same, and made spirtes to go with it, and they dont move as "elegantly" as the fish in Fish Chomp don, they kind of spazz about the place, the only thing I changed at first was the Sprite.
Offline
Babado wrote:
That has worked perfectly
Thanks
One other thing, The fish chomp game that comes with scratch, I tried remaking that, first I made the script the exact same, and made spirtes to go with it, and they dont move as "elegantly" as the fish in Fish Chomp don, they kind of spazz about the place, the only thing I changed at first was the Sprite.
It could be that the dimensions of the sprite are affecting the edge detect scripts, or perhaps the center of the spite is different enough so that it doesn't move in the same way.
Offline
Topic closed
Pages: 1