Eventing Duels part III: High Score

Eventing duels is a friendly challenge in which you give everything and can win nothing. Yet the idea is to see who has the most efficient and original way of eventing a certain system.

Those challenges are meant to compare our own methods to those of fellow developers.

In this challenge we focus on high scores. This is something unknown for RPG's, since RPG's normally do not have a score at all, but RPG maker can also be used to make puzzles and other mini games that indeed use a score.

For this challenge, we won't make a mini game or a puzzle, but we do make a system to keep track of local high scores and show those to the player.

Spoiler: What are local high scores?
Lets say you have a mini game, in which you get an end score. Then when you solve the game, you'll see your final score. Those mini games can often be repeated. And the main reason to do so is to do it better, faster or smarter than the last time. Or faster than you brother, sister, father, mother, son or daughter, who've played the game on your computer or phone.*

Local High Scores are scores set on that single device, in that single copy of the game. Those scores can be in-game. They do not compare to high scores of other players all over the world.

Yes, an in-game high score means starting a new game, would erase all your set high scores and going to a previous save will also set back the old high scores, as they were when that save was made. Yet this is the kind of high score we're looking for.

(* The person you want to compete with in your mini game doesn't have to be a close family member. It could also be your friend, your neighbor, your friends neighbor, your neighbors friend, your doppelganger, your partner, your partners doppelganger, your doppelgangers partner, your neighbors partner, your friends doppelganger, your friends doppelgangers partners neighbor or your doppelgangers friends neighbors partner... Actually it can be anyone, as long as they play on the same copy of the game as you.) 😛

For this challenge, your event(s) must contain the following:
- A way to record the top 3 scores.
- A way to show the top 3 to the player.

And as an extra it may contain:
- An option for the player to add their initials to the high score.

Rules:
- You may only use event commands
- You may NOT use javascript or plugins at all
- You may use as many variables/switches as you need
- You may use as many events and common events as you need
- You must make this system yourself, no copy/pasting

How to join:
- Make a screenshot of your event(s)
- Post them in a reply
- If your events are very large, you may also copy the event commands as text

How to win:
- There is nothing to win and we won't vote for a winner.
- The real prize is the knowledge we gain from each others entrees and the feedback we get on our own entrees.

Spoiler: Entrees
Where are the sample scores coming from in this case? Just any random garbage from variables?
I wonder myself too, as JS is not allowed, I wonder how you get random
score from strangers?

score is easy to make with some variables and AI players ingame, not
real players, so I have no idea how to pull it off with JS 😛
I should have been more clear: the high scores are local. So the player can beat their own high score or that of other players playing in the same copy of the game. Like on a pinball machine.
the only way I could pull it down is by the use of "Olivia_MetaControls"
for persistend variable to save the score over all saves file on 1 pc.

but still no idea how to pull it off, but it is more clear for locals.
which I think, JS is still required, but I dont know how either, so I'm
curious how some people can pull it off, as it seems intresting though.
the only way I could pull it down is by the use of "Olivia_MetaControls"
for persistend variable to save the score over all saves file on 1 pc.

but still no idea how to pull it off, but it is more clear for locals.
which I think, JS is still required, but I dont know how either, so I'm
curious how some people can pull it off, as it seems intresting though.

I've add the following to the original post, to clear this up. (I did add the word "Local" to the first line, the spoiler is new) :

For this challenge, we won't make a mini game or a puzzle, but we do make a system to keep track of local high scores and show those to the player.

Spoiler: What are local high scores?
Lets say you have a mini game, in which you get an end score. Then when you solve the game, you'll see your final score. Those mini games can often be repeated. And the main reason to do so is to do it better, faster or smarter than the last time. Or faster than you brother, sister, father, mother, son or daughter, who've played the game on your computer or phone.*

Local High Scores are scores set on that single device, in that single copy of the game. Those scores can be in-game. They do not compare to high scores of other players all over the world.

Yes, an in-game high score means starting a new game, would erase all your set high scores and going to a previous save will also set back the old high scores, as they were when that save was made. Yet this is the kind of high score we're looking for.

(* The person you want to compete with in your mini game doesn't have to be a close family member. It could also be your friend, your neighbor, your friends neighbor, your neighbors friend, your doppelganger, your partner, your partners doppelganger, your doppelgangers partner, your neighbors partner, your friends doppelganger, your friends doppelgangers partners neighbor or your doppelgangers friends neighbors partner... Actually it can be anyone, as long as they play on the same copy of the game as you.) 😛
I've add the following to the original post, to clear this up. (I did add the word "Local" to the first line, the spoiler is new) :

For this challenge, we won't make a mini game or a puzzle, but we do make a system to keep track of local high scores and show those to the player.

Spoiler: What are local high scores?
Lets say you have a mini game, in which you get an end score. Then when you solve the game, you'll see your final score. Those mini games can often be repeated. And the main reason to do so is to do it better, faster or smarter than the last time. Or faster than you brother, sister, father, mother, son or daughter, who've played the game on your computer or phone.*

Local High Scores are scores set on that single device, in that single copy of the game. Those scores can be in-game. They do not compare to high scores of other players all over the world.

Yes, an in-game high score means starting a new game, would erase all your set high scores and going to a previous save will also set back the old high scores, as they were when that save was made. Yet this is the kind of high score we're looking for.

(* The person you want to compete with in your mini game doesn't have to be a close family member. It could also be your friend, your neighbor, your friends neighbor, your neighbors friend, your doppelganger, your partner, your partners doppelganger, your doppelgangers partner, your neighbors partner, your friends doppelganger, your friends doppelgangers partners neighbor or your doppelgangers friends neighbors partner... Actually it can be anyone, as long as they play on the same copy of the game as you.) 😛
I should clarify my question. I know the values we'll be using are local, but I was asking how you intended those values to be generated by the event. If it's just using variables to track the value, that's fine, I just wanted to be sure.
How the high scores are generated depends on the kind of game you make. If it is a maze, than the fastest time would be the high score, if it is a mini game where you collect as many candy as you can before you are killed by the candy killer, then the run with the most candy in the end is the high score.

No matter what kind of game you make, you'll probably keep the current high score in a variable, right? At the end of the run, you check what time they've set using a variable, or you check how much candy they got using a variable.

That variable you use in any kind of game, is your current score. (I'll refer to that variable as VarHS blow)

The challenge starts where your system checks if VarHS is an high score.

So the challenge doesn't ask how you got a score in VarHS, but how you would translate VarHS into a top 3, only using events. It could be real simple or big and complicated.

It can be done, I promise. I made a top 10 like this before myself, for my card game.

(If you can make a top 3, you can make a top 10. It's just a lot more work, so I thought a top 3 was good enough for the challenge.)

I'll show you how I do it in a bit, when I apply my own entree.
How the high scores are generated depends on the kind of game you make. If it is a maze, than the fastest time would be the high score, if it is a mini game where you collect as many candy as you can before you are killed by the candy killer, then the run with the most candy in the end is the high score.

No matter what kind of game you make, you'll probably keep the current high score in a variable, right? At the end of the run, you check what time they've set using a variable, or you check how much candy they got using a variable.

That variable you use in any kind of game, is your current score. (I'll refer to that variable as VarHS blow)

The challenge starts where your system checks if VarHS is an high score.

So the challenge doesn't ask how you got a score in VarHS, but how you would translate VarHS into a top 3, only using events. It could be real simple or big and complicated.

It can be done, I promise. I made a top 10 like this before myself, for my card game.

(If you can make a top 3, you can make a top 10. It's just a lot more work, so I thought a top 3 was good enough for the challenge.)

I'll show you how I do it in a bit, when I apply my own entree.
You're still not understanding me.

If we're not actually making a game with scores, how are we supposed to know how the scores are going to be recorded?

Like if the answer is just "Use variables to simulate the process where a score was recorded and then your challenge entry goes from there" that's fine, but I needed you to clarify that. 😛
Here is my event for my own entry:

I have 1 variable (#0011) named "Score" in which the score of the current run is being kept.
At the end of the run, I will run the following event:

Code:
◆If:SetScoreboard is OFF
  ◆Control Variables:#0001 Top1 Name  = 'Ramona     '
  ◆Control Variables:#0002 Top2 Name  = 'Buster     '
  ◆Control Variables:#0003 Top3 Name  = 'David      '
  ◆Control Variables:#0004 Top1 score = 10
  ◆Control Variables:#0005 Top2 score = 5
  ◆Control Variables:#0006 Top3 score = 3
  ◆Control Switches:#0001 SetScoreboard = ON
  ◆Control Variables:#0007..0009 = 1
  ◆
:End
◆If:Top1 Color = 14
  ◆Control Variables:#0007 Top1 Color = 6
  ◆
:End
◆If:Top2 Color = 14
  ◆Control Variables:#0008 Top2 Color = 6
  ◆
:End
◆If:Top3 Color = 14
  ◆Control Variables:#0009 Top3 Color = 6
  ◆
:End
◆If:Score > Top3 score
  ◆Control Variables:#0010 Position = 3
  ◆Control Variables:#0003 Top3 Name  = 'Player     '
  ◆Control Variables:#0006 Top3 score = Score
  ◆Control Variables:#0009 Top3 Color = 14
  ◆
:End
◆If:Score > Top2 score
  ◆Control Variables:#0010 Position = 2
  ◆Control Variables:#0003 Top3 Name  = Top2 Name
  ◆Control Variables:#0006 Top3 score = Top2 score
  ◆Control Variables:#0009 Top3 Color = Top2 Color
  ◆Control Variables:#0002 Top2 Name  = 'Player     '
  ◆Control Variables:#0005 Top2 score = Score
  ◆Control Variables:#0008 Top2 Color = 14
  ◆
:End
◆If:Score > Top1 score
  ◆Control Variables:#0010 Position = 1
  ◆Control Variables:#0002 Top2 Name  = Top1 Name
  ◆Control Variables:#0005 Top2 score = Top1 score
  ◆Control Variables:#0008 Top2 Color = Top1 Color
  ◆Control Variables:#0001 Top1 Name  = 'Player     '
  ◆Control Variables:#0004 Top1 score = Score
  ◆Control Variables:#0007 Top1 Color = 14
  ◆
:End
◆Text:None, Window, Bottom
:    :\>            \c[6]Pos. Name                                  : Games Won
:    :\>            \c[\v[7]]  1  \v[1]                           :    \v[4]
:    :\>            \c[\v[8]]  2  \v[2]                           :    \v[5]
:    :\>            \c[\v[9]]  3  \v[3]                           :    \v[6]


At first, when there is no top3 yet, it will make a fictional top 3 with easy to beat scores. I also put names of characters from my game variables, so the top 3 wouldn't be all empty when playing for the first time.

After that, is checks if the current set score is higher then the 3rd place. If so, it replaces the variables belonging to the top 3 position with the players score and name.

Then it checks if the score is even bigger than the 2nd place. If so, it will move all content from the 2nd place into the 3rd place and put the players score and name into the top 2 position.

Finally I do the same for position 1.

I also made a variable for the text color. The players current score will show up bright yellow, if it is in the top 3. A players old score will show up dark yellow. And a default score will show up blue.



I think this is still a simple set up. I've done this same thing with a top 10 in the past. I would love to see how you guys handle your event.
You're still not understanding me.

If we're not actually making a game with scores, how are we supposed to know how the scores are going to be recorded?

Like if the answer is just "Use variables to simulate the process where a score was recorded and then your challenge entry goes from there" that's fine, but I needed you to clarify that. 😛
Where the score is generated from, is not at all important for the challenge. It can be any single way you want. Gaining the score is not part of the high score system. You already have the current score, before you check if it is in the high score or not. 😛
Where the score is generated from, is not at all important for the challenge. It can be any single way you want. Gaining the score is not part of the high score system. You already have the current score, before you check if it is in the high score or not. 😛
That's fine, that's all I was asking in the first place. Thanks for confirming. 🙂
That's fine, that's all I was asking in the first place. Thanks for confirming. 🙂

Okay, cool. 😛 I really didn't understand the question. Glad it is all clear now. 😛

Glad too see you want to take part in the challenge.

Original thread: https://forums.rpgmakerweb.com/threads/eventing-duels-part-iii-high-score.153461/