spritesystem

package
Version: v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderSpriteSystem

func RenderSpriteSystem(world w.World, screen *ebiten.Image)

RenderSpriteSystem draws images. Images are drawn in ascending order of depth. Images with higher depth are thus drawn above images with lower depth.

func TransformSystem

func TransformSystem(world w.World)

TransformSystem updates geometry matrix. Geometry matrix is first recentered, then scaled and rotated, and finally translated.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto