Combination of GUIs and Sprites
by Psp Goto · in Torque 2D Beginner · 01/05/2014 (2:33 pm) · 3 replies
I have a GUI as apart of my game, but I need to put sprites over it (not using Gui Bitmaps or anything, but actual Sprite objects). However, whenever I make a new sprite, it is created under my GUI, making it blocked unless you move/remove the GUI. Is there a way to make the sprites appear over the GUI?
#2
Your saying that I should be able to just put the scene window in my GUI, and add sprites to that?
01/05/2014 (9:41 pm)
I prefer the construction method of the GUI, building elements on each other in a way that sprites don't work really well for. Your saying that I should be able to just put the scene window in my GUI, and add sprites to that?
#3
01/06/2014 (5:12 am)
Correct. Create the GUI you want, then add the SceneWindow as an element to that.
Torque Owner Richard Ranft
Roostertail Games
But why not just use scene elements as your gui? You can make a parent sprite in the background and mount your elements to it, then move your other sprites in a layer in front of that.