Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

I didn't even think about Ctrl W, as that would close the window. I know there is ability to tie in JS to the game, so I think I can force the browser to ignore main commands like Ctrl W? -- But that is great to know, especially for one of my other games.

In engine, you can probably use

func _notification(what):      
    if what == NOTIFICATION_WM_CLOSE_REQUEST:       
        # Code to handle close request

or something like that.