That's correct. If you tried to open the game by simply opening
index.html
, you'll get this error (in MV at least, in MZ you'll get the error "Your browser does not allow to read local files.")
To play this locally on your PC, you'll need to setup a server. The simplest way I can think of involves installing
Node.js, then opening your project folder in a terminal window (Windows Terminal, Powershell, cmd, Terminal, etc.) and typing either:
npx http-server
npm http-server
The difference is that
npm
will install the
http-server
package permanently, while
npx
will do so temporarily (so every time you use
npx
, it will need to download the package, while
npm
only needs to download the package the first time).
Once the
http-server
package is installed, just open one of the links it shows on the browser (e.g.
http://127.0.0.1:8080
).