The New GUI
Moderator: Moderators
-
- Posts: 436
- Joined: 26 Aug 2004, 08:11
The New GUI
Ok guys, I'm making a sticky post for details on the new GUI system in development. I have decided to use http://www.cegui.org.uk, which is a fairly complicated, not very well documented (yet) GUI system that can render in OGRE, OpenGL, or D3D, which is very cool. Once coded up, the GUI can be defined in external xml files. Also, a new feature added to the library recently allows for skinning, which is the point of this post. We need people to go to this site, learn how the skinning system works (in particular, falagard, the name of the system) and make a skin for the GUI. I personally think it would be cool for someone to take the art from OTA and make a skin out of that, and also make a new age one. CEGUI as a whole is, as I said, complicated, so I'm spending a bunch of time writing my own test applications and reading others code so I can understand how it works. I'll be posting those apps here for those curious and those who would like to help somehow.
Wow this looks awesome! Will this system support for all features asked? For now I see:
- Chatting
- Settings dialog
- Level selections etc (allows for single player?)
And can we integrate the lobby into this or will it stay out of Spring?
Perhaps we can go to some system like BF uses: mod selection, single player, multi player, all in the same GUI.
- Chatting
- Settings dialog
- Level selections etc (allows for single player?)
And can we integrate the lobby into this or will it stay out of Spring?
Perhaps we can go to some system like BF uses: mod selection, single player, multi player, all in the same GUI.
-
- Posts: 436
- Joined: 26 Aug 2004, 08:11
i havent checked out the code to betalord's lobby, but if all of his functionality is outside in dlls, then skinning a lobby and embedding it into spring itself is not inconceivable.
As for the other features, those are more of a pre-game gui. atm i am focusing on the in-game gui, but other guis will be easier to put in. especially after i've gone through the trouble of learning cegui
As for the other features, those are more of a pre-game gui. atm i am focusing on the in-game gui, but other guis will be easier to put in. especially after i've gone through the trouble of learning cegui
The Falagard tutorial, for those who haven't found it yet.
http://www.cegui.org.uk/wiki/index.php/ ... umentation
http://www.cegui.org.uk/wiki/index.php/ ... umentation
- Michilus_nimbus
- Posts: 634
- Joined: 19 Nov 2004, 20:38
-
- Posts: 436
- Joined: 26 Aug 2004, 08:11
haha yes, it is very complicated. the problem at the moment is the lack of documentation and tutorials, but i am in the middle of discussions on the forum, and i am going to find their irc channel and ask enough questions to get started. the plan at the moment is to create the widgets needed for the base in-game gui, which can then have a variety of skins applied. if you like the way the gui looks right now... make a skin for it! the more skins we have, the easier it will be to test. my plan right now is to have an external application to run the interface for testing purposes. when it is functional enough, i will drag it into spring, and remove the old code that is no longer needed.
Artists should go here, to the bottom of the page.
http://www.cegui.org.uk/wiki/index.php/Tutorials
Artists should go here, to the bottom of the page.
http://www.cegui.org.uk/wiki/index.php/Tutorials
OK ive done some of it, but this is just to tedious for me. If anyone else want to make continue making the skin, you can get what I have completed so far from here:
http://maelstrom.wik3d.com/files/Skin.7z
Just unzip that file into the CEGUI Demos/datafiles/imagesets/ directory after downloading http://www.cegui.org.uk/modules/mydownl ... d=4&lid=56
Good luck with it.
EDIT: Fixed links
http://maelstrom.wik3d.com/files/Skin.7z
Just unzip that file into the CEGUI Demos/datafiles/imagesets/ directory after downloading http://www.cegui.org.uk/modules/mydownl ... d=4&lid=56
Good luck with it.
EDIT: Fixed links
Last edited by Maelstrom on 22 Dec 2005, 09:17, edited 1 time in total.
Also for anyone who wants to test CEGUI in a standalone app first, I suggest downloading the CEGUI source code, and build the Samples directory.
Falagard demo and Demo8 are really great testing cases. Specially Demo8 which uses the Lua scripting language to handle all the gui code.
Jouninkomiko, you could use Demo8 as the basis of Spring's GUI code.
Falagard demo and Demo8 are really great testing cases. Specially Demo8 which uses the Lua scripting language to handle all the gui code.
Jouninkomiko, you could use Demo8 as the basis of Spring's GUI code.