• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Tangent128/luasdl2: A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Tangent128/luasdl2

开源软件地址(OpenSource Url):

https://github.com/Tangent128/luasdl2

开源编程语言(OpenSource Language):

C 91.8%

开源软件介绍(OpenSource Introduction):

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 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.

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 greater

Installing

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.

The current documentation is available at the associated wiki.

Author and Maintainer

The Lua-SDL2 library was written by David Demelier.

It is currently being maintained by Joseph Wallace.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
rxi/lite: A lightweight text editor written in Lua发布时间:2022-08-16
下一篇:
Olivine-Labs/busted: Elegant Lua unit testing.发布时间:2022-08-16
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap