spritesystem

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 8 Imported by: 0

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
y or Y : Canonical URL