I am making a game in which i would like an object to always stay on screen even though the player is moving.
So if the player is moving throughout the level but the health bar is always above
Develop games in your browser. Powerful, performant & highly capable.
Put the health bar on another layer and set its parallax scrolling to 0,0