I would like if the actor always stay left side when move right. But now in the camera control max. i can set just middle of the screen.
Is it possible?
I hope it's understandable.
Place an actor into the scene to control the camera, unlock this actor so you can access the scene.camera.
Constrain scene.camera.origin.X to player.pos.X - (scene.size.width/2) + 100
Constrain scene.camera.origin.Y to player.pos.Y - (scene.size.height/2)
Adjust the '+100" value to what you need.
// double post (these new tiny edit windows are really useless).
Hi, thanks the answer. The (scene.size.width/2) is why need? When i add that the actor dissappear.
But without work well.