From 33805294d3803bdfda84fb060291886a54b6299c Mon Sep 17 00:00:00 2001 From: sam-astro <77079540+sam-astro@users.noreply.github.com> Date: Fri, 27 May 2022 08:24:30 -0400 Subject: [PATCH] add `EXIT_WHEN_DONE = false` --- examples/Platformer/script.zs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/Platformer/script.zs b/examples/Platformer/script.zs index 9aa9b66..e7b1aa2 100644 --- a/examples/Platformer/script.zs +++ b/examples/Platformer/script.zs @@ -20,6 +20,7 @@ float g_jumpingTime = 0 func Main() { //SplitThread(ThreadedFunction()) + EXIT_WHEN_DONE = false // Immediately creates the window, then runs Start(), then the game loop. The game loop calls Update() every frame ZS.Graphics.Init("Platformer game", g_screenw, g_screenh, g_resolutionScale)