Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Browser game with multiple web pages trouble on itch.io

A topic by mattosber created 34 days ago Views: 78
Viewing posts 1 to 1

I've developed my game SwingState to operate as an HTML between 3 web pages.  Within itch.io I've created an index.html that redirects to the first page within the game application.  I'm using some logic with cookies to maintain state between the pages. Unfortunately, within itch.io when the game is run and the browser is refreshed, it always reverts back to the first page.  I went to some length to create the game so that browser refresh would maintain state within the game. I'm wondering if I have to recode it to be on one single page.  Does anyone have experience with a browser game that maintains state like this?