g3n
g3n | raylib-5k | |
---|---|---|
6 | 5 | |
2,653 | 22 | |
1.4% | - | |
4.3 | 0.0 | |
11 days ago | over 1 year ago | |
Go | Go | |
BSD 2-clause "Simplified" 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.
g3n
-
Making Games in Go for Absolute Beginners
I've been working on a game over the past year in Go using https://github.com/g3n/engine. I picked Go because I like the language and wanted to learn it. I picked g3n-engine because I wanted to work in 3d after making a few 2d games in the past.
Making games is so much more challenging and rewarding than almost all of the work I've done for pay. There's always so much more to learn that doesn't feel like just relearning how to do the same thing except with a different framework of the week.
-
What would be the closest thing to Unity/Unreal C#/C++ for Go to create games/animations/visual work?
as well as possibly (G3N) https://github.com/g3n/engine
-
3d with Ebitengine?
and https://github.com/g3n/engine
- Can Go be used for game development?
-
Is there a 3D game library or engine made in Go that's usable and not restrictively licensed?
https://github.com/g3n/engine is BSD 2-clause.
-
How should I approach plotting (2d and 3d) in Golang project?
Or... You might consider writing directly to a frame buffer and rendering the graphics directly, currently Go doesn't have anything like matplotlib, but there are options like 3d game engines: http://g3n.rocks/ https://azul3d.org/
raylib-5k
-
Making Games in Go for Absolute Beginners
A game made with it for raylib game jam along with the raylib bindings and other engine stuff: https://github.com/nikki93/raylib-5k
-
Show HN: I made a 2D shoot 'em up game with Go, using Entity Component System
I do also really like Go for various reasons, and have been working on a Go -> C++ transpiler and associated ECS libs to make a personal game project with. I used it to make a game for Raylib game jam earlier this year too: https://github.com/nikki93/raylib-5k You can see what the development workflow looks like in this video (the ECS stuff also has an editor): https://www.youtube.com/watch?v=8He97Sl9iy0
I'm trying to decide how much time I should devote to making this easier to set up / use by other people in the medium term, since it's just a side project for me. Might make a codespaces template so it's quick to get started.
-
Why Am I Excited About WebAssembly?
For the client I use a simple go -> c++ compiler I wrote and compile to wasm from that actually. It had zero overhead interfacing to / calls to C/C++ (including generics<->templates) since it's just generating that. Example web game made with that: https://github.com/nikki93/raylib-5k
I think I've seen wasmtime before. If I needed to interface to any C/C++ things on the server I would probably just write in C/C++ (or Gx) yeah.
-
Generics can make your Go code slower
Sweet! I've been using it for the same. Example game project (did it for a game jam): https://github.com/nikki93/raylib-5k -- in this case the Go gets transpiled to C++ and runs as WebAssembly too. Readme includes a link to play the game in the browser. game.gx.go and behaviors.gx.go kind of show the ECS style.
-
Packet Lost: A game (playable in browser!) made for Raylib jam using a Go->C++ transpiler and WebAssembly. GitHub repo link in comments!
GitHub repo: https://github.com/nikki93/raylib-5k
What are some alternatives?
Ebiten - Ebitengine - A dead simple 2D game engine for Go
donburi - Just another ECS library for Go/Ebitengine
Azul3D - Azul3D - A 3D game engine written in Go!
goloader - load and run golang code at runtime.
raylib-go - Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
usbarmory - USB armory - The open source compact secure computer
Pixel - A hand-crafted 2D game library in Go
temporal-polyfill - A lightweight polyfill for Temporal, successor to the JavaScript Date object
go3d - A performance oriented 2D/3D math package for Go
airplanes - A 2D shoot 'em up game made with Go, Ebitengine, and donburi. Featuring ECS (Entity Component System).
go-sdl2 - SDL2 binding for Go
proposal - Go Project Design Documents