Back to godoc.org

Package spritesystem

v0.7.0
Latest Go to latest

The latest major version is .

Published: Jun 18, 2020 | License: MIT | Module: github.com/x-hgg-x/goecsengine

Index

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier