Red UI Framework (v8)

Red UI Framework (v8)

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Red UI Framework (v8)

Post by Regret »

eat shit
Last edited by Regret on 05 Aug 2011, 02:40, edited 13 times in total.
SeanHeron
Engines Of War Developer
Posts: 614
Joined: 09 Jun 2005, 23:39

Re: Red UI Framework (v1)

Post by SeanHeron »

Sounds interesting!
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Red UI Framework (v1)

Post by Master-Athmos »

The main interest also might be the performance your framework delivers. Does anything change considering the crippling effect the other UIs have on the performance or do we have to wait for jk's new engine side Lua magic for that?
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Red UI Framework (v1)

Post by Regret »

EDIT: <file upload holder>
Last edited by Regret on 13 Aug 2009, 19:21, edited 3 times in total.
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Red UI Framework (v1)

Post by Master-Athmos »

Well I guess the huge framedrops (my experience with e.g. LolUI is that it eats up 50-60% of the fps I have when deactivating it) can't be evaded until jk finished his GUI stuff for Lua. It's kinda strange though as I can't really understand what exactly slows things down so much...
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Red UI Framework (v1)

Post by MidKnight »

Why don't all of you GUI people just work on one framework? We now have ChiliGUI, RedUI, IceUI, LOLUI, Evil4Zerggin's UI, and Neddie's UI, along with the as-yet-unreleased SWIW GUI. This'd all be simpler if we all worked on one framework, then forked it for our individual projects.
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Red UI Framework (v1)

Post by Regret »

Master-Athmos wrote:Well I guess the huge framedrops can't be evaded until jk finished his GUI stuff for Lua.
Wrong. It's not rocket science to draw a rectangle, and there is only so much you can do to simplify it.

jk's framework is already functional and being used in CA, go ahead and make a performance test.
MidKnight wrote:Why don't all of you GUI people just work on one framework? We now have ChiliGUI, RedUI, IceUI, LOLUI, Evil4Zerggin's UI, and Neddie's UI, along with the as-yet-unreleased SWIW GUI. This'd all be simpler if we all worked on one framework, then forked it for our individual projects.
Why do we all play different games, we should all play BA.
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Red UI Framework (v1)

Post by Master-Athmos »

Regret wrote:Wrong. It's not rocket science to draw a rectangle, and there is only so much you can do to simplify it.
Well but I cannot really believe that like for LolUi just some transparent boxes with some buttons eat half of the frames of a modern quad core PC - that just can't be and I don't think that you, Meltrax or Evil4Zerggin are incompetent code junkies who let every box calculate Pi in the background...

That's why my guess is that it has to do with the Lua implementation that makes some of the draw or mouse-over functions incredibly slow for whatever reason. At least I didn't come up with a better solution than that yet. Give me a better one if you can...
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Red UI Framework (v1)

Post by jK »

Regret wrote:
Master-Athmos wrote:Well I guess the huge framedrops can't be evaded until jk finished his GUI stuff for Lua.
Wrong. It's not rocket science to draw a rectangle, and there is only so much you can do to simplify it.

jk's framework is already functional and being used in CA, go ahead and make a performance test.
It can be rocket science especially if you do it in Lua.
Also chiliGUI is not finished yet, it is still an alpha. So I am just doing a lot under the hood general design changes, no performance tweak nor visual improvements yet. Not to forget you can't compare it at all cuz there is no full GUI written in it (and it would be a bad idea atm).
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Red UI Framework (v1)

Post by Neddie »

I'm not making a framework on which the GUI will be assembled, I'm merely designing the 1944 GUI. Zerg and I are working on the same project, in theory.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Red UI Framework (v1)

Post by Satirik »

maybe you guys could stop working on different project and work on a common one or help auswashbar to finish his hardcoded one
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Red UI Framework (v1)

Post by imbaczek »

the hardcoded one may well find itself being lua-driven sooner than later... or not. depends. patches welcome.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Red UI Framework (v1)

Post by Neddie »

I sometimes feel the same about the many lobby projects, Satirik.

To redirect your point - there is no common project for a game-specific GUI, each game has different demands and the GUI must be designed with those demands in mind. An improved default GUI is simply a generic which should be replaced or heavily modified to suit any serious project.

That aside, if there were one master plan for a framework, and one legitimate approach, I have no doubt that we would still have multiple projects. There are multiple plans and approaches, apparently.

---

Anyway, not to be side tracked, looking good, Regret. Where are you with your documentation?
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Red UI Framework (v1)

Post by Regret »

neddiedrow wrote:Anyway, not to be side tracked, looking good, Regret. Where are you with your documentation?
Added to first post. Also cleaned up the code + performance tweaks.
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Red UI Framework (v7)

Post by Regret »

Updated.

Accidentally same version number.

Was only tweaks and bugfixes.
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Red UI Framework (v7)

Post by Gota »

Suggestions allow UI parts to be glued to the edges of the screen.
Many players including myself thought it was a bit annoying when it is impossible to glue them and you accidentally grab them and move them while playing.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Red UI Framework (v8)

Post by zwzsg »

Small bug with the greying of disabled buttons:
http://springrts.com/phpbb/viewtopic.ph ... 49#p386749
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Red UI Framework (v8)

Post by Regret »

zwzsg wrote:Small bug with the greying of disabled buttons:
http://springrts.com/phpbb/viewtopic.ph ... 49#p386749
thx :p
Post Reply

Return to “Lua Scripts”