Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I know that the HTML5 exports from C3 need to be served on a web server to run and I've been hosting them on a local server with no issue. However, I've run into a scenario where I need the HTML5 export to run offline, without being served from a server. My HTML5 activity needs to be imported into a third-party application - to be viewed offline. I run into the JS MIME type error and I understand why I'm getting the error. Is there a way around it? Can my HTML5 export be run offline for the purpose stated above?
Develop games in your browser. Powerful, performant & highly capable.
This error is exactly why you need a web server.
If you want to run a game on a local desktop system offline, then the best alternative is one of the desktop exports (e.g. Windows WebView2).
I understand that it needs a web server to run. What I'm wanting to do is to import the HTML5 export into another tool and use it on that platform. It's imported as a HTML5 activity into the other tool. It won't except the desktop export options. If it won't work then it's fine, I'm just wanting to know if it's possible or not - and it looks as though it isn't a viable option at the moment.
Hello!
In C2 I see this link:
stackoverflow.com/questions/37094641/solution-run-game-local-file-construct-2
This looks like it's only applicable to C2, I was unable to apply in C3.