Skip to main content

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

HTML - game not showing up

A topic by arenol created 60 days ago Views: 164 Replies: 5
Viewing posts 1 to 5

I'm a totally newbe titch.io

I have just uploaded a game that I developed using react and typescript.

It works on my computer using npm, but I need to test it on a mobile or pad.

I have uploaded a zip-file as described.  But no game visible at https://arenol.itch.io/calmdow

I don't understand what I am doing wrong.

Your profile doesn't show any games. I think the problem is that you still have the page in private mode. I recommend reading this part of the Itch documentation on creating pages:

https://itch.io/docs/creators/getting-started#publishing

I should be able to see it myself, shouldn't I?  

After all, I would like to ckeck if it works before I make it public. 

Anyway, I tried to make it public without any success.

I should be able to see it myself, shouldn't I?  

If it's in draft, I think you can only view it from the dashboard, not the link.

Anyway, I tried to make it public without any success.

By the way, now that you have it public, the page is visible, and it also appears on your profile.

Your game page is trying to access files at the root of the domain, e.g. "/assets/index-B3pFYL4m.js". You can see error messages if you open the browser console while starting your game. You need to access files relative to your index page, without the first slash, e.g. "assets/index-B3pFYL4m.js".

Fixed it.  It's "npm run dist" that didn't make the relative paths correctly.

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