Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

closing twine game running on itch

A topic by Nirvan created Oct 11, 2023 Views: 119 Replies: 1
Viewing posts 1 to 2

hey folks,

we're working on a twine (sugarcube) game that automatically closes the window when you get to the end, but this function doesn't work when played via the itch desktop app. is something like this possible when running twine games via itch?

thanks!

(+1)

It should not be possible to close the current window from within the page. There are quite a lot of security concerns about things like that. It was disabled like 6 years ago. (I am speaking about html and javascript, not about itch)

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.