Use ExtJS to run the GUI

For code related discussions and questions
Post Reply
User avatar
Rommel
Trained
Trained
Posts: 446
Joined: 03 Nov 2012, 19:44

Use ExtJS to run the GUI

Post 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...
Moving back instead of forward
Seems to me absurd
~
Metallica - Eye of the beholder
User avatar
Rman Virgil
Professional
Professional
Posts: 3812
Joined: 25 Sep 2006, 01:06
Location: USA

Re: Use ExtJS to run the GUI

Post 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:

.
.

Impact = C x (R + E + A + T + E)

Contrast
Reach
Exposure
Articulation
Trust
Echo
.
User avatar
Rommel
Trained
Trained
Posts: 446
Joined: 03 Nov 2012, 19:44

Re: Use ExtJS to run the GUI

Post 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.
Moving back instead of forward
Seems to me absurd
~
Metallica - Eye of the beholder
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: Use ExtJS to run the GUI

Post 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
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base
Contact:

Re: Use ExtJS to run the GUI

Post by Goth Zagog-Thou »

Quite interesting potential here. I'll def. be following the progress! :D
User avatar
Rman Virgil
Professional
Professional
Posts: 3812
Joined: 25 Sep 2006, 01:06
Location: USA

Re: Use ExtJS to run the GUI

Post 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:

.
.

Impact = C x (R + E + A + T + E)

Contrast
Reach
Exposure
Articulation
Trust
Echo
.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Use ExtJS to run the GUI

Post 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.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Post Reply