Hi,
I have a map loaded from an XML file rendered to my screen, but now I want to add GUI components, which works, but when I scroll my map the map seems to be OVER the (2D) GUI controls, not underneath it.
Is it possible to make, for example, a top layer in my application which is always on top of the rendered map?
GUI Problems
-
- Posts: 17
- Joined: Sat Mar 24, 2007 5:03 pm
- Location: Holland
GUI Problems
Common sense is what tells you the world is flat.
Maybe you are drawing the GUI before the map?
instead of
________
Vaaapp vaporizer
Code: Select all
gui->draw();
smgr->drawAll();
Code: Select all
smgr->drawAll();
gui->draw();
Vaaapp vaporizer
Last edited by LLDD on Sun Feb 20, 2011 2:11 am, edited 1 time in total.
-
- Posts: 17
- Joined: Sat Mar 24, 2007 5:03 pm
- Location: Holland