In order to deploy the game in your website you have to do some minimal changes to configuration file before uplaoding files.
Let's suppose you wish to deploy the game on www.mydomain.com/escapethefuzz/
Open data/prefs.json with your favorite text editor.
Change parameters with the URL of your website at line 294:
"MORE_GAMES_URL":{ "value":"http://www.mydomain.com/", "type":"url", "properties":{ "label":"More Games Link", "description":"Url for 'More Games' button", "group":"menu" } }
If you wish to enable the saving of the score on your server, you need a Linux server supporting PHP, that is the most common kind of hosting servers you find on the Internet.
If you server meets the requests you have to change some more lines on configuration file.
Change the URL at line 304:
"SCORE_URL":{ "value":"http://www.mydomain.com/escapethefuzz/saveScore.php", "type":"url", "properties":{ "label":"Leaderboard Server", "description":"URL to the server side script that will receive the score data.", "group":"sys" } }
"HISCORE_BUTTON":{ "value":"true", "type":"bool", "properties":{ "label":"Leaderboard Button", "description":"This turns on/off the Leaderboard Button from showing in home screen.", "group":"menu" } }
"SUBMIT_SCORE_BUTTON":{ "value":"true", "type":"bool", "properties":{ "label":"Submit Score Button", "description":"Enable or disable the Submit Score Button from showing in Game Over screen.", "group":"preferences" } }
$hiscore=@file("scores/".$year.$month.$mday);you can modify this way:
$hiscore=@file("scores/".$year.$month);and you get the score resetting every month.
$hiscore=@file("scores/".$year);you will get the score reset every year