Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

RenJS

HTML5 Visual Novel creation made easy and free · By lunafromthemoon

Unable to run the Quickstart example

A topic by Arets Paeglis created Feb 26, 2020 Views: 263 Replies: 1
Viewing posts 1 to 2
(1 edit)

Running the web Quickstart example results in a Same Origin Policy error, namely “Phaser.Loader - script[preload]: error loading asset from URL RenJS/Preload.js”.

I understand the CORS issue on a technical level but I don’t know what to do in this particular case. Can the example be run on a server only? Please advise.

Developer

Hello, it depends mostly on your OS. I've had some reports of this happening, for example, with MacOs or some browsers on linux. Try another browser, or, if it's still an issue, you should be able to run it as a local server. The open source text editor Brackets allows you to run files in a server very easily, by pressing a button. Another option is tu run the python simpleHttpServer from a terminal.

Let me know if it works for you.

Cheers!