I have something set up in slices on different layers and right now it looks good when I move the camera, but I want the layers to follow something else so my camera can follow my hero sprite.
Any ideas?
bump.
Develop games in your browser. Powerful, performant & highly capable.
There are more than one way to do that.
You can simply have something like:
Compare Object1.X and Parallax.X
If they are not equal:
set x on parallax to lerp(Self.X,Object1.X,0.05)