Thursday, May 4, 2017

Packages for Go programming language and a Game in Go

I have prepared Go packages in the repository https://github.com/mki1967/go-mki3d that can be used to load  the data produced by MKI3D and display with go-gl tools for OpenGL with Golang.

 As a working example you can find a simple game mki3dgame in https://github.com/mki1967/test-go-mki3d .
To run the game you need to have installed  Go language and the packages:

  • "github.com/go-gl/gl/v3.3-core/gl"
  • "github.com/go-gl/glfw/v3.2/glfw"
  • "github.com/go-gl/mathgl/mgl32"
  • "github.com/mki1967/go-mki3d/mki3d"
  • "github.com/mki1967/go-mki3d/glmki3d"

In the game you have to collect tokens randomly scattered in the stages while avoiding the monsters (they can capture you).
You can design your own stages, monsters, and tokens in MKI3D and place them in respective sub-directories of the assets directory.
 Here is a short screen-cast on YouTube:
https://youtu.be/vp6nhvOqhdU

No comments:

Post a Comment