Package ebiten provides graphics and input API to develop a 2D game
Category: Graphic Library
By creating quality graphical applications using native technologies, developers are able to provide better reliability and a more responsive user interface. Ensuring that applications integrate seamlessly with the operating system, as well as working well online and offline, will provide a consistent workflow that will keep your users happy.
Ebiten “Hello World!”
A simple tutorial to create a window and print a “Hello World!” message.
Ebiten
A dead simple 2D game library for Go
Cgo
the ability to call C code directly from Go, this is known as Cgo
SDL2 binding for Go
go-sfml
GLFW 3.3 for Go
Fyne Cross-Platform GUI
Fyne is an easy to use UI toolkit and app API written in Go. It is designed to build applications that run on desktop and mobile devices with a single codebase.
Setup the Fyne development environment
- Go compiler installed and setup (1.16)
- IDE – Visual Studio Code
- C compiler installed (MSYS2 MinGW 64-bit)
- Git Fyne
C compiler installation with MSYS2 MinGW 64-bit
The steps for installing with MSYS2 (recommended) are as follows:
- Install MSYS2 from msys2.org
- Once installed do not use the MSYS terminal that opens
- Open “MSYS2 MinGW 64-bit” from the start menu
- Execute the following commands:
$ pacman -Syu
$ pacman -S git mingw-w64-x86_64-toolchain
go get fyne.io/fyne
Resources