Interpolating Camera
Hi guys, just a quick question, I got the camera interpolating up down left right, the screen size is 960x640. I want it so when user touches up (or left right down) and releases it stops interpolating, and does not keep going all the way to 320 at the top.
So user can partially move around scene.
Thanks.
So user can partially move around scene.
Thanks.
Comments
@Jaysta
Hi, interpolate is an excellent behaviour but not the behaviour to use in this case.
This is because when the coordinate for the actor to move is set (using its Position attribute), it'll "roll on to the end" until that condition is met.
As a suggestion, use velocity instead; with a positive value on touched pressed, then set to zero with touch released.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps