Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Tangent128/luasdl2
A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
https://github.com/Tangent128/luasdl2
Last synced: 3 months ago
JSON representation
A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
- Host: GitHub
- URL: https://github.com/Tangent128/luasdl2
- Owner: Tangent128
- License: isc
- Created: 2014-11-25T01:26:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T15:00:24.000Z (9 months ago)
- Last Synced: 2024-08-02T08:09:44.475Z (6 months ago)
- Language: C
- Size: 6.7 MB
- Stars: 376
- Watchers: 20
- Forks: 73
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-sdl - Lua-SDL2
README
Lua-SDL2 (SDL2 binding for Lua)
==================================Lua-SDL2 is a pure C binding of SDL2 to Lua 5.1, Lua 5.2, Lua 5.3, Lua 5.4, and
LuaJIT.The current version is 2.1, compatible with SDL 2.0.1 - 2.0.5.
Lua-SDL2 follows the [SemVer](https://semver.org) standard with regards to project
versioning.Features
========Lua-SDL2 is a portable binding of SDL2, written in pure C for efficiency.
It tries to stay as close to SDL as possible, acting as a simple binding
rather than attempting to re-design the interaction between the programmer
and SDL.Lua-SDL2 takes full advantage of Lua's object-oriented capabilities wherever
possible, allowing the programmer to fully leverage SDL's inherent
object-oriented design.Lua-SDL2 is very well documented, with copious source-code comments, and a full
API reference available at [the wiki](https://github.com/Tangent128/LuaSDL2/wiki/).Compatibility
=============Lua-SDL2 is designed to be as compatible as possible. The library has support
for all the latest features of SDL2, while still compiling with SDL 2.0.1.If the library is compiled with a newer point release of SDL than what is
listed here, the library should still function, simply without access to the
newer features.Lua-SDL2 is compatible with:
* Lua 5.1, 5.2, 5.3, 5.4 or LuaJIT
* SDL 2.0.1 and greaterInstalling
==========If you have LuaRocks installed,
$ luarocks install lua-sdl2
Otherwise, read `INSTALL.md` for instructions to build it yourself.
Website
=======The official website is hosted at [https://github.com/Tangent128/luasdl2](https://github.com/Tangent128/luasdl2).
The current documentation is available at the associated
[wiki](https://github.com/Tangent128/luasdl2/wiki/).Author and Maintainer
=====================The Lua-SDL2 library was written by [David Demelier](mailto:[email protected]).
It is currently being maintained by [Joseph Wallace](mailto:[email protected]).