Tilemap is working, in theory

This commit is contained in:
2023-03-04 22:59:12 +11:00
parent 2e820e9221
commit 7e275f0607
9 changed files with 81 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ fn faceUp(node: opaque) {
}
fn faceLeft(node: opaque) {
node.setNodeRect(32 * 8, 0, SPRITE_WIDTH, SPRITE_HEIGHT);
node.setNodeRect(32 * 12, 0, SPRITE_WIDTH, SPRITE_HEIGHT);
node.setNodeFrames(4);
}