glfw
raylib-go
Our great sponsors
glfw | raylib-go | |
---|---|---|
3 | 21 | |
1,508 | 1,304 | |
1.4% | - | |
6.7 | 9.1 | |
3 days ago | 2 days ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | zlib 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?
raylib-go
-
Raylib is a simple and easy-to-use library to enjoy videogames programming
Raylib is awesome! It reminds me of the old school days of using BlitzBASIC to get things drawn on screen because it's easy and so much fun. This is how programming used to be, no fuss, just easy to use libraries.
I currently use Raylib with Go and the Go bindings[1] to create screensavers for Linux and I'm really happy with the results.
I even use it at work to draw interactive infrastructure diagrams that animate dependencies, allow controlling start-up etc. It's really flexible and simpler than anything else I've found to get stuff on-screen. I love it!
[1]: https://github.com/gen2brain/raylib-go
-
Cool projects to learn and contribute?
If games/graphics interests you then this is a cool project and help is needed porting examples to Go. Raylib Go - basically it is a game development framework for Go. There are a whole lot of examples that haven't been added to the Github page here https://github.com/gen2brain/raylib-go/tree/master/examples
-
Building Snake Game In Golang: Complete Guide
Well, I haven't used Ebiten much so can't compare however Raylib is super easy to use for both 2D and 3D (as far as I know Ebiten is mainly 2D) and there is a large community as there are Raylib bindings for a lot of languages. The Go bindings are here https://github.com/gen2brain/raylib-go and the Raylib website is here https://www.raylib.com/
- raylib-go - the golang binding of raylib released v.4.5 today
-
What would be the closest thing to Unity/Unreal C#/C++ for Go to create games/animations/visual work?
However if you can code with Go already then something like Raylib https://github.com/gen2brain/raylib-go
-
3d with Ebitengine?
You can do 3D with Go and Raylib quite easily, without a lot of math, not sure you can build a 3D rendering engine with it though https://github.com/gen2brain/raylib-go
- Can Go be used for game development?
-
Where to find more information on using languages beside c++?
Unfortunately the biggest problem with Raylib for other languages like Go is just what you are talking about, there is minimal documentation. What I did to learn is to go through the examples on Github here https://github.com/gen2brain/raylib-go/tree/master/examples
-
Golang Image Manipulation.
Not sure exactly what you want to do however Raylib offers some image manipulation and is easy to use https://github.com/gen2brain/raylib-go
What are some alternatives?
gl - Go bindings for OpenGL (generated via glow)
Ebiten - Ebitengine - A dead simple 2D game engine for Go
mathgl - A pure Go 3D math library.
go-sdl2 - SDL2 binding 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.
g3n - Go 3D Game Engine (http://g3n.rocks)
go-wlroots - Go binding for wlroots
goworld - Scalable Distributed Game Server Engine with Hot Swapping in Golang
SPH-Fluid-Simulation - A multi-threaded particle-based solver, Smoothed-Particle Hydrodynamics, for the Navier-Stokes equation
Oak - A pure Go game engine