Framework in Golang to simplify game development with SDL in Go
Go to file
2022-11-13 10:34:59 -05:00
core Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
game Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
importer Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
input Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
node Add delta value between frames 2022-10-24 06:42:58 -04:00
rendering Add delta value between frames 2022-10-24 06:42:58 -04:00
sdl Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
.gitignore Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
go.mod Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
go.sum Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
LICENSE Initial commit 2022-06-05 12:54:30 -04:00
main.go Add delta value between frames 2022-10-24 06:42:58 -04:00
Makefile Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00
ReadMe.md Upgrade sdl version, implement embed rendering, and more! 2022-11-13 10:34:59 -05:00

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