mirror of
https://github.com/yeslayla/golang-game-framework.git
synced 2025-01-13 04:23:32 +01:00
Framework in Golang to simplify game development with SDL in Go
core | ||
game | ||
importer | ||
input | ||
node | ||
rendering | ||
sdl | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
ReadMe.md |
Golang Game Framework
Framework in Golang to simplify game development with SDL in Go.
Currently, only basic rendering has been implemented.
For an example on how to use it, see game/game.go
and make your own changes!
I have a strong desire to make this into a more flexible and feature complete system, but I cannot give any guarantees. Hopefully at minimum, this project can be seen as a reference for others!
Requirements
Fedora
sudo dnf install -y golang SDL2{,_image,_mixer,_ttf,_gfx}-devel
For static compilation:
sudo dnf install -y alsa-lib-devel libXext-devel libXcursor-devel libXi-devel libXrandr-devel libXxf86vm-devel libXScrnSaver-devel
Ubuntu:
sudo apt install -y golang-go libsdl2{,-image,-mixer,-ttf,-gfx}-dev