Lua Libraries: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
Fucking categorise pages damn-namit
Flozi (talk | contribs)
m →Single file libraries: MCL vector library is extended from s44
Line 20: Line 20:


Library files:
Library files:
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Gadgets/api_vector.lua Vector]: Small utility for vector operations
* [https://github.com/SpringMCLegacy/SpringMCLegacy/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/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
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Gadgets/api_delay.lua Delay]: Delaying gadget calls

Revision as of 13:56, 26 December 2017

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:

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