r/gogamedev • u/[deleted] • May 27 '16
r/gogamedev • u/unklnik • Jun 09 '24
Castle - Ebitengine - https://github.com/npinochet/castle
r/gogamedev • u/gaoxiang_ian • Jan 25 '16
WolfenGo: a Wolfenstein 3D clone in Go
r/gogamedev • u/unklnik • Oct 11 '26
IMGE (Ebitengine)
GitHub https://github.com/EnesBaytekin/imge
IMGE is a minimal 2D pixel-art game engine. You describe your game with JSON files (scenes and objects) and small Go components*, then imge build compiles the whole thing into a single self-contained executable — or a web (WASM) bundle. It is built on* Ebitengine, a pure-Go 2D game library, so the engine is Go all the way down: no C/C++ engine to link against, no hidden runtime
r/gogamedev • u/mlange-42 • Mar 09 '25
Ark - A new Entity Component System for Go
Ark is an archetype-based Entity Component System (ECS) for Go.
It builds on the experience gained when building my first Go ECS, Arche.
Features
Designed for performance and highly optimized.
Well-documented, type-safe API, and a comprehensive User guide.
Entity relationships as a first-class feature.
Fast batch operations for mass manipulation.
No systems. Just queries. Use your own structure (or the Tools).
World serialization and deserialization (with ark-serde).
Aims
I learned so much when building Arche, my first Go ECS, that is was time for a fresh start. The primary aims of Ark, compared to Arche, are:
Better support for entity relationships.
Centered around the generic, type-safe API.
Making it (even) faster than Arche.
More structured internals due to better planning of features.
In 3 weeks of development, all this was achieved. Ark is feature-complete now in terms of the initial plan.
Your feedback is highly appreciated, particuarly for the API and the user guide!
r/gogamedev • u/mlange-42 • Mar 19 '25
Ark ECS v0.4.0 released
Pleased to announce the release of Ark v0.4.0 !
Ark is an archetype-based Entity Component System (ECS) for Go.
Ark's features
Designed for performance and highly optimized. See the Benchmarks.
Well-documented, type-safe API, and a comprehensive User guide.
Entity relationships as a first-class feature.
Fast batch operations for mass manipulation.
No systems. Just queries. Use your own structure (or the Tools).
World serialization and deserialization with ark-serde.
Release highlights
Adds
QueryX.Countfor fast query counting.Provides
MapXfor up to 12 components.Improves ergonomics of
MapX.GetandMap.Get.Performance improvements for query creation and component operations.
Several bug fixes and improved error messages.
Ark is dual-licensed with choice for MIT and Apache 2.0.
Further, Ark is now also present in the go-ecs-benchmarks.
r/gogamedev • u/unklnik • 27d ago
Rimworld-Go (Ebitengine)
GitHub https://github.com/arxdsilva/rimworld-go
A RimWorld-inspired colony simulation written in Go with Ebitengine, built in public on YouTube. Original Blender-rendered art; no proprietary RimWorld code, art or data.
r/gogamedev • u/sh41 • Aug 11 '15
eX0: TCP/UDP/WebSocket multiplayer 2D shooter in Go (with web client)
Hello gogamedev! I'm very excited to have discovered this place after @golangweekly tweeted about it.
I'm a big fan of Go and I think it has amazing potential for making games. I'm interested in pushing its limits and finding out how far it can go, and so far it's a blast!
I wanted to share a little game project I'm working on in my spare time. It's written 100% in pure Go, aside from some cgo dependencies for OpenGL and GLFW. It's actually a port of an unfinished original version I started many years ago in C++.
I took a look at Go's net package and wanted to see how hard it'd be to send some TCP/UDP packets and have it connect to the C++ server... then ported the server, added logic, a simple renderer, and by now a large part is working in Go.
Here's a screenshot to give you an idea. I'm working on the netcode/gameplay first, so the graphics are very basic for now. The C++ version looked slightly better.
Anyway, let me get to the cool part. One of the goals I had when I started the Go port was to be able to have the game client run in a browser. I wanted to use GopherJS compiler and WebGL.
But there's no easy way to send UDP packets form the browser, so how did I get around that? For now, I use a WebSocket connection (which is a TCP-like connection) and marshall my TCP+UDP packets over that stream. It was great to be able to do this in Go because I could use channels/select statements (that I never had in C++) like you can see here.
The original networking protocol uses TCP/UDP packets (and my Go version is currently staying compatible with the original C++ version), but I have 3 transport types: normal UDP/TCP via "net" package (see net.go file). Combined virtual TCP+UDP mode over WebSocket (net_tcp.go). And using Go channels (net_chan.go), which obviously only works when both the client and server are running in the same process. It gets unbeatably low ping times though!
I said there's a web client, and you can try that just by clicking on this link in any modern browser (it even works on mobile, but I don't have touch controls):
http://dmitri.shuralyov.com/projects/eX0/eX0-go-client/
Arrow keys and W/A/S/D to move around. That's it for now.
(Try opening two windows if there's no one else online, and try moving around. Open dev console to see networking info.)
The source code is all here at https://github.com/shurcooL/eX0/tree/master/eX0-go. Feel free to star the repo or watch it for further development news. I'm happy to answer questions (with delay, going to sleep soon)!
r/gogamedev • u/quasilyte • Apr 07 '25
My Ludum Dare 57 game (made with Ebitengine)
r/gogamedev • u/unklnik • Jan 14 '25
Isoterra - Ebitengine - https://yawp-games.itch.io/isoterra
r/gogamedev • u/unklnik • May 02 '24
Bitty Knight Source Code https://github.com/unklnik/bitty_knight
r/gogamedev • u/unklnik • Aug 01 '26
Battle City (1985 NES Clone - Ebitengine)
GitHub: https://github.com/shpaker/tnk9x
Play Online: https://shpaker.github.io/tnk9x/
A modern remake and tribute to the classic arcade game Battle City (NES, 1985), built with Go and Ebiten. This project combines a passion for the original game with learning Go, Clean Architecture principles, and game development.
r/gogamedev • u/Jack_of_Shadow • Apr 09 '25
LD57 - Ebiten showcase
We made a game for a game jam, but unfortunately, we don’t plan to share the source code as it was "too gamejamed".
That said, we were pleasantly surprised by how easily Ebiten compiled for the web and how much faster it initializes there compared to Godot and Unity.
r/gogamedev • u/akomomssim • Jan 03 '22
Compiling a Go program into a native binary for Nintendo Switch - Ebiten
r/gogamedev • u/BlackReape_r • Aug 29 '24
Terminal-based "Slay the Spire"-like deck builder - https://github.com/BigJk/end_of_eden
r/gogamedev • u/mlange-42 • Mar 05 '24
Tiny World - A tiny, slow-paced world and colony building game
r/gogamedev • u/erytau • Jul 07 '22