High Score Screen

PewkoGames

Member
Okay,

So I feel that not just for my game, but for other NESmakers in this great community, I'm wondering if anyone has, or would undertake figuring out how to make a high score screen?

I'm aware the hardest part would be saving the high scores due to hardware limitations. I plan to build my game into an arcade cabinet using Retropie. So I wouldn't be using NES hardware per chance. However I doubt that makes a difference.

Could anyone help, not just for me, but for anyone wanting to add high score function to their game to give it a classic arcade feel?

Joe said a while ago it IS possible. I know over 100 NES Games had high score screens though they didn't save to my knowledge.
 

TurtleRescueNES

Active member
Challenge 1 is to save the high score. That's actually easy. We already have a myScore variable. We would just have to create a myHighScore variable. Either at games end (or even during the game) check to see if myScore is greater than myHighScore, if so, update myHighScore with myScore. Now that's the easy part of it. Things get harder from this point on. For example, making sure that a game over reset does not wipe out myHighScore. I'm not sure how to do that other than never actually use the reset command. Then to display that high score along with others on its own screen? Things just got complex. Definetely doable, but you'd have to define a lot of variables and write code to juggle them.
 

dale_coop

Moderator
Staff member
Following!
I would love to have that too. As my game for the competition will be an single screen arcade version of my “Underground Adventure” game.

Didn’t search yet about how to save a high score / any data with mapper30. But would love to learn how to do that <3
 

Kasumi

New member
This is the documentation for Mapper 30: https://wiki.nesdev.com/w/index.php/UNROM_512
These are flash writing subroutines: https://wiki.nesdev.com/w/images/f/fa/Flash.asm.txt
 
Top Bottom