Categories
Game Engine Graphic Library

Ebiten: Package

Package ebiten provides graphics and input API to develop a 2D game

https://pkg.go.dev/github.com/hajimehoshi/ebiten?tab=doc

Categories
Game Engine Graphic Library

Ebiten “Hello World!”

A simple tutorial to create a window and print a “Hello World!” message.

https://ebiten.org/tour/hello_world.html#How_the_code_works

Categories
Graphic Library My Go Tutorial

Ebiten

A dead simple 2D game library for Go

https://github.com/hajimehoshi/ebiten

Categories
Graphic Library My Go Tutorial

Cgo

 the ability to call C code directly from Go, this is known as Cgo

Categories
Graphic Library My Go Tutorial

SDL2 binding for Go

https://github.com/veandco/go-sdl2

Categories
Graphic Library My Go Tutorial

go-sfml

https://github.com/teh-cmc/go-sfml

Categories
Graphic Library My Go Tutorial

GLFW 3.3 for Go

https://github.com/go-gl/glfw

Categories
Go Graphic Library My Go Tutorial

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.

https://fyne.io/

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

https://developer.fyne.io/started/