IceUI - Page 7

IceUI

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

Moderator: Moderators

Post Reply
User avatar
overkill
Posts: 500
Joined: 02 Sep 2006, 01:15

Post by overkill »

wow looks nice
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Post by Acidd_UK »

This is looking really good Meltrax - keep up the good work!
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

Many of you had the same performance issues I had with my IceUI.. Trepan calls it "jerkiness" ;) and he claims that updating Lua to version 5.1.2 reduced the jerkiness quite a bit..

I can't really test this since my new laptop doesn't really show that jerkiness.. So it would be really cool if some of you who noticed a periodical FPS drop could try it with the latest SVN build of Spring and report any changes in performance.. :-)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

There font rendering may also be the source of a general slowdown.
The 'jerkiness' is periodic, and is caused by lua's garbage collection
routine. Lua 5.1 added an incremental tunable garbage collector, and
so it performs better. You can tune the parameters using the DoLine
widget:

/luaui run collectgarbage(opt [, arg]) -- see the lua manual for more info
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

the 15 odd fps loss is crippling, there must be some way to optimise!
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

ehm.. what is "15 odd fps loss" supposed to mean? did you test with the latest SVN Spring build?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

15 fps as a number is useless regardless.
Are you running at 16 fps or 300 fps without
LuaUI?

If you haven't already done so, edit LuaUI/ctrlpanel.txt
to disable outlineFont (use a value of 0). This will help
reduce the slowdown due to fonts (for which there is
already a real solution in the pipe).
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

I have 45 fps standard, and this does not change significantly when I use LUA ui and various little widgets like factroy gaurd, idle cons.
When I use this GUI change I lost 10-15fps.
This loss of fps is caused by the resource bar from what I can see, as I dled the toolbar, box to show allied resources, and unit groups seperately and they didnt have much effect..
sorry if thats not helpul
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

My former widgets (Tooltip, Player Info and Resource Bar) don't have a lot of code in common with the new IceUI so that doesn't really mean anything if you compare those..

And yes: there's a lot of stuff to optimize and I will try to do that.. Though I will probably stick to lots of tables because it allows some nice flexibility.. If Spring becomes unplayable though, I have to change that core-stuff, too..

Anyway, what trepan did was reducing the "periodic slowdown" caused by the garbage collection and not the "general slowdown" caused by my sloppy programming ;).. So that's what should be tested if you want to help (as I said, this only refers to the latest SVN builds)..
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

I released my current version of IceUI today. As I said there won't be any new versions for Spring 0.74b3 so this release will only work with current SVN builds of Spring. For details please see the description on UF.

Image

Note that it's not hard to use the development builds of Spring. You don't have to compile anything. See this sticky for details.

I will have a stable and a development branch when the new stable Spring version gets released but I switched to SVN too late to make it possible with the current version of IceUI..
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Post by LOrDo »

I like the ability to hide the retarded unit spam stuff. Good work.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

No commands listed for some reason... otherwise it looks pretty keen
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

Bundle it with main release.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

Dragon45 wrote:Bundle it with main release.
When it works of course... it crashed on me... and no commands in the command window...
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

Can you describe how and when it crashes for you?

And yes: I still didn't do the build/command window.. I can disable it for now and let you use the old one..
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Itd be nice if you had a supcom style command button window with the list of things being built and numbers signifying how many so you can see exactly whats going to be built next and how many then so on....
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

Hmm.. Nice idea.. That left-hand panel will be so much work ;)..
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

I tried to change the resource bars...
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

As in "I moved the windows" or "I changed the code"?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Did you grab the latest LuaUI files from the svn?
Post Reply

Return to “Lua Scripts”