Author Topic: Indicator GUI  (Read 782 times)

I'm trying to make an altimeter of sorts but the GUI activates the cursor and doesn't allow looking around.
If I set it to noCursor = true, it locks scrolling tools. How do I fix the scrolling tools problem?

(gui is currently a GameTScontrol added to playGUI with a guiContentProfile)

Why the hell is it a GameTSControl? Just use a graphical container object such as guiSwatchCtrl or guiBitmapCtrl for the base (extra points if it's a visual part of the GUI).

Why the hell is it a GameTSControl? Just use a graphical container object such as guiSwatchCtrl or guiBitmapCtrl for the base (extra points if it's a visual part of the GUI).
small typo; GameTSCtrl

but you probably knew what I meant

small typo; GameTSCtrl

but you probably knew what I meant

Again,

Why the hell is it a GameTSCtrl*?

ah, thought you said 'what'

anyways, it seems to want to take up the entire screen

anyways, it seems to want to take up the entire screen

That is happening because you're using canvas.add, canvas.pushDialog or canvas.setContent. Use playGUI.add.

Seems to work except the textctrl's aren't showing up. Are they behind it or something?
« Last Edit: June 09, 2012, 02:53:47 PM by ThinkInvisible »

Seems to work except the textctrl's aren't showing up. Are they behind it or something?

You probably dont have the children set correctly to their parents.

No, I just found out changing it to a bitmapctrl made them relative to it instead of to the playGUI.

No, I just found out changing it to a bitmapctrl made them relative to it instead of to the playGUI.

Yeah, so I was correct.