naithar / AngryGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngryGL

OpenGL clone of the Unity Angry Bots ECS sample project

I also made an accompnaying video with some discussion.

Code is pretty rough but may still prove useful for others doing something similar.

Building

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.

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

About


Languages

Language:C++ 49.7%Language:C 48.8%Language:GLSL 1.0%Language:Starlark 0.4%Language:Objective-C 0.2%