Quote from: Chen Zhen on August 08, 2024, 01:34:11 PMUpcoming release:nice to read that!
It still needs work & I don't have a planned release date for it just yet.
Quote from: Chen Zhen on June 14, 2024, 07:08:51 PMI will also be posting instructions on how to get the Arcade to recognize game console types automatically. In some cases this means manually renaming the game's zip file.
// Called when user is ready to submit a score.
submitScore: function(score = null)
{
let internalName = 'MyInternalGameName_Origon', newpath = '', pathArray = window.location.pathname.split('/');
if (!["arcade", "games"].includes(pathArray[1]))
newpath = '/' + pathArray[1];
if (score != null) {
scorepost(window.location.protocol + '//' + window.location.hostname + newpath + '/index.php?act=Arcade&do=newscore', {
gname : internalName,
gscore: score
});
}
}