My entry for the MMAJam Halloween themed jam - eMonstery.
Did you know that Halloween was Valentine's day for monsters? As the first ever human employee of eMonstery, the largest monster dating service, its up to you to try and make sure that no monsters go lonely on this special day!
More info/screenshots on itch.io: https://grumpydev.itch.io/emonstery
I put this together for a game I'm working on, but I thought it might be useful to folks as a standalone cart. The code is clearly segregated between the demo and the actual high score code, so should be easy to lift and shift, or feel free to adapt as you like.
To try the demo: left and right increase/decrease the score, up checks the score against the high score table and switches to score entry if your score is high enough.
- Large score support (from the discussion here: https://www.lexaloffle.com/bbs/?tid=3577 )
- "Fancy" High score table display
- Inline entering of high score name (3 characters to fit in with the 80s/90s game vibe, but could be extended easily enough)
- Persistence of the save data (uses dget and dset, I know you can store more using alternative methods, but I believe you then lose that data if the cartridge is updated)
Haven't needed to worry too much about token counts yet - its not a huge amount of code as it is, but I might optimise it a bit more in the future, but I don't want to impact the readability.