Registry / other / hajimehoshi-ebiten-v2

hajimehoshi-ebiten-v2

JSON →
library2.9.9gogounverified

A simple 2D game engine for Go, providing graphics, input, and audio APIs.

go get github.com/hajimehoshi/ebiten/v2
INSTALL
IMPORT
SIG · HAJIMEHOSHI-EBITEN
H
hajimehoshi-ebiten-v2
othergov2.9.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ebiten
✓ github.com/hajimehoshi/ebiten/v2

Create a simple 2D game window

package main import ( "log" "github.com/hajimehoshi/ebiten/v2" "github.com/hajimehoshi/ebiten/v2/ebitenutil" ) type Game struct{} func (g *Game) Update() error { return nil } func (g *Game) Draw(screen *ebiten.Image) { ebitenutil.DebugPrint(screen, "Hello, World!") } func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int) { return 320, 240 } func main() { if err := ebiten.RunGame(&Game{}); err != nil { log.Fatal(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.9.9latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
hajimehoshi-ebiten-v2 — go get hajimehoshi-ebiten-v2 · libregistry