repositorypackage
0.0.0-20160818221527-e88c16372587
Repository: https://github.com/dekugelschieber/go-game.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
go-game (package "goga")
Game engine written in Go using OpenGL and GLFW. Mostly for 2D rendering, but also capable of rendering 3D, providing everything to get you started.
Install
go-game requires OpenGL and GLFW. The following three steps install everything you need:
go get github.com/go-gl/gl/v3.2-core/gl
go get github.com/go-gl/glfw/v3.2/glfw
go get github.com/DeKugelschieber/go-game
You also need a cgo compiler (typically gcc) and GL/GLFW development libraries and headers. You can find further instructions on the GitHub pages below (see dependencies).
Usage
Examples can be found within the demo folder. For full reference visit: https://godoc.org/github.com/DeKugelschieber/go-game
Dependencies
- https://github.com/go-gl/gl
- 3.1-core
- https://github.com/go-gl/glfw
- 3.1
To use a different GL version, you need to replace the GL imports in package goga.
Contribute
To contribute, please create pull requests. The code must be formatted by gofmt and fit into the architecture.
License
MIT