Hey folks,
The game I'm currently working on is, at the moment, just going to be hosted on itch and played through the Browser embed. However, I'm not sure if I may also want a regular Windows version as well.
The problem is this: I'm using a custom evented main menu/pause menu screen and I've included a button to quit the software, but if it's being played in a browser, that doesn't make much sense, and I just tested it and basically the button would just kind of make the game do... nothing.
So my question is, is there a line of script I could write in a conditional branch to check what platform the game is running on? That way I could disable the exit command when in browser mode.
Thanks for any advice you've got.
The game I'm currently working on is, at the moment, just going to be hosted on itch and played through the Browser embed. However, I'm not sure if I may also want a regular Windows version as well.
The problem is this: I'm using a custom evented main menu/pause menu screen and I've included a button to quit the software, but if it's being played in a browser, that doesn't make much sense, and I just tested it and basically the button would just kind of make the game do... nothing.
So my question is, is there a line of script I could write in a conditional branch to check what platform the game is running on? That way I could disable the exit command when in browser mode.
Thanks for any advice you've got.