Lua Libraries

From Spring

Lua libraries

This page lists all common Lua libraries that can be used in Spring game and map archives.


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


Additional resources

Some additional libraries can be found using Github topics, such as springrts-lib and springrts