Running HTML "game" offline

0 favourites
  • 2 posts
From the Asset Store
five golem elements Sprites Sheet.Best for enemy or villain game characters.
  • Hi, I create a simple touchscreen interactive slideshow. I exported it as an HTML5 package, not minify, when I launch it locally (because it will run off a computer on site, not from the web), I get this error.. (in edge)

    index.html:1

    Access to script at 'file:///F:/Downloads/Skyrizi/scripts/offlineclient.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, edge, https, chrome-untrusted.

    all the .js have this error...

    any workaround.. (I wanted to use the windows launcher (.exe) .. but I get the white bar at the top that I can't remove.)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The HTML5 export is for uploading to websites - it doesn't allow you to play your game by double clicking it, it must be uploaded onto a website in order for play. There's ways round this, but what you're looking for is the "NW.JS" export option, as this creates an EXE file that opens nice and easily.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)