RandomityGuy / MBHaxe

A Haxe port of Marble Blast Gold, Platinum and Ultra with 99% identical physics and cross platform multiplayer, runs on Windows, Mac, Web and Android!
MIT License
67 stars 8 forks source link

Top score not saving in Gem Hunt #19

Closed dflat2 closed 1 year ago

dflat2 commented 1 year ago

It looks like top scores aren't saved anymore in Gem Hunt since the update (I believe it was working in the previous version, can't remember). Are those lines supposed to be commented out in EndGameGui.hx.

// var myScore = {name: "Player", time: score};
// Settings.saveScore(mission.path, myScore, scoreType);
RandomityGuy commented 1 year ago

Yes, they have been moved to the touchFinish function in MarbleWorld.hx. However I forgot to port it to the gem hunt class. Will fix.

RandomityGuy commented 1 year ago

Fixed in https://github.com/RandomityGuy/MBHaxe/commit/d6278b344531ea62f2e3d36a10a7f1185d4bb164