package
Version:
v0.0.0-...-1f00af5
Opens a new window with list of versions in this module.
Published: May 27, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package sprites manages miscellaneous in-game sprites.
The sprites are relatively few for UI purposes. Their textures are
loaded ONE time and cached in this package for performance.
FlushCache clears the sprites cache.
LoadImage loads a sprite as a ui.Image object. It checks Doodle's embedded
bindata, then the filesystem before erroring out.
NOTE: only .png images supported as of now. TODO
Source Files
¶
Click to show internal directories.
Click to hide internal directories.