AngryGL 是一个 Unity Angry Bots ECS 示例项目的 OpenGL 克隆,我还制作了一个配套视频,其中进行了一些讨论。代码非常粗糙,但它可以作为一个很好的入门项目。
AngryGL 是一个 Unity Angry Bots ECS 示例项目的 OpenGL 克隆,我还制作了一个配套视频,其中进行了一些讨论。代码非常粗糙,但它可以作为一个很好的入门项目。
OpenGL clone of the Unity Angry Bots ECS sample project
I also made an accompanying video with some discussion.
Code is pretty rough but may still prove useful for others doing something similar.
The project is built using bazel for Windows only.
NOTE: None of the original assets from Unity's project have been included, you'll need to copy them into the appropriate directories if you want to run the project yourself. The .gitignore file can be a good guide for this.
Project can be built with bazel build -c opt angrygl:main and the resulting binary can be found at bazel-bin/angrygl/main.exe. The binary assumes that it's being run from the root directory. So build and run would be
// From root dir with WORKSPACE in it
bazel build -c opt angrygl:main && ./bazel-bin/angrygl/main.exeirrKlang was used as the audio library. I don't believe the license allows for including the library in this repo so audio is disabled. The code which uses the audio is still there but ifdef'd out to show how it was done.
The following libraries were used:
暂无开放 Issues,或尚未同步最近议题。