I'm in the process of setting up a static HUD panel, along with some collision boxes to prevent a few things from going wrong when 2 players are moving on screen.
Now, thanks to deadeye's suggestions, I have an object that controls the scrolling.
It moves up the background map, and is set to "centre view on me" , while the player objects can move freely over the background.
now when it came to setting static objects on the screen i was doing :
always set Y to scrollcontrollersprite + 144
always set X to scrollcontroller X pos
that way the objects are always sat in the same place.
the problem lies in the fact that when the player moves on the X axis, the background controller moves in the opposite direction, 1 pixel per tick.
when this happens the HUD objects shift by 1 pixel left and right, making the HUD wobble every tme the player moves on the X axis..
Deadeye tells me I can use a second layer and set the scroll movement to zero, but the overlaid layer doesnt display anything on it when I run the app..
the collision objects seem to be there, but they cant be seen, and bsides it seems like they are locked to the scrolling backround after a bind of blind testing..
can anyone help?
Thanks