Lua Libraries: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
|||
| (12 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
This page lists all common Lua libraries that can be used in Spring game and map archives. | This page lists all common Lua libraries that can be used in Spring game and map archives. | ||
Libraries: | |||
* [https://github.com/gajop/analytics analytics]: Usage analytics reporting | |||
* [https://github.com/jk3064/chiliui ChiliUI]: UI framework [[Chili | docs]] | |||
* [https://github.com/gajop/chilifx ChiliFX]: Chili effects | |||
* [https://github.com/jk3064/chiliui ChiliUI]: UI framework [Chili docs] | * [https://github.com/gajop/chotify Chotify]: Notification library in Chili | ||
* [https://github.com/jk3064/ | * [https://github.com/jk3064/Custom-Unit-Shader-Framework Custom Unit Shader Framework]: Unit rendering with shaders | ||
* [https://github.com/gajop/i18n i18n]: Translations library | |||
* [https://github.com/gajop/liblobby LibLobby]: Spring Lobby protocol library | * [https://github.com/gajop/liblobby LibLobby]: Spring Lobby protocol library | ||
* [https://github.com/gajop/Lua-Class-System LCS]: OOP (classes) in Lua | * [https://github.com/gajop/Lua-Class-System LCS]: OOP (classes) in Lua | ||
* [https://github.com/gajop/ | * [https://github.com/jk3064/lups LUPS]: Lua Particle System for Spring [[LUPS | docs]] | ||
* [https://github.com/ | * [https://github.com/gajop/springmon springmon]: Spring file monitor and autoreloader | ||
* [https://github.com/ | * [https://github.com/gajop/spring-wrapper-connector spring-wrapper-connector]: Wrapper program communication provider | ||
==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/SpringMCLegacy/SpringMCLegacy/blob/master/LuaRules/Gadgets/api_vector.lua Vector]: Small utility for vector operations | |||
* [https://github.com/Spring-SpringBoard/SpringBoard-Core/blob/master/libs_sb/json.lua JSON]: Serializing to the JSON format | |||
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Gadgets/api_delay.lua Delay]: Delaying gadget calls | |||
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Includes/network.lua Network]: Delta compression for binary strings | |||
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Includes/camera.lua Camera]: Camera state serialization | |||
* Deferred rendering [http://imolarpg.dyndns.org/svn/branches/BAR/shaders/deferred_lighting.glsl Shader] & [http://imolarpg.dyndns.org/svn/branches/BAR/luaui/widgets/gfx_deferred_rendering.lua Widget]: Deferred rendering (projectile) based lights | |||
===Misc=== | |||
* {{forumlink|topic=28341|title=ChangePiece}} - Switch piece geometry | |||
=== Additional resources === | |||
Some additional libraries can be found using Github topics, such as [https://github.com/topics/springrts-lib springrts-lib] and [https://github.com/topics/springrts springrts] | |||
[[Category:Lua]] [[Category:Libraries]] | |||
Latest revision as of 05:21, 11 November 2018
Lua libraries
This page lists all common Lua libraries that can be used in Spring game and map archives.
Libraries:
- analytics: Usage analytics reporting
- ChiliUI: UI framework docs
- ChiliFX: Chili effects
- Chotify: Notification library in Chili
- Custom Unit Shader Framework: Unit rendering with shaders
- i18n: Translations library
- LibLobby: Spring Lobby protocol library
- LCS: OOP (classes) in Lua
- LUPS: Lua Particle System for Spring docs
- springmon: Spring file monitor and autoreloader
- spring-wrapper-connector: Wrapper program communication provider
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:
- Vector: Small utility for vector operations
- JSON: Serializing to the JSON format
- Delay: Delaying gadget calls
- Network: Delta compression for binary strings
- Camera: Camera state serialization
- Deferred rendering Shader & Widget: Deferred rendering (projectile) based lights
Misc
- ChangePiece - Switch piece geometry
Additional resources
Some additional libraries can be found using Github topics, such as springrts-lib and springrts