HUD problem

polodo88polodo88 Member Posts: 1
edited July 2012 in Working with GS (Mac)
Hello every one,

I discover GS few weeks ago and I'm trying to do my first 2D plateformer.
My scene size is bigger than the screen size so the camera moves according to the main character moves.
The problem is that the HUD (lives) doesn't move with the camera.
I tried to put the HUD in a specific non-scrollable layer, but every time I do so it disapears.
Maybe I forgot to activate some options but I don't know what to do...

Can someone help me?

Thanks

Comments

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    First make a new layer, and put it ABOVE your background layer. In the new layer put your HUD actors, and uncheck scrollable option for this layer.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    @polodo88

    Hi, if you've put it into a non-scrollable layer, then it's gotta be something like, you've got gravity on, and the score is checked for moveable... whatever, uncheck moveable and see if it works OK as you want...
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    like @TheMoonwalls said, make sure your HUD layer is above the scrollable layer in the layers palette.

    Jamie
Sign In or Register to comment.