package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 22, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Game implements ebiten.Game interface
New creates a new game instance
Draw renders the game screen
func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int)
Layout returns the screen dimensions
Scale returns the scale factor
ScreenHeight returns the screen height
ScreenWidth returns the screen width
Update is called every tick (1/60 second)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.