Added some debugging analytics

This commit is contained in:
2023-07-31 21:14:40 +10:00
parent 34542f73bb
commit 490926f10a
4 changed files with 36 additions and 72 deletions

View File

@@ -37,6 +37,8 @@ fn onLoad(node: opaque) {
fn setTilemap(node: opaque, tilemap: [int]) {
assert tilemap, "provided tilemap is null (in setTilemap)";
print clock() + " - begin rendering map";
var child: opaque = node.getChildNode(0);
setRenderTarget(child);
@@ -70,4 +72,6 @@ fn setTilemap(node: opaque, tilemap: [int]) {
//reset the render target to the screen
setRenderTarget(null);
print clock() + " - end rendering map";
}