Lua Libraries: Difference between revisions
From Spring
Jump to navigationJump to search
| Line 5: | Line 5: | ||
It's possible to add early work, but try to make sure it has some documentation, and keep it in its separate repository. | It's possible to add early work, but try to make sure it has some documentation, and keep it in its separate repository. | ||
Libraries: | |||
* [https://github.com/jk3064/chiliui ChiliUI]: UI framework [[Chili | docs]] | * [https://github.com/jk3064/chiliui ChiliUI]: UI framework [[Chili | docs]] | ||
* [https://github.com/jk3064/lups LUPS]: Lua Particle System for Spring [[LUPS | docs]] | * [https://github.com/jk3064/lups LUPS]: Lua Particle System for Spring [[LUPS | docs]] | ||
| Line 15: | Line 15: | ||
* [https://github.com/gajop/chilifx ChiliFX]: Chili effects [WIP] | * [https://github.com/gajop/chilifx ChiliFX]: Chili effects [WIP] | ||
* [https://github.com/gajop/chotify Chotify]: Notification library in Chili [WIP] | * [https://github.com/gajop/chotify Chotify]: Notification library in Chili [WIP] | ||
==Single file libraries== | |||
There is also a number of single file libraries that don't have their own repository but can technically still be considered libraries. | |||
Library files: | |||
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Gadgets/api_vector.lua Vector]: Small utility for vector operations | |||
* [https://github.com/gajop/liblobby/blob/master/lobby/json.lua JSON]: Serializing to the JSON format | |||
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Gadgets/api_delay.lua Delay]: Delaying gadget calls | |||
Revision as of 08:12, 25 November 2015
Lua libraries
This page lists all common Lua libraries that can be used in Spring game and map archives.
If you want to extend this page, please only add working, well-documented libraries and frameworks, and their official links. It's possible to add early work, but try to make sure it has some documentation, and keep it in its separate repository.
Libraries:
- ChiliUI: UI framework docs
- LUPS: Lua Particle System for Spring docs
- Custom Unit Shader Framework: Unit rendering with shaders
- LibLobby: Spring Lobby protocol library
- i18n: Translations library
- LCS: OOP (classes) in Lua
- analytics: Usage analytics reporting [WIP]
- ChiliFX: Chili effects [WIP]
- Chotify: Notification library in Chili [WIP]
Single file libraries
There is also a number of single file libraries that don't have their own repository but can technically still be considered libraries.
Library files: