Our great sponsors
glfw | go-sdl2 | |
---|---|---|
3 | 3 | |
1,508 | 2,126 | |
1.4% | 1.4% | |
6.7 | 6.9 | |
2 days ago | 3 days ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
glfw
-
Understand how to use C libraries in Go, with CGO
And this is how https://github.com/go-gst/go-gst, https://github.com/go-gl/glfw, and even https://fyne.io/ are using system libraries to propose a lot of functionalities.
-
3D graphics library
I'm looking for something that's relatively low-level (not a game engine) but preferably abstracts some of the boilerplate away and is cross-platform. Something like go-bgfx would have been perfect for me, but it has been long abandoned. The only real remaining option appears to be the glfw-bindings go-gl/glfw. Otherwise, I could make use of cgo to wrap some c/c++ code myself. I'm somewhat hesitant to go with glfw, because openGL isn't supported on all platforms (but realistically, I'm not going to publish anything that needs to go on mobile), and doesn't support raytracing, which I eventually want to mess around with too.
- What libraries would allow drawing windowless overlays?
go-sdl2
- C Port of Ken Thompson's Space Travel
-
"Dr. Kobushi’s Labyrinthine Laboratory" powered by Ebitengine has been released on Steam
An even simpler option (not a full engine) is using SDL2 bindings.
-
3D graphics library
Fair enough! There are Go bindings for sdl here, and bindings for RayLib here. Beyond that, everything go game-related that I know of is a game engine.
What are some alternatives?
gl - Go bindings for OpenGL (generated via glow)
raylib-go - Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
mathgl - A pure Go 3D math library.
Ebiten - Ebitengine - A dead simple 2D game engine for Go
goxjs/gl - Go cross-platform OpenGL bindings.
Pixel - A hand-crafted 2D game library in Go
goxjs/glfw - Go cross-platform glfw library for creating an OpenGL context and receiving events.
Pygame - 🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
go-wlroots - Go binding for wlroots
d3d9 - Direct3D9 wrapper for Go.
SPH-Fluid-Simulation - A multi-threaded particle-based solver, Smoothed-Particle Hydrodynamics, for the Navier-Stokes equation
go-collada - Go package for working with the Collada file format.