Macaw is a 2D Game Engine using SDL2. Macaw is written in Go with the ECS architecture pattern.
export CGO_ENABLED=1
)go get github.com/tubelz/macaw
You can find a working example in the repository https://github.com/tubelz/pong-macaw/ That example covers many functionalities such as:
A more complex (and fun) example can be found in https://github.com/tubelz/crazybird !
You can check the crazybird example to see how games can be built with docker.
A simple example, though, involves three steps:
docker pull rennomarcus/macaw:latest
)docker run -it rennomarcus/macaw:latest
)go build .
. Now you have a game built without installing any depency (other than docker)If you have questions, suggestions, or just want to chat about our Game Engine you can go to use the Discord app and join our server: https://discord.gg/SXQYsdK
If there is a bug you can open an issue here. Your input is fundamental for the project's success. :)
There's always something to be worked on! Don't be afraid to open an issue or submit a PR. Please check the contributing guide for more information!
The code here is under the zlib license. You can read more here