reepblue Posted May 30, 2016 Posted May 30, 2016 Close the window, or have a global bool set to true on start up, then have a script make it false. in Main.lua in the while loop: if running == false then return end Example: -- Quit the game! running = false Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
cassius Posted May 30, 2016 Posted May 30, 2016 in my game if he main character is killed the game ends. I use TIME delay of 5000 then "Exit" Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
dennis Posted June 3, 2016 Posted June 3, 2016 You can try to return a false at the end of your loop. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.