Probably a newbie question, but I'm new to playing HTML M&F games. I moved the files from the PHP file into the game folder and some games work. But, some games don't have the Start symbol. How do I get the game to work without the Start symbol. Thanks for any help.
Anyone know why I can't start the game?
Okay, quick reminder so everyone can be informed of the matter.
HTML games are made with Adobe Animate and rely on the createjs lib. The game goes into a "ready to play" status if all the files are preloaded.
Now the tricky part : the preloading phase uses XHR requests and these requests are disabled by default when you just double click the index.html of any MNF's game. You can disable a security flag in your browser's options. I don't recommend this because if you forget to enable back the flag, you will create security issues on your computer.
Solution
Running a local web server allows the XHR requests to be performed, meaning that you will be able to play the game correctly. You can use any web server solution (Python, Java, Powershell, PHP, NodeJs, etc.).
To simplify that I just use a PHP page that reads your game folder and list everything. No need to duplicate a starter file for every game, it's a global one :
You must be registered to see the links
Double click a .bat file to run it