Create a simple cross-platform desktop game with Go
sausheong.github.io
Create a simple cross-platform desktop game with Go
1–10 of 23 posts
Re: Create a simple cross-platform desktop game with Go
#2Reminds me of the time I created an improved version of the "8-puzzle"[1] game in Go to learn about "channels" and "goroutines". Especially, the use of "select" statement for listening on multiple channels for the main event loop.
Re: Create a simple cross-platform desktop game with Go
#3Re: Create a simple cross-platform desktop game with Go
#4Re: Create a simple cross-platform desktop game with Go
#5Interesting, though what this actually does is run a local webserver so I assume it would be even simpler to just open the default web browser pointed to the local server? But then you start thinking that sound output could also be handled via the audio API and one could even play this remotely. So what you created is a webapp? Why even run it locally at all then... just some thoughts. Still a cool idea to circumvent…
Latency?
Re: Create a simple cross-platform desktop game with Go
#6https://github.com/avelino/awesome-go#game-development
g3n seems like the most promising recent candidate:
Azul3D used to be a promising candidate, but looks to be very dead now. :(
Re: Create a simple cross-platform desktop game with Go
#7Re: Create a simple cross-platform desktop game with Go
#8They have a wrapper for GLFW and OpenGL, I've been using GLES2 which has good compatability with everything. You have to be prepared to learn how to write shaders and use OpenGL, though, so it can be a bit intimidating. Here's the (extremely incomplete and very bad) game I have so far:
Re: Create a simple cross-platform desktop game with Go
#9Re: Create a simple cross-platform desktop game with Go
#10For cross platform game / 3D development in Go, there are a few frameworks and libraries already in place: https://github.com/avelino/awesome-go#game-development g3n seems like the most promising recent candidate: http://g3n.rocks https://github.com/g3n/engine Azul3D used to be a promising candidate, but looks to be very dead now. :(