libRocket

Talk about anything related to Unvanquished.
User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

libRocket

Post by kharnov »

Now for an early look at our libRocket implementation.

 

Image

One of our primary long-term goals for the engine has been to add a new interface system to replace the aging Quake 3 infrastructure that we've inherited. In our case, the choice would seem to be libRocket. The library will allow for us to design HUDs and menus using CSS and HTML, which allows for greater ease in pulling off some interface tricks that would have been a complete chore with the old system. In addition, it will make things easier for community modders to put their own HUDs together, as you'll very likely be much more familiar with common web design languages than the arcane system we currently use. 

Image

Work began on adding libRocket last summer, and the implementation has still been in development, progress shuffling between it and other urgent coding projects. So far, the libRocket branch on Git will load the game and display a menu, although we've yet to add the assets that we've made. As you can see from the concepts, we are aiming for cleaner menus outside of the game, and a nice circle menu system for selecting things in-game. The HUD system has also been designed to use modular units, allowing a designer to use HUD elements between both teams. What remains to be done? Ironing out bugs, ensuring user-friendliness, and getting performance up to par with the old system. You can expect us to finally merge it into master sometime next year. If you're interested, you can help!

Click here to read this article on the main site!

Last edited by kharnov on Tue Nov 26, 2013 6:03 am UTC, edited 2 times in total.
User avatar
gavlig
Animator
Posts: 518
Joined: Wed Mar 14, 2012 1:20 pm UTC

Re: libRocket

Post by gavlig »

wow, this looks really amazing!

User avatar
DwarfVader
Mantis
Posts: 102
Joined: Sun Sep 09, 2012 4:40 am UTC

Re: libRocket

Post by DwarfVader »

gorgeous ! veeery sweet!!!!!!! :thumbup:

can't you speed up implementation by forcing all developers to work on this and only on this till its done?
IMHO I expect that new UI(style) will solve many of the "too few active players out there / building a community because everything that counts for a gamer is 90% look and feel" problems. SO a sophisticated advertising campaign could finaly start with this Integration done!? It would also serve as a fresh base to start over with for people who have own UI ideas in mind for ages now!

as for the concept shown in the screenshots: there should be a turning 3D Model of the weapon/alien class right above the textfield with the description :tongue: ...

User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: libRocket

Post by kharnov »

DwarfVader wrote:

can't you speed up implementation by forcing all developers to work on this and only on this till its done?

No, our development doesn't work like that.

User avatar
Gireen
Graphic Designer
Posts: 295
Joined: Wed Mar 07, 2012 1:26 pm UTC
Clan: [DoH]
Location: Germany
Contact:

Re: libRocket

Post by Gireen »

DwarfVader wrote:

can't you speed up implementation ..... for people who have own UI ideas in mind for ages now!

kharnov wrote:

If you're interested, you can help!

:tongue:

User avatar
Elmo
Dretch
Posts: 55
Joined: Sun Apr 21, 2013 7:08 pm UTC
Location: Oregon

Re: libRocket

Post by Elmo »

I really like those menus, good job there guys.

One thing I just have to point out, please change the word "clip" to "magazine" in the SMG description >.>

Long live the legacy of:
[COM] [OPP] [ICE] =USA=
|AoD|[_MS} .!vR ?FH: .^
And many more...

User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: libRocket

Post by kharnov »

Elmo wrote:

I really like those menus, good job there guys.

One thing I just have to point out, please change the word "clip" to "magazine" in the SMG description >.>

Sure, that's just the current placeholder text from our current rifle.

rolandixor
Dretch
Posts: 33
Joined: Thu Sep 19, 2013 10:52 pm UTC

Re: libRocket

Post by rolandixor »

This UI is HOT!I'm loving the direction this game is going in :)

User avatar
ViruS
Granger
Posts: 1020
Joined: Sun Mar 11, 2012 4:24 am UTC
Location: Antartica - West Australian Post shore
Contact:

Re: libRocket

Post by ViruS »

Did I just read "HTML?"

Questions:

  1. Will we still have to click or can we hover our mouse over it?

  2. Can we have a "hold button and move mouse to designated area" radial menu style option? A few games already have this implemention because it's quick and easy to use. The cursor does not get shown, but the highlighted area shows what is selected. Here's an example from WorldofTanks (Left4Dead also has it for their vsays):
    Image

User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: libRocket

Post by kharnov »

Yes, HTML: http://librocket.com/

libRocket is the C++ user interface middleware package based on the HTML and CSS standards. It is designed as a complete solution for any project's interface needs.

libRocket uses the time-tested open standards XHTML1.0 and CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with features suited towards real-time applications. Because of this, you don't have to learn a whole new proprietary technology like other packages in this middleware space.

Post Reply