Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajhager/engi
A multi-platform 2D game library for Go.
https://github.com/ajhager/engi
Last synced: about 2 months ago
JSON representation
A multi-platform 2D game library for Go.
- Host: GitHub
- URL: https://github.com/ajhager/engi
- Owner: ajhager
- License: bsd-2-clause
- Created: 2013-05-05T00:25:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-29T03:58:27.000Z (over 8 years ago)
- Last Synced: 2024-07-01T03:07:45.593Z (3 months ago)
- Language: Go
- Homepage:
- Size: 1.7 MB
- Stars: 396
- Watchers: 29
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [ENGi v0.6.0](http://ajhager.com/engi)
A multi-platform 2D game library for Go.
## Status
*SUPER ALPHA* Expect bugs and major API changes. Just a proof of concept at the moment.
* Clean native interfaces
* Better asset management
* More consistent and powerful input
* Support multiple windows / games
* Better windowed / borderless windowed / fullscreen support
* Add support for built-in colors and images## Desktop
The desktop backend depends on glfw3, but includes the source code and links it statically. If you are having linker errors on Windows, I suggest using [TDM-GCC](http://tdm-gcc.tdragon.net/download) instead of MinGW as your cgo compiler.
## Web
The web backend depends on [gopherjs](http://github.com/neelance/gopherjs). ```gopherjs build``` is very much like ```go build```, then you can embed the resulting javascript file into your html document.
During development you can use [SRVi](https://github.com/ajhager/srvi) to automatically rebuild and serve your project every time you refresh. Quickly try out new ideas without even needing to setup a new index.html every time.
## Android
The android backend is in the works, following the daily updates to the go.mobile repo.
## Install
```bash
go get -u github.com/ajhager/engi
```## Documentation
[godoc.org](http://godoc.org/github.com/ajhager/engi)