Ebitengine

Why I Switched from Godot to Ebitengine

I've been switching from Godot to Ebitengine, so I'll organize my reasons and impressions here. Introduction Why I Switched from Godot to Ebitengine Learning Tools vs. Building from Scratch Better for Leveraging AI Coding Moving Forward in…

Don't Call NewImage Inside Update/Draw | Ebitengine

You should not call NewImage inside Update or Draw. Introduction Don't Call NewImage Frequently The Problem Fix #1: Cache the Images (A Quick Hack) Fix #2: Wait, There's DrawFilledRect Conclusion References Introduction Recently I've been …

The Difference Between FPS and TPS in Ebitengine

This article summarizes the meaning and behavior differences between FPS (Frames Per Second) and TPS (Ticks Per Second) in Ebitengine. Introduction The Differences Between FPS and TPS in Ebitengine Overview Testing TPS 60, Display Refresh …

Understanding Text Drawing Coordinates in Ebitengine

text/v2 uses the text’s upper-left corner as (0, 0), while text/v1 uses the baseline origin on the left. Introduction Relationship Between Ebitengine Text Rendering Position and Specified Coordinates Check the documentation Try it out Conc…

Ebitengine Tutorial: Boids Flocking in Golang

Learn the basics of the Go-based game engine Ebitengine by implementing a Boids Flocking simulation. Introduction What is Ebitengine? What I built: Boids Flocking Implementing Boids Flocking Minimum setup: Hello, World! Directory structure…