Jump to content

Restarting the game.


lxFirebal69xl
 Share

Recommended Posts

Hello, I've been looking at the API and experimenting a bit, but I haven't really figured out a good way to restart the app.

 

It's nothing overly complicated, just have a trigger that makes the app return to it's original state (menu screen in LEX to be specific).

 

Anyone have a good way of doing this? I don't mind having the game close and open instantly that works too.

Link to comment
Share on other sites

Make sure app is defined in Main.lua.

 

app:Disconnect()

 

All honesty, I really should set you up with the newer system as the git has been deleted cause I broke it, and the entire design was bad.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

Make sure app is defined in Main.lua.

 

app:Disconnect()

 

All honesty, I really should set you up with the newer system as the git has been deleted cause I broke it, and the entire design was bad.

 

That does the trick, it sticks the loading screen in the background which is kind of weird, but nothing too bad for what I need right now.

Thanks.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...