hi i just started scratch and iam making a game for a project my question is- i want to know how to switch the backround after my sprite has reached the edge of the current backround- so basically when it reaches the edge of the picture how to switch the backround to make it look like its going somewhere please help!
Offline
Try making the sprite continuously check if its x position is far enough to the right - if it is, have the sprite move to where it should be and send a broadcast; when the Stage receives the broadcast, it should change its background.
Offline
In the Sprite's scripts...
If [X position]= or > [number]
[Broadcast [Switch Background]
In the Background scripts...
[When I recieve [Switch Background]
[Next Background]
Offline