tubelz / macaw

2D game engine written in Go using SDL2 and ECS
https://github.com/tubelz/macaw/wiki
zlib License
12 stars 0 forks source link
2d-game-engine game-development game-engine go macaw sdl

Macaw Build Status Coverage Status GoDoc Go Report Card

Macaw is a 2D Game Engine using SDL2. Macaw is written in Go with the ECS architecture pattern.

Demo

Installation and requirements

Usage

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 !

Building with Docker

You can check the crazybird example to see how games can be built with docker.

A simple example, though, involves three steps:

  1. Pulling the docker image (docker pull rennomarcus/macaw:latest)
  2. Running in interactive mode (docker run -it rennomarcus/macaw:latest)
  3. Build the application with a simple command go build .. Now you have a game built without installing any depency (other than docker)

Discussion (issues/suggestions)

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. :)

Contributing

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!

License

The code here is under the zlib license. You can read more here