Actor Camera Origin Issue
rhandewith@hotmail.com
Member Posts: 1
Hi All,
I am new to Gamesalad and have a question. I have assigned an actor an Constrain attribute of "max(20+( self.Size.Width /2),min(1060-( self.Size.Width /2), game.Mouse.Position.X - self.OffsetX + game.camx ))".
I am able to move the actor just fine and the camera moves smoothly with it. The issues is when I mouse press the actor the second time it jumps the CameraX origin number of pixels.
Is there a way to tell the actor not to jump when it is clicked a second time?
Thanks for your help
Richard
Comments
We have a few free camera templates on DBA that might help, do a search for "camera"
http://www.deepblueapps.com/drag-around/
Darren.