Hi,
I'm using the below layout and have an invisible camera sprite following the main character sprite using lerp. How do I get a sprite on a separate layer to always appear in the centre of the screen no matter where the main character is positioned?
The closest I've got is by using scroll.x and scroll.y but occasionally the sprite appears slightly off-centre.
Develop games in your browser. Powerful, performant & highly capable.
Cant you just set the position of this sprite manully on a layout with parallax 0,0 ?