Skip to content

mamueluth/AngryGL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngryGL

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.

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

Dependencies

irrKlang 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:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.6%
  • C++ 40.9%
  • GLSL 1.1%
  • Starlark 0.4%