bgfx-beef
所属分类:collect
开发工具:Beef
文件大小:0KB
下载次数:0
上传日期:2021-12-08 19:02:18
上 传 者:
sh-1993
说明: 牛肉编程语言的Bgfx包装器,
(Bgfx wrapper for the Beef Programming Language,)
文件列表:
.vscode/ (0, 2021-12-08)
.vscode/launch.json (913, 2021-12-08)
.vscode/tasks.json (575, 2021-12-08)
BeefProj.toml (4004, 2021-12-08)
BeefSpace.toml (161, 2021-12-08)
LICENSE (1069, 2021-12-08)
bgfx-beef.code-workspace (43, 2021-12-08)
build_linux.sh (132, 2021-12-08)
build_macos.sh (131, 2021-12-08)
build_windows_vs2019.cmd (1361, 2021-12-08)
example/ (0, 2021-12-08)
example/BeefProj.toml (171, 2021-12-08)
example/buildtime/ (0, 2021-12-08)
example/buildtime/resources/ (0, 2021-12-08)
example/buildtime/resources/shaders/ (0, 2021-12-08)
example/buildtime/resources/shaders/background.shader (2058, 2021-12-08)
example/buildtime/resources/shaders/blit.shader (440, 2021-12-08)
example/buildtime/resources/shaders/generic_texture.shader (589, 2021-12-08)
example/buildtime/resources/textures/ (0, 2021-12-08)
example/buildtime/resources/textures/Cloud_1.png (8032, 2021-12-08)
example/buildtime/resources/textures/Cloud_2.png (7825, 2021-12-08)
example/buildtime/resources/textures/Cloud_3.png (7056, 2021-12-08)
example/buildtime/resources/textures/RainDrop.png (185, 2021-12-08)
example/runtime/ (0, 2021-12-08)
example/runtime/resources/ (0, 2021-12-08)
example/src/ (0, 2021-12-08)
example/src/App.bf (5471, 2021-12-08)
example/src/AppBase.bf (5769, 2021-12-08)
example/src/Base/ (0, 2021-12-08)
example/src/Base/Log.bf (1032, 2021-12-08)
example/src/Base/Time.bf (531, 2021-12-08)
example/src/Base/Utils.bf (3554, 2021-12-08)
example/src/Math/ (0, 2021-12-08)
example/src/Math/Matrix4.bf (12376, 2021-12-08)
example/src/Math/Point.bf (225, 2021-12-08)
example/src/Math/Quaternion.bf (26099, 2021-12-08)
... ...
# [bgfx-beef](https://github.com/jazzbre/bgfx-beef) Bgfx wrapper for the Beef Programming Language
[bgfx](https://github.com/bkaradzic/bgfx)
## Dependencies
To build C/C++ API it needs the following parallel structure:
```
Root-Directory\
|__ sdl2-beef\
|__ bgfx-beef\
```
You need to clone [sdl2-beef](https://github.com/jazzbre/sdl2-beef) by yourself.
## Prerequisites
- To initialize submodules run *git submodule update --init --recursive*
## Windows
- Visual Studio 2019 Community/Professional (it can be built with other versions though, check build_windows_vs2019.cmd for more information)
- To build prerequisites run *build_windows_vs2019.cmd*
- Please note that Windows 10 SDK is required, it's possible to change to 8.1 in the build_windows_vs2019.cmd if needed.
## MacOS
- To build prerequisites run *./build_macos.sh*
## Linux
- To build prerequisites run *./build_linux.sh* (EXPERIMENTAL - tested just that it builds and links on Ubuntu 20.04 LTS with WSL2)
## Usage
Open workspace and set Example as Startup project and Run!
Example can run in two modes
- *Buildtime* mode where example/buildtime directory is found and the resources are built if they were changed or added (or not built before)
- *Runtime* mode where example/buildtime directory is not found and example/runtime is already built (used when distributing the application)
When running in *Buildtime* mode the changes to the existing assets (in example/buildtime directory) will be built on the fly.
MacOS/Linux can be built and run with provided VSCode project (expects Beef git clone in the same root folder as this project).
## Future work
iOS and Android build scripts.
## Art
Clouds:
http://pixelartmaker.com/art/a2cfe63f4ca5f16
Rain drop:
http://pixelartmaker.com/art/b3e0f940338bc21
近期下载者:
相关文件:
收藏者: