Added sorting layers to nodes

This commit is contained in:
2023-06-29 13:47:35 +10:00
parent 51a0c94ba2
commit 2d6ad5efcc
10 changed files with 39 additions and 44 deletions

View File

@@ -28,14 +28,11 @@
mapInputEventToKeyDown("character_attack", "space"); //event, keysym
//TODO: escape to kill the game
//this function must always be called, or the engine won't run
initWindow("Airport", 800, 600, false); //TODO: custom FPS setting
initWindow("Airport", 800, 600, false);
//kick off the logic of the scene graph
loadRootNode("scripts:/airplane.toy");
loadRootNode("airport:/airplane.toy");
}
//Globals go here