Do You Ever Play MindWare Offline AND Without Internet Access?
I'm working on optimizing the 3D dream minigame. I've recreated it from scratch in Three.js, and it works great - you can turn around smoothly using mouse/keyboard/touch, hypno videos play nicely in all popular browsers, and the overall performance is much better. What's more, the minigame is fully backward compatible, so it's a plug-and-play replacement.
BUT! There's a major technical limitation: Browser security restrictions (CORS policy) block local file loading into WebGL contexts. Basically, if you download MindWare and open mindware.html (or index.html or whatever I call it) directly from your computer (file:// protocol), the browser refuses to load the animated content into the 3D space. This is a security feature that prevents malicious websites from accessing your local files - but it also breaks legitimate offline use.
There are three solutions:
You run a simple local web server (like python -m http.server)
⭐️ The game (index.html opened locally) obtains the videos from the internet (hosted on my server)
You play the web-hosted version
SO! If we go with the simplest solution (number 2), then the only people who would theoretically be affected by the CORS policy limitations would be those who play locally and without internet access. Such players could be served a fallback version with procedurally-generated animated effects (spirals, waves, tunnels, etc.) instead of the current hypno videos.
My question: Do you ever play MindWare in this fully offline scenario (local file + no internet)?
Comments (11)
Personally prefer to play offline, but find no difference in playing online or off
I play offline version because I like to se what is new in game file.
Ile play however best it is just online for me though
Can you post the Fap Night At Frenni's Para Android game and upload some images please?
Thank you for your feedback, everyone. I've decided to go with the Three.js version. If internet access, you will see hypno videos like you're used to (the same will be possible with a local server - no internet access will be required in that case). Without internet access and without a local server, you will be targeted by hypno words and phrases combined with spirals (inspired by bambi hypno triggers). My top priority is for the minigame to not be buggy all the time, and I can't do that with CSS transforms - at least not without wasting a ton of time one it. With the 3D engine, everything just works.
If I play, It's almost always -with- internet access. If there's no WiFi, I use my phone. If that doesn't work, I'm probably moving to find a signal 😅 I panic if I lose all internet access, and will work to remedy that. It's sad how dependent I am
Personally my preference would be to have the media locally. I already run the game as a local server. I think it's likely your audience are tech savvy enough to do this with a little guidance if they're not already.
I prefer downloaded version as well. Is there no way to add an exception to the policy for your WebGL content?
i’ve been trying to figure it out for the last day but it seems to be fundamentally impossible.
Joiplay Only problem is your game's save slots can't save. So only way to save is to use the save/load On disk.
I play offline mostly to be independent of an external web server. A lot of these games eventually get abandoned and their server expires, making the game unplayable.
