Ranking question.

DD Tokki

Well-known member
Ranking.PNG

The intro scene cycles when the title appears.
From there, I want to link the video file and have the ranking come out as the next scene.

0001.png 0003.png

For example, in the classic arcade game Bomb Jack, if you wait without starting the game, the ranking and demo screen will appear, leading to the title. I also want to make it look like an arcade game. Currently, only ranking is not implemented.
 
Last edited:
First you need a custom Hall of Fame like SOR2X and then you can activate the Hall of Fame elsewhere. KunioLA also does this.
Rather than wanting to use the modified Hall of Fame like in Streets of Rage and Kunio LA, I want to activate the Hall of Fame when the game doesn't start, like in arcade games, but I think it will take some time.
 
Yes, in fact kunio has already done it, you can activate the Hall of Fame anywhere
Code:
if(openborvariant("in_halloffamescreen") || openborvariant("current_scene") == "data/scenes/hof.txt"){
I play a certain scene text in the game to activate it
 
Yes, in fact kunio has already done it, you can activate the Hall of Fame anywhere
Code:
if(openborvariant("in_halloffamescreen") || openborvariant("current_scene") == "data/scenes/hof.txt"){
I play a certain scene text in the game to activate it
It's hard to make the Hall of Fame fit my game.
I want to exclude time and icons, but I don't know how to use scripts, so I'll do it slowly later.
 
bor - 0011.png

I just completed the Hall of Fame, and although the script seems to record the score, it doesn't seem to record the score even if I increase more than 10,000 points.
 
  • Like
Reactions: NED
I found out the cause. In my game, a save file is not created, so the score is not updated. I think I ran into a problem while fiddling with the script. First, let’s upload the script file that was applied. Can you help me what is wrong?
 

Attachments

I found out the cause. In my game, a save file is not created, so the score is not updated. I think I ran into a problem while fiddling with the script. First, let’s upload the script file that was applied. Can you help me what is wrong?
This script requires text to save the ranking record. You can save it through the following code. For example: the last 13txt of each stage.
levels.txt
Code:
branch  Stage_1
scene   data/scenes/00.txt
scene   data/scenes/10.txt
branch    1-1
z     147 207 197
file    Data/Levels/1-1.txt
scene   data/scenes/00.txt
scene   data/scenes/11.txt
branch    1-2
z     147 207 197
file    Data/Levels/1-2.txt
scene   data/scenes/00.txt
scene   data/scenes/13.txt
next
In addition, some code needs to be re-scored, otherwise it will not be saved. I changed your "updated.c"
 

Attachments

You can also save your high score at the end of the game
C-like:
if(openborvariant("in_gameoverscreen")){
        changeScore(0);
        changeScore(1);
    }
 
This script requires text to save the ranking record. You can save it through the following code. For example: the last 13txt of each stage.
levels.txt
Code:
branch  Stage_1
scene   data/scenes/00.txt
scene   data/scenes/10.txt
branch    1-1
z     147 207 197
file    Data/Levels/1-1.txt
scene   data/scenes/00.txt
scene   data/scenes/11.txt
branch    1-2
z     147 207 197
file    Data/Levels/1-2.txt
scene   data/scenes/00.txt
scene   data/scenes/13.txt
next
In addition, some code needs to be re-scored, otherwise it will not be saved. I changed your "updated.c"
KoR - 0000.png

The score has finally been updated. thank you
Lastly, can this ranking be displayed in the intro?
 
View attachment 5365

The score has finally been updated. thank you
Lastly, can this ranking be displayed in the intro?

Code:
set    Arcade
lives 3
credits 3
custfade 50
cansave      2
nosame  0
noshare 1
disablehof 1
ifcomplete    1


scene   data/scenes/00.txt
scene   data/scenes/10.txt
You can activate the Hall of Fame by adding "scene" to levels.txt, if you want to activate it elsewhere you need to edit the script.
 
Code:
set    Arcade
lives 3
credits 3
custfade 50
cansave      2
nosame  0
noshare 1
disablehof 1
ifcomplete    1


scene   data/scenes/00.txt
scene   data/scenes/10.txt
You can activate the Hall of Fame by adding "scene" to levels.txt, if you want to activate it elsewhere you need to edit the script.
I want the Hall of Fame to appear in the intro sequentially with the title.
 
Back
Top Bottom