Trying to get UI to remain on screen.

FraggsFraggs Member Posts: 5
edited May 2012 in Working with GS (Mac)
Greetings Gang,

I'm trying to build some UI elements on screen and have them remain there. Normally that would be very easy but.... I have everything on my screen moving. The camera is constantly moving. It's basically a runner type of game except it goes up as we're using a top-down space shooter type design. Not sure if you're getting that. Basically your ship is traveling up a long scene with enemy ships traveling south while you try to avoid them.

Here's my issue. I want to put a distance meter on screen and I have a few ways to accomplish this.....
a) I program it on screen as normal and have it travel north the same speed as my primary ship. Not a big fan of this method, it shakes a bit and just looks bad.
b) I can put it on scene and make it not moveable via attributes but it just remains in spots and immediately scrolls off screen when my ship leaves.


So I guess I'm looking for a way to just have it appear on screen, and never leave the screen. Always remaining stationary in one spot while the rest of my game runs camera north at crazy speeds.

I appreciate any help you can provide.

-mike

Best Answer

Answers

  • FraggsFraggs Member Posts: 5
    Worked perfectly. I forgot to mark this as answered over two months ago. Thinking back, what a silly question. I now use your method every day and it's 2nd nature. =)
Sign In or Register to comment.