Lua Libraries: Difference between revisions

From Spring
Jump to navigationJump to search
Gajop (talk | contribs)
sorted libs alphabetically and added two new ones
Gajop (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Lua libraries=
=Lua libraries=
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.
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:
Libraries:
Line 29: Line 26:
* [https://github.com/spring1944/spring1944/blob/master/LuaRules/Includes/camera.lua Camera]: Camera state serialization
* [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
* 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]]
[[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:


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

Additional resources

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