GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

solid but moveable wall

jonmulcahyjonmulcahy Posts: 10,380Member, Sous Chef
edited November -1 in Working with GS (Mac)
I've had a problem figuring this out, I'm making a side scroller, but I want to keep the user on the screen by having a wall that moves at the same speed as the camera, but I'm having some difficultly:

1. If I uncheck the "moveable" option, the wall functions as I want to, but it won't move, so when the camera starts moving, the user can go off screen.

2. If I check the "moveable" option, the wall moves like I want it to, but rotates around it's center, spinning around. I've tried making the friction upwards of 1000, which makes it harder to spin, but it does still spin.

How can I make a wall that won't rotate and stays in a fixed position, but travels along the game?

OR

Is there an easier way to keep an actor from leaving the rigth / left sides of the screen as it's moving?

Comments

  • AtlantenAtlanten Posts: 56Member, PRO
    You could try putting the wall in a new layer, and uncheck scrollable?
This discussion has been closed.