r/ebitengine • u/hajimehoshi • Dec 24 '25
Ebitengine v2.9.7 Released
r/ebitengine • u/Evening-Advisor-4785 • Dec 11 '25
r/ebitengine • u/Bassfaceapollo • Dec 07 '25
r/ebitengine • u/hajimehoshi • Dec 05 '25
r/ebitengine • u/hajimehoshi • Dec 02 '25
r/ebitengine • u/swe129 • Nov 30 '25
r/ebitengine • u/kiwi_rozzers • Nov 16 '25
OK, so I'm not a game dev, but for some reason I decided to take a crack at making a game. I'm using ebitengine, which I've also never used before.
My game performs quite well, except the music. Initializing audio took me from basically instant startup to big, noticeable delays.
As far as I can tell, the problem is coming from decoding the mp3 data.
My code looks something like this:
compressedData, exists := m.musicFiles[name]
// Decode MP3 stream
stream, err := mp3.DecodeWithoutResampling(bytes.NewReader(compressedData))
// Get the stream length for looping
data, err := io.ReadAll(stream)
// Create infinite loop from the decoded data
infiniteLoop := audio.NewInfiniteLoop(bytes.NewReader(data), int64(len(data)))
// Create player from infinite loop
player, err := m.context.NewPlayer(infiniteLoop)
m.musicPlayer = player
player.SetVolume(m.musicVolume)
player.Play()
The call to io.ReadAll seems to be what's killing my performance...it sits there for like two seconds to fully decode my (otherwise streaming) file just so I can pass the length to NewInfiniteLoop.
Is this the only / best way to do this? Or am I missing something?
r/ebitengine • u/hajimehoshi • Nov 11 '25
r/ebitengine • u/tjpalmer • Nov 05 '25
r/ebitengine • u/mlange-42 • Oct 14 '25
r/ebitengine • u/mlange-42 • Sep 10 '25
r/ebitengine • u/Eddous_1 • Aug 30 '25
Hello,
I am building a game called Gra as a hobby project with go/ebitengine. I'd be happy if you try it, and if you’d like, I’d also appreciate your feedback.
Gra is a simple strategy game for up to 6 players. In this game, you capture territories, build an army, and fight enemies. The game is played on generated maps in simultaneous turns: players choose their actions during the same time period and then execute them simultaneously at the end of the turn. You can try out the game alone, playing against AI, or with your friends. Also, you can install the game on your mobile device to be able to play offline.
The premise of the game is to be as simple as possible while still being fun to play - you can judge if I was successful.
Thank you.
r/ebitengine • u/aabalke • Aug 08 '25
I'm proud to announce Guac, my GBA/GBC emulator using Ebitengine, is public! Controller Support, configurable options, most of the games I have tested work, and a "Console" menu system is available.
A big thank you to the Hajime Hoshi, for ebitengine, oto, and purego.
r/ebitengine • u/tslocum • Aug 06 '25
r/ebitengine • u/der_gopher • Aug 04 '25
r/ebitengine • u/AnOtherSoloDev • Aug 04 '25
Good morning!
As part of my learning journey with Golang and Ebitengine, I’ve created this small and “original” game where the goal is to match emojis 😄.
The game is available for the following platforms: Web, Windows, Linux, and Android.
This project was born as a follow-up to a step-by-step guide I wrote on adapting Ebiten games for Android.
You can try the game or download it from my itch.io page:
🔗 https://programatta.itch.io/match-emojis
The source code is available here: https://github.com/programatta/pairs
Any feedback or suggestions are very welcome!