GUI Problems

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Worteltaart
Posts: 17
Joined: Sat Mar 24, 2007 5:03 pm
Location: Holland

GUI Problems

Post by Worteltaart »

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?
Common sense is what tells you the world is flat.
LLDD
Posts: 43
Joined: Fri May 11, 2007 9:50 am

Post by LLDD »

Maybe you are drawing the GUI before the map?

Code: Select all

gui->draw();
smgr->drawAll();
instead of

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.
Worteltaart
Posts: 17
Joined: Sat Mar 24, 2007 5:03 pm
Location: Holland

Post by Worteltaart »

Lol, why didn't I think of that before :shock:
Common sense is what tells you the world is flat.
Post Reply