SFML/SFML

GitHub: SFML/SFML

一个跨平台的C++多媒体库,为窗口、图形、音频和网络功能提供统一的编程接口。

Stars: 11691 | Forks: 1896

[![SFML logo](https://www.sfml-dev.org/images/logo.png)](https://www.sfml-dev.org) # SFML — 简单快速的多媒体库 SFML 是一个简单、快速、跨平台且面向对象的多媒体 API。它提供了对窗口、图形、音频和网络的访问。它使用 C++ 编写,并为 C、.Net、Ruby、Python 等多种语言提供了绑定。 ## 开发状态 目前开发重心位于 `master` 分支的版本 3 上。 2.x 版本系列不再计划添加新功能。 ## CMake 模板 入门 SFML 最简单的方法是使用我们的 [CMake 项目模板](https://github.com/SFML/cmake-sfml-project/blob/master/README.md)。 该模板将自动下载 SFML 并与您自己的应用程序一起构建。 请阅读 README 以获取关于如何使用它的完整说明。 ## 下载 - 您可以在 [SFML 官网](https://www.sfml-dev.org/download.php)获取最新的官方版本。 - 您也可以从 [Git 仓库](https://github.com/SFML/SFML)获取当前开发版本的源代码。 - 或者,您可以从[构建产物存储](https://artifacts.sfml-dev.org/by-branch/master/)获取最新的快照 / 构建产物。 ## 安装 请按照[教程](https://www.sfml-dev.org/tutorials/)中的说明操作,SFML 支持的每个平台/编译器都有对应的教程。 ## 学习 有几个地方可以学习 SFML: - [官方教程](https://www.sfml-dev.org/tutorials/) - [在线 API 文档](https://www.sfml-dev.org/documentation/) - [社区 Wiki](https://github.com/SFML/SFML/wiki/) ## 社区 这里有一些有用的社区链接: - [Discord](https://discord.gg/nr4X7Fh) - [Twitter](https://twitter.com/sfmldev) - [论坛](https://en.sfml-dev.org/forums/)([法语](https://fr.sfml-dev.org/forums/)) ## 贡献 SFML 是一个开源项目,它需要您的帮助才能不断发展和改进。如果您想参与其中,建议一些额外的功能,提交错误报告或提交补丁,请查看[贡献指南](https://www.sfml-dev.org/contribute.php)。 ## 作者 - Laurent Gomila (laurent@sfml-dev.org) - Marco Antognini (hiura@sfml-dev.org) - binary1248 (binary1248@hotmail.com) - Lukas Dürrenberger (eXpl0it3r@sfml-dev.org) - Jonathan De Wachter (dewachter.jonathan@gmail.com) - Jan Haller (bromeon@sfml-dev.org) - Mario Liebisch (mario@sfml-dev.org) - Stefan Schindler (tank@sfml-dev.org) - Artur Moreira (artturmoreira@gmail.com) - Vittorio Romeo (vittorioromeo@sfml-dev.org) - Chris Thrasher (thrasher@sfml-dev.org) - 以及 SFML 社区的许多其他成员 ## 许可证 SFML 库和源代码在 [zlib/libpng 许可证](https://opensource.org/licenses/Zlib)下分发。参见 [license.md](license.md)。SFML 使用的外部库在其各自的许可证下分发。 简而言之,SFML 可免费用于任何用途(商业或个人,专有或开源)。您可以在项目中无限制地使用 SFML。您甚至可以省略提及您使用了 SFML —— 尽管我们将不胜感激。 ## SFML 使用的外部库 - [_stb_image_ 和 _stb_image_write_](https://github.com/nothings/stb)属于[公有领域](https://github.com/nothings/stb/blob/master/LICENSE) - [_freetype_](https://gitlab.freedesktop.org/freetype/freetype)在[FreeType 许可证或 GPL 许可证](https://gitlab.freedesktop.org/freetype/freetype/-/blob/master/LICENSE.TXT)下 - [_libogg_](https://gitlab.xiph.org/xiph/ogg)在 [BSD 许可证](https://gitlab.xiph.org/xiph/ogg/-/blob/master/COPYING)下 - [_libvorbis_](https://gitlab.xiph.org/xiph/vorbis)在 [BSD 许可证](https://gitlab.xiph.org/xiph/vorbis/-/blob/master/COPYING)下 - [_libflac_](https://gitlab.xiph.org/xiph/flac)在 [BSD 许可证](https://gitlab.xiph.org/xiph/flac/-/blob/master/COPYING.Xiph)下 - [_dr\_mp3_](https://github.com/mackron/dr_libs)属于[公有领域或在 MIT No Attribution 许可证下](https://github.com/mackron/dr_libs/blob/master/LICENSE) - [_miniaudio_](https://github.com/mackron/miniaudio)属于[公有领域或在 MIT No Attribution 许可证下](https://github.com/mackron/miniaudio/blob/master/LICENSE) - [_cpp-unicodelib_](https://github.com/yhirose/cpp-unicodelib)在 [MIT 许可证](https://github.com/yhirose/cpp-unicodelib/blob/master/LICENSE)下 - [_HarfBuzz_](https://github.com/harfbuzz/harfbuzz)在 [Old MIT 许可证](https://github.com/harfbuzz/harfbuzz/blob/main/COPYING)下 - [_SheenBidi_](https://github.com/Tehreer/SheenBidi)在 [Apache 许可证](https://github.com/Tehreer/SheenBidi/blob/master/LICENSE)下 - [_qoi_](https://github.com/phoboslab/qoi)在 [MIT 许可证](https://github.com/phoboslab/qoi/blob/master/LICENSE)下 - [_Mbed TLS_](https://github.com/Mbed-TLS/mbedtls)在 [Apache 许可证或 GPL 许可证](https://github.com/Mbed-TLS/mbedtls/blob/main/LICENSE)下
标签:2D图形, API, Bash脚本, C++, CMake, OpenGL, Python, Ruby, SFML, 交互式媒体, 图形渲染, 多人体追踪, 多媒体库, 多媒体应用, 开源库, 搜索引擎爬虫, 数据擦除, 无后门, 游戏开发, 游戏引擎, 知识库, 窗口管理, 网络编程, 逆向工具, 音频处理