Hello World,
So I need to make a smooth following camera, at the moment my game keeps hanging for like a split second once in a while. And I can't use the "scroll to" behavior on my character so I can put lerp on it. I don't remember exactly why I can't use "scroll to", but I do remember that way back when I started working on the game I tried "scroll to" and it didn't work with my other systems.
So right now my scrolling is done with the "move forward" action on every tick. Is there any way I can use lerp with that? Or maybe something else for "move forward" to make it smooth?
Here's how things are set up:
Event: Character is on layer
subevent: every tick; action: PlayerBox move forward 1.3 pixels
subevent: every tick; action:set Character position to PlayerBox(image point 0)
Event: every tick; action: scroll to(PlayerBox.X, 400)
PlayerBox is just an invisible sprite I attached the character and movement to.