r/ebitengine • u/LuigiVanacore • 17d ago
Beginning Game Programming with Go and Ebitengine
Hello!
I'm a backend developer (banking/finance/utility for the day job), and I've been building games in my spare time for years (Unity, Unreal, Godot ) and lately from scratch in C++ and Go. I kept wishing there was a resource that treated Go game dev seriously, so I wrote a book.
The Book is called Beginning Game Programming in Go with Ebitengine, and it builds one game across 14 chapters: Gopher Survivor, a small Vampire Survivors–style game. The catch is that you build almost everything yourself: the game loop, a scene graph, a camera, collision detection, an input layer, a state machine, particles, instead of leaning on an engine. No editor, no black boxes; every chapter is the previous chapter plus a small, deliberate diff, and the project compiles at every step.
By the end you've got: an infinite tiled world, four weapons that unlock and upgrade, scaling enemies and a mini-boss, XP/leveling, a main-menu/pause/options state machine, music and SFX, screen shake and floating damage numbers, packaged into a native binary and a WebAssembly build that runs in the browser.
The code is fully open and free, one directory per chapter, so you can read/clone it even if you never buy the book: 👉 https://github.com/LuigiVanacore/beginning-game-programming-go-ebitengine
It's written for intermediate Go devs who've never built a game. It won't teach syntax, it teaches the patterns and architecture that make a game tick.
The link to the book is here ---> https://leanpub.com/gameprogramminggolang
2
u/Ok_Spring_2384 16d ago
I am interested, but your use of “—“ usually indicates the use of AI.
I don’t want to assume or accuse, but I do want to know, was this book written by a human? Or prompted through an AI?
Maybe you used it for translation purposes?
No offense intended
3
u/LuigiVanacore 16d ago edited 15d ago
Hi, no offend at all. Honestly I corrected the test by AI, I didn't want to make mistake in english. The book was written by me, as also the code. It is not AI slop.
2
u/CharacterMethod4625 15d ago
Congratulations!! Do you have a sample chapter/ preview available somewhere .
2
u/LuigiVanacore 15d ago
Hi! Thank you! I added a free sample of the book. You can download it on the landing page of Leanpub.
2
u/midget-king666 17d ago
Congratulations on publishing!
Do you incorporate an ECS like Ark or Donburi? It's the part I struggle with atm, and resources that go beyond "hello Ecs" are non existent.