A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
every week,
unless exhausted!
About Games Music Pixelart Poetry Home Patreon Scores JNKPlat Petit Switch
Blog
Monkey Progress : Added Scores
  20th January, 2013
Deary me, this took some doing!!


Today's additions might not look like much, but bloody hell was it tricky to add!

Here's the complicated stuff.
For starters, Monkey gives you a whopping ONE variable to save.
One..
Now, keep in mind that I tend to give players a highscore table, and a bunch of gameplay difficulties, each with it's own table.
.. and one variable to save it all to!
Then you add on your Badges, up to 256 of the things because that's a nice neat figure, and then all your ingame settings.
Oh boy!
One variable, eh!?

.. and then, as I finally settled on a nice method, I had to scrap half of it and redo-from-start, because I realised that any updates, and extra gameplay additions, would totally mess up the previous scores.
ugh..
In all, it's taken about 2 hours to get that working, and then I had to rejig my Text function because it wasn't quite aligned correctly for some reason.

.. still, looks good, seems to work nicely, and the checksums seem to keep everything in check, without breaking when I add and remove other bits and pieces.

All is working nicely, and should be reasonably futureproof, until I come up with some sort of even stupid game that breaks all of the logic!
... and don't get me started on Level Editing. I haven't a smegging clue what I'm going to do about that!

Views 5, Upvotes 0
2013 Framework
Site credits : If you can see it, Jayenkai did it.
(c) Jayenkai 2017 and onwards. RSS feed
Blog - Monkey Progress : Added Scores - AGameAWeek