Skip to main content

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

HTML5 game works in VSCode but fails on itch.io - Need technical help

A topic by Roboo created Apr 15, 2025 Views: 95
Viewing posts 1 to 1
(3 edits)

Hello itch.io community, I'm facing an issue with my HTML5 game. It works perfectly when I run it locally in VSCode, but after uploading it to itch.io, it doesn't load correctly. 

Technical details: 

- It's a game developed in pure HTML5/JavaScript 

- File structure: Main HTML, separate JS files, CSS, and folders for assets (fonts, music, sounds) 

- I've tried uploading it as a ZIP and also tried reorganizing the files 

- I've verified that all paths are relative 

- The game shows no errors in VSCode but doesn't work on itch.io 

What I've tried: 

- Uploading as a complete ZIP file 

- Creating a single HTML with all content 

- Reviewing and correcting file paths 

- Verifying case sensitivity in filenames 

Has anyone faced a similar issue or have suggestions on what to specifically check for the itch.io platform? Any advice or solution would be greatly appreciated. Thank you in advance for your help.

Tree AntiAII Game:

AntiAII Backup

├── fonts

│  ├── BABIND.woff

│  └── Roboto-SemiBold.ttf

├── music

│  ├── DystopiaIsNow.mp3

│  └── Solaris.mp3

├── sounds

│  └── bleep.mp3

├── AntiAII.json

├── AntiAIIen.json

├── game-en.html

├── game-es.html

├── game.js

├── Index.html

├── main-page.js

├── main-style.css

├── main.js

└── Style.css

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