Score Gui under my sceneobjects?
by Christos Karapiperis · in Torque Game Builder · 11/06/2006 (2:22 am) · 2 replies
Hi,
I use a gui text control to show my game's score. I push it in canvas. So far so good. My question is this: Is there a way my scene objects to pass OVER over this gui? Shall I have to push my score board gui first and then my main screen gui? If I do that, my score board gui doesn't show up at all. I hop you understood my question.
Thanks in advance.
I use a gui text control to show my game's score. I push it in canvas. So far so good. My question is this: Is there a way my scene objects to pass OVER over this gui? Shall I have to push my score board gui first and then my main screen gui? If I do that, my score board gui doesn't show up at all. I hop you understood my question.
Thanks in advance.
#2
I'm trying to place a static GUI background behind some scene objects which is behind another GUI. I'm not sure how I push my scene window behind another object.
Edit: For a future person stuck on this, I figured it out (without any pushes or pops, it was actually pretty easy):
In the gui that you want the layers (name.gui), first declare the background layer (in my case, of type GuiBitmapCtrl), then the scene window (t2dSceneWindow), and then finally whatever you want to place on top of that, just like a normal gui. The trick was to have the background declared before the t2dSceneWindow.
05/20/2009 (6:10 pm)
Can anybody elaborate more on what Nir said?I'm trying to place a static GUI background behind some scene objects which is behind another GUI. I'm not sure how I push my scene window behind another object.
Edit: For a future person stuck on this, I figured it out (without any pushes or pops, it was actually pretty easy):
In the gui that you want the layers (name.gui), first declare the background layer (in my case, of type GuiBitmapCtrl), then the scene window (t2dSceneWindow), and then finally whatever you want to place on top of that, just like a normal gui. The trick was to have the background declared before the t2dSceneWindow.
Torque Owner Nir Ziso
Default Studio Name