How to keep the HUD in place while rotating camera?

KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291
edited September 2012 in Working with GS (Mac)
Hello all,
as the title says, in my game I rotate the camera from 0, 90, 180 or 270 or vic versa. I have a counter that is in the top left corner of the camera. I am wanting to keep the counter always in the top left corner no matter when you rotate the camera. Is there a way to lock the counter to the top left corner of the camera? The only way I have been able to achieve this is telling the hud to be in a specific location depending if the the camera rotation = 0, 90, 180 or 270 but by doing it this way, when rotating the camera the counter disappears then pops in once the camera has rotated to it's specified location. Hope this makes since and thanks in advance!

Thanks!!!

Comments

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291
    SO does anyone have an idea for how to accomplish this the most efficient way? Thanks in advance!
  • SingleSparqSingleSparq Member Posts: 1,339
    Yes, I've see Darren's video but except for the fact that placed buttons will move and still maintain there usage position (good to know), in the case of using Darrens Fall-Fu template, placing an image on a non-scrolling layer STILL moves with the camera - I still have to include the logic to move the image. Not sure if the camera logic in the above video is different or not.

    I've opted to use minimal HUD on my game and keep the counter on the camera controlled actor. and the end of a scene I set the camera rotation to 0 where I have my end level screen placed.
Sign In or Register to comment.