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

@@ -594,7 +594,7 @@ static int nativeSetCurrentNodeFrame(Toy_Interpreter* interpreter, Toy_LiteralAr
//actually set
Box_EngineNode* node = (Box_EngineNode*)TOY_AS_OPAQUE(nodeLiteral);
Box_setFramesEngineNode(node, TOY_AS_INTEGER(currentFrameLiteral));
Box_setCurrentFrameEngineNode(node, TOY_AS_INTEGER(currentFrameLiteral));
//cleanup
Toy_freeLiteral(nodeLiteral);