Page 1 of 1

Use ExtJS to run the GUI

Posted: 07 Feb 2013, 03:09
by Rommel
Has any thought been given to using ExtJS as a GUI framework for wz2100?

http://www.sencha.com/products/extjs/

http://cdn.sencha.com/ext-4.1.1a-gpl/ex ... index.html

This is a very mature and well thought out UI framework, loads of documentation and a very active community. WZ would probably be the first major game to utilise Ext so I am sure they would give some us come choice airtime :)

Something to think about...

Re: Use ExtJS to run the GUI

Posted: 07 Feb 2013, 03:30
by Rman Virgil
.

Last I read Qt was gonna fill that role.

viewtopic.php?f=30&t=10456&p=115573&hil ... ts#p115573

http://doc.qt.digia.com/stable/qt-gui-concepts.html

However, I couldn't say if ExtJS has advantages over Qt UI widgets. :hmm:

.

Re: Use ExtJS to run the GUI

Posted: 07 Feb 2013, 04:25
by Rommel
Oh I wasn't aware of that - was looking at their examples and it seems you would need to write more code to achieve the same layouts as opposed to what ExtJS has to offer, this however, is only after a cursory glance at the QT docs (i have no experience in QT). The main thing with ExtJS is that it is a Javascript Framework and therefore more people will be able to work with it as it would seem more people are familiar with messing around with Javascript than QT.

Even then I don't really have experience with QT or the method in which it will be integrated. I have heard tell that the devs will be integrating some kind of browser so if this is the case we may be able to run whatever markup or JS we want on top of that.

Re: Use ExtJS to run the GUI

Posted: 07 Feb 2013, 08:23
by aubergine
I've been stung very badly by ExtJS on a number of occasions. It leads you down dead-ends and doesn't play nice with other GUI paradigms.

...and this only becomes apparent after a project is too far down the road with it to change to something else.

That being said, I would like to script the GUI using JS API to say QT5 or something like that. I did some ponderance on what sort of JS API features would be needed: https://warzone.atlassian.net/wiki/disp ... R/Menus+UI

Re: Use ExtJS to run the GUI

Posted: 07 Feb 2013, 13:47
by Goth Zagog-Thou
Quite interesting potential here. I'll def. be following the progress! :D

Re: Use ExtJS to run the GUI

Posted: 07 Feb 2013, 14:55
by Rman Virgil
Goth Zagog-Thou wrote:Quite interesting potential here. I'll def. be following the progress! :D
Indeed. :) I'm dreamin' of a "Planet Annihilation" type Command UI. :hmm:

.

Re: Use ExtJS to run the GUI

Posted: 12 Feb 2013, 05:43
by vexed
While you could do a external window in debug mode (like with the jsdebug window), actually integrating that into the game engine isn't really possible for a variety of reasons.

Having a front end to launch Warzone using a Qt shell is doable, and you can get pretty fancy, but we are still stuck with WZ's GUI code for pretty much everything else in game, and I don't see that changing anytime soon.