Hello, I am new to the engine and this community. So far I think the engine is awesome and the people around here seem very helpful.
To my question: I am trying to transfer a game editor I created using directX over to Irrlicht. The editor has tons of different gui elements that I need to implement using Irrlicht, and I am wondering how exactly Irrlicht is going to handle this.
I guess I am looking at more of a big picture answer. I have been looking over the IGUIEnvironment class doc and have a few questions. Can there be more than one IGUIEnvironment per app? Also, I don't see any methods for hiding a particular control. Of course, this then leads me into wondering how and when to attach event recievers and to what.
I would appreciate any advice, thanks in advance.
IGUIEnvironment questions
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
You can extend the set of Irrlicht GUI elements by deriving more classes from IGUIElement. You can have several environments and draw them optionally or in sequence (might make less sense, though). You can change the visibility of elements using setVisible (pretty simple, eh?). And for the event receivers read the tutorials, this should give a good impression of how to use them.
-
- Posts: 14
- Joined: Wed Sep 27, 2006 1:30 am
Ok, thanks that answers my questions pretty well. Im still working my way around all of the class docs and how everythings fits together, I see the methods nowhybrid wrote:You can extend the set of Irrlicht GUI elements by deriving more classes from IGUIElement. You can have several environments and draw them optionally or in sequence (might make less sense, though). You can change the visibility of elements using setVisible (pretty simple, eh?). And for the event receivers read the tutorials, this should give a good impression of how to use them.