Documentation ¶
Index ¶
- Constants
- Variables
- func FileAt(path string) (fs.File, error)
- func InitResources()
- func LoadFont(path string, size float64) (font.Face, error)
- func NewAudioStream(audioBytes []byte, path string) (io.ReadSeeker, int64, error)
- func NewAudioStreamFromFile(path string) (io.ReadSeeker, int64, error)
- func NewFontFromFile(path string) (*sfnt.Font, string, error)
- func NewImageFromFile(path string) (*ebiten.Image, image.Image, error)
- func NewScaledImageFromFile(path string, scale float64) (*ebiten.Image, image.Image, error)
- func NewShaderFromFile(path string) (*ebiten.Shader, error)
- func ReadDir(path string) ([]fs.DirEntry, error)
- func ReadFile(path string) ([]byte, error)
- type CrosshairsSheetConfig
Constants ¶
View Source
const SampleRate = 44100
Variables ¶
View Source
var ( UserConfigFile string UserKeymapFile string CrosshairsSheet *CrosshairsSheetConfig )
Functions ¶
func InitResources ¶ added in v0.0.1
func InitResources()
func NewAudioStream ¶
func NewAudioStreamFromFile ¶
func NewAudioStreamFromFile(path string) (io.ReadSeeker, int64, error)
func NewScaledImageFromFile ¶
func NewShaderFromFile ¶
Types ¶
type CrosshairsSheetConfig ¶ added in v0.0.1
Click to show internal directories.
Click to hide internal directories.