GUI Elements and Layers
by Rich Hudson · in Torque X 2D · 10/22/2007 (6:20 pm) · 5 replies
I have set my gui elements to layer 5 and my mouse pointer which is a T2DSceneObject to layer 0, but it does not show up "on top" of the gui elements.
Is there any way to accomplish this, or am I hooped?
-R
Is there any way to accomplish this, or am I hooped?
-R
#2
Anywho, to do that, youd have to make your mouse pointer a gui object.
08/14/2009 (1:11 pm)
The stuff inside the scene and the gui elements layers aren't the same. You see, if your sceneview is say layer 6, then you have 31 of the sceneview layers in that layer 6. Basically the sceneview is drawn before hand and then drawn in its gui place in its layer.Anywho, to do that, youd have to make your mouse pointer a gui object.
#3
ty
08/14/2009 (2:16 pm)
I see now! But thats a problem for me because all my gui objects are T2dSceneObject including my mouse pointer! There is another way to fix that? i mean, i want to use my gui elements just like now(with T2DSceneObject) together a string(gui element or not)ty
#4
08/14/2009 (2:23 pm)
You could make a duplicate of the mouse pointer to use in the GUI? Or just load the graphic you use as a mouse pointer in the GUI.
#5
08/14/2009 (2:29 pm)
the problem isnt with the mouse pointer. my problem is that all sceneObjects in the scene is behind of any string =/
Torque Owner Diego Santos Leao - GameBlox Studio
ty