Game.json and other export files missins?

Hi, I was checking the forum to try to see about this.

So, I exported my project for HTML (ready to upload, yay!) however, I think these files:

index.html
game.json
data.js
code.js
assets/

I have an index, but not game.json, so am I doing something wrong?

1 Like

There should not be a JSON file.
JSON contains variables, events, extensions, links to resources, etc. and it is located on your computer. When a game is exported to HTML 5, the entire JSON is divided into many JavaScript files that can be easily read by the browser. HTML 5, CSS, and JS serve as the foundation for all websites! The required file is index.html
the rest is optional, but they enhance the functionality.

if you ignore that most web requests on the internet use json, yes

HTML 5 is a markup language, not a programming language. CSS changes the styles of all objects. JavaScript adds functions to the game (website).
For example, I will show you a small code in HTML 5:
button

<button’>button</‘button>
<input’>
(Without the ’ sign )

you literally know im a web developer why are you telling me this

Websites send JSON. But there are no JSON files inside the website.

I’m not explaining to you, but I’m explaining @PixelentGames

SO CALM DOWN, EVERYTHING IS OK WITH THE GAME (and EXPORT)

I got it working, the thing is that Itch.io doesn´t let me upload files bigger than 1000 files, even with butler, what a mess hahaha

It sounds like your export process might be slightly different from the one mentioned in the forum. Not all engines or versions generate a game.json file—some bundle everything into data.js or handle configuration internally through index.html.

I’d suggest double-checking your export settings and documentation for your specific tool or engine, as the file structure can vary. If your game runs correctly in the browser with the current files, then you’re likely not doing anything wrong.