Help with loading a GUI created using the GUIEditor
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Help with loading a GUI created using the GUIEditor
The included GUIEditor, it saved an xml file with all my specifications. and it looks great. but I am slightly confused about how to load it. (Tutorials never mentioned this... this should really be added to the GUI tutorial!)
"this is not the bottleneck you are looking for"
Re: Help with loading a GUI created using the GUIEditor
aaammmsterdddam wrote:Have you read the irrlicht documents (api docs and so on)?
They list all supported formats.
you should also take your time to go through the tutorials included with your download.
Working on game: Marrbles (Currently stopped).
Re: Help with loading a GUI created using the GUIEditor
I haven't used the GUIEditor myself... but first try even without reading much documentation would be IGUIEnvironment::loadGUI.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Help with loading a GUI created using the GUIEditor
orite... might be a good idea. (Sorry. sometimes I don't think clearly.... ^^*)
"this is not the bottleneck you are looking for"
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Help with loading a GUI created using the GUIEditor
ok. I can't get it to work.
(there isn't a whole lot of documentation on this!)
(there isn't a whole lot of documentation on this!)
"this is not the bottleneck you are looking for"
Re: Help with loading a GUI created using the GUIEditor
could you elaborate on what you have tried and what/where failed ??aaammmsterdddam wrote:ok. I can't get it to work.
(there isn't a whole lot of documentation on this!)
Working on game: Marrbles (Currently stopped).
Re: Help with loading a GUI created using the GUIEditor
What he tried: Nothing. What failed: Everything.
Ok just making fun.
Re: Help with loading a GUI created using the GUIEditor
If it doesn't work it's most likely because IrrXML can't load 64-bit UTF. Try converting the file in a text editor.
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Help with loading a GUI created using the GUIEditor
ok... going to try that. secondly I am not sure if I implemented it correctly.... trying again. posting source if it fails.
"this is not the bottleneck you are looking for"