hi,
can't figure out how to do this...
currently I'm lerping the scroll position so that it lags behind where the player was(the player is moving on an Unbound layout).. when the player stops moving the Scroll catches up nicely. However.. I'd like it to work the opposite way.. I'd like the camera to proceed the player (when moving) so the player can have more room to see what is coming.
currently it's Scroll To... lerp(scrollx, Player.x, 2*dt) which lags behind the player... when the player stops, or moves slower, the "Camera" catches up. I want to keep that.. I just want the whole thing inverted. So when the player is going the fastest to the right, the player is to the left of the screen, then when stopping, the camera should slowly move to the Player.
Here's a capx...
any help would be be greatly appreciated! Thanks..
https://dl.dropboxusercontent.com/u/362 ... croll.capx