Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Can itch.io have a game listing that isn't 'hosted' on itch.io?

A topic by Nulisar created Apr 12, 2023 Views: 279 Replies: 5
Viewing posts 1 to 6
(1 edit)

I'd love to put my new web game mystikaze.io on itch.io, but it is hosted on my web server so there wouldn't be anything for itch.io to host.  I'm a bit confused as to the nature of the content on itch.io - can I put my web game on here somehow or does it have to be "downloadable"?

Projects on itch.io can either be downloaded or run in a browser. I suppose you could create a page which links to where your game is hosted, but that may be against the itch.io tos.

Moderator moved this topic to Questions & Support
Moderator(+1)

Yes, you can put a web game on itch.io, there's explicit support for HTML5 games. To host the game on your website and only embed it here, you can upload an index.html with an iframe in it, for example.

Instead of iframing I used a meta redirect in index.html for my game

I tried this, and the trouble is that my game totally relies on setting a cookie to retain your user ID so inside an iframe it won't work because the cookie counts as a third party cookie and it won't get set.  So how can I get it to break out of the iframe?  It really needs to run in its own tab.

My game which you can find through my profile uses cookies, SameSite/Secure options on your cookies should let you achieve what you're after.

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