Render sprites from sprite sheets (no animation yet)

This commit is contained in:
stevenhowes
2022-01-17 22:36:05 +00:00
parent fa13e4c97b
commit 2bf460b999
5 changed files with 80 additions and 5 deletions
+2
View File
@@ -58,6 +58,8 @@ func (an *animator) onDraw() error {
return drawTexture(
tex,
VectorInt32{-1, -1},
VectorInt32{0, 0},
an.container.Position,
an.container.Rotation,
an.container.Renderer)