Documentation ¶
Index ¶
- func DrawRect(target *ebiten.Image, rgba color.RGBA)
- func IsLoadingDone() bool
- func LoadPNG(files *embed.FS, path string) (*ebiten.Image, error)
- func LoadingDone()
- func MinInt(a, b int) int
- func MousePressed() bool
- func ScaledFontSize(size float64, zoomLevel float64) int
- func SkipKeyPressed() bool
- func StartLoading()
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLoadingDone ¶
func IsLoadingDone() bool
func LoadingDone ¶
func LoadingDone()
func MousePressed ¶
func MousePressed() bool
func ScaledFontSize ¶
func SkipKeyPressed ¶
func SkipKeyPressed() bool
func StartLoading ¶
func StartLoading()
Types ¶
type Context ¶
type Context struct { Filesys *embed.FS FontLib *etxt.FontLibrary FontCache *ecache.DefaultCache }
Shared context for scene initializations.
Click to show internal directories.
Click to hide internal directories.