<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Chili%3AExamples</id>
	<title>Chili:Examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Chili%3AExamples"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Chili:Examples&amp;action=history"/>
	<updated>2026-04-21T04:15:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Chili:Examples&amp;diff=676&amp;oldid=prev</id>
		<title>Qrow: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Chili:Examples&amp;diff=676&amp;oldid=prev"/>
		<updated>2025-11-14T05:22:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:22, 13 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Chili:Examples&amp;diff=675&amp;oldid=prev</id>
		<title>Interwiki&gt;Silentwings: fix link</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Chili:Examples&amp;diff=675&amp;oldid=prev"/>
		<updated>2016-05-23T08:24:39Z</updated>

		<summary type="html">&lt;p&gt;fix link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Main_Page|Wiki]] &amp;lt; [[Chili|Chili]] &amp;lt; Examples Of Chili&lt;br /&gt;
&lt;br /&gt;
== Chili Widgets ==&lt;br /&gt;
&lt;br /&gt;
A few small examples of Chili widgets, some of which were used in the [[Chili/Chili_Tutorial| Chili tutorial]] are the following:&lt;br /&gt;
&lt;br /&gt;
[[Chili:Example_Hello_World|1. Hello World]]&lt;br /&gt;
&lt;br /&gt;
[[Chili:Example_2|2. Dynamically update a label]]&lt;br /&gt;
&lt;br /&gt;
[[Chili:Example_3|3. Command and Build commands in a chili window]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some self-contained examples of functional Chili widgets, from real games:&lt;br /&gt;
* [https://github.com/SpringCabal/Gravitas/blob/master/LuaUI/Widgets/ui_quitbutton.lua Quit Button] - a button that quits the game&lt;br /&gt;
* [http://imolarpg.dyndns.org/trac/balatest/browser/branches/BAR/luaui/widgets/bgu_replay_speed_control.lua Replay Speed Control] - a panel of pressable buttons to control the speed of watching a replay&lt;br /&gt;
* [https://github.com/SpringCabal/Area-17/blob/master/LuaUI/Widgets/ui_health.lua Player Health Bar] - a health bar that hovers above a players character (made for an rpg/puzzle game)&lt;br /&gt;
&lt;br /&gt;
You can find many more examples, including much more complex ones, in the games below.&lt;br /&gt;
&lt;br /&gt;
== Chili GUIs ==&lt;br /&gt;
&lt;br /&gt;
A Chili GUI is typically built out of many different widgets, each of which uses Chili to create part of the GUI and also the Lua functions to implement that part of the GUI. &lt;br /&gt;
&lt;br /&gt;
Chili is used by many Spring games, although not all. Newer games often use Chili, some older games pre-date Chili and use GUIs written directly in OpenGL. In theory, a game could have a GUI containing some Chili widgets and some non-Chili widgets, but in practice most games that adopt Chili make all or almost all of their GUI using Chili.&lt;br /&gt;
&lt;br /&gt;
Games with small examples of Chili GUIs, which are good sources of simple example widgets, are &lt;br /&gt;
* [https://github.com/SpringCabal/Gravitas/tree/master/LuaUI/Widgets Gravitas] &lt;br /&gt;
* [https://github.com/SpringCabal/Area-17/tree/master/LuaUI/Widgets Area-17]&lt;br /&gt;
Note that these links are to the LuaUI directory of the game, in which the gui widgets can usually be found prefixed with &amp;lt;code&amp;gt;gui_&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can find working examples of full scale Chili GUIs in &lt;br /&gt;
* [https://github.com/ZeroK-RTS/Zero-K/tree/master/LuaUI/Widgets Zero-K]&lt;br /&gt;
* [https://github.com/EvolutionRTS/Evolution-RTS/tree/master/LuaUI/Widgets_Evo Evolution RTS] (partially)&lt;br /&gt;
* [http://imolarpg.dyndns.org/trac/balatest/browser/branches/BAR/luaui/widgets BAR]&lt;br /&gt;
and in other games with [[Gamedev:PublicRepos|Public Repos]]. You can see many of these GUIs on the [[Chili:ScreenShots| Screenshots]] page.&lt;br /&gt;
&lt;br /&gt;
Although there are many Chili widgets that can be used in any game, there is currently no whole &amp;#039;game-agnostic&amp;#039; minimal Chili GUI, although it would be great if someone would make one ;)&lt;br /&gt;
&lt;br /&gt;
[[Category:Libraries]]&lt;/div&gt;</summary>
		<author><name>Interwiki&gt;Silentwings</name></author>
	</entry>
</feed>