Skip to content

buwilliams/go2dgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go2dgame

Experiments with go-gl and Go 2D game development.

introduction

After watching the talk from GopherCon about improvements with GC in Go 1.5, I become interested in making games in Go.

This project will contain several experiments using go-gl to make 2D games. Since I am new to OpenGL, go-gl, and game development in general, this may not be a great resource for your own learning but maybe you'll find helpful code examples.

I'm grateful to the people who made go-gl and OpenGL. I am impressed with the amount of work people have contributed to these efforts over the years.

getting started

  • go get -u github.com/buwilliams/go2dgame

learning

  • go-gl package has an examples folder which was helpful in getting my first glfw window created.
  • the glfw code reads easily so I was able to begin to understand the input subsystem
  • because go-gl is calling C code within Go to do opengl and glfw, the documentation/tutorials for those libraries helps in writing/understanding the Go code.
  • I found learnopengl.com as a helpful resource for initially understanding why glfw is needed.
  • Now following a different tutorial which uses OpenGL 3.3 (and is a bit easier to follow although the other tutorial is deeper and still useful)

About

Experiments with go-gl and Go 2D game development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages