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

#1 2011-12-11 20:29:45

Shadowsonics
Scratcher
Registered: 2010-12-05
Posts: 1000+

Scrolling: How can you make the stage stop and the background stop?

In a scrolling project, I have trouble getting platforms in place.

While the player moves, the stage should stop (the player is against a wall). It does, but the background is still moving (It's a game where the stage moves (scrolling) and the background too, but slower).

How can I get it to stop along with the stage?

The background script is NOT in sync with the scrolling. It's just a matter of move 10 steps and move -10 steps.


http://i.imgur.com/cIxkl.jpg

Offline

 

#2 2011-12-26 13:37:21

cmp8841
Scratcher
Registered: 2011-06-19
Posts: 31

Re: Scrolling: How can you make the stage stop and the background stop?

when arrows are clicked make the backround move.. IF not touching the sprite when a certain arrow clicked in a certain direction. Thats how I do it, and idk how to clearly explain it

Offline

 

#3 2011-12-26 15:30:09

Shadowsonics
Scratcher
Registered: 2010-12-05
Posts: 1000+

Re: Scrolling: How can you make the stage stop and the background stop?

cmp8841 wrote:

when arrows are clicked make the backround move.. IF not touching the sprite when a certain arrow clicked in a certain direction. Thats how I do it, and idk how to clearly explain it

Thanks.


http://i.imgur.com/cIxkl.jpg

Offline

 

Board footer