how to stop character in side scroller from going past beginning or end of level
skipnosis
Member Posts: 21
I'm new to GS but am doing well thanks to tech support and all the helpful people here -
my scroller is now scrolling with three backgrounds and the main character is walking in place in the center of the screen - LOVING IT.
one thing I can't figure out is at the beginning of the level if I move the character left he goes off the end of the stage (i mean the background art scrolls past him to the right till it's all gone).
is there some way to prevent this?
a million thanks in advance.
my scroller is now scrolling with three backgrounds and the main character is walking in place in the center of the screen - LOVING IT.
one thing I can't figure out is at the beginning of the level if I move the character left he goes off the end of the stage (i mean the background art scrolls past him to the right till it's all gone).
is there some way to prevent this?
a million thanks in advance.
Comments
perhaps I need to add the collide behavior not to the wall but to the scrolling background and attribute it to the wall...
do the actors have to be on stage or can they be off?
i may not have been clear - the player is in the center of the screen animating in place...
when i press the move left button (which scrolls the background right) the background is moving off the stage
so to set up the player colliding with the wall doesn't seem right...
you think it would be stopping the background when it collides into the wall..