Chili Updates (WIP)

Chili Updates (WIP)

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

Moderator: Moderators

Post Reply
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Chili Updates (WIP)

Post by jK »

https://github.com/jk3064/chiliui/commits/master

Did some chili updates:
  • gajop made an EditBox control
  • fixed 2 massive performance leaks
  • added 2 new helpful debug widgets (inspector & profiler)
  • hovering fx
Image
Attachments
chili_update.jpg
(204.69 KiB) Downloaded 4 times
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Chili Updates (WIP)

Post by FLOZi »

fixed 2 massive performance leaks
Common issues or just major issues when they happen?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Chili Updates (WIP)

Post by gajop »

right in time for christmas :)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Chili Updates (WIP)

Post by Forboding Angel »

Yay! :-)

JK could you please put configuration settings for chili into a config file so updating doesn't cause loss of all settings?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Chili Updates (WIP)

Post by jK »

FLOZi wrote:Common issues or just major issues when they happen?
1. wasted time when multiple controls were updated in the same frame (so 99% of all cases)
2. none obj.font:Set...() did a `if (newvalue == oldvalue) then` check, and so caused many redundant updates (occurs less often, but iirc ResourceBars is affected by this)
Forboding Angel wrote:Yay! :-)

JK could you please put configuration settings for chili into a config file so updating doesn't cause loss of all settings?
There are no configuration settings? o_O
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Chili Updates (WIP)

Post by jK »

made another update, most interesting one is this:
https://github.com/jk3064/chiliui/commi ... ec43015e0e
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Chili Updates (WIP)

Post by gajop »

awesome.. that would a game changer for me, for the unit & feature def browsers f.e, haven't yet tried it out though!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Chili Updates (WIP)

Post by Forboding Angel »

Oops... Herped when I shoulda derped.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Chili Updates (WIP)

Post by jK »

even more changes:
* new Chili.ComboBox control
* new Chili.Line (horizontal & vertical spacer)
* some skin tweaks
* many bugfixes
* visibility checking (much faster rendering of scrollpanels!)
* better focus handling
* use "Nimbus Sans L" in Robocracy skin
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Chili Updates (WIP)

Post by jK »

Image
Post Reply

Return to “Lua Scripts”