maxman
Well-known member
I have trouble with exiting certain game modes which happens sometimes because I have a level branch for ending the game. I use the branch called "Ended" in levels.txt for ending the game with the ending level. Therefore, I want to end the 1-player mode with a Game Over text from a Continue screen or exit the game. I know that using the dummy level, seen in @Bloodbane's Map demo, is useful for not allowing to skip to end the game itself. I really like that. But I do not know how to exit the game after losing or quitting. When I use the "Ended" branch at the last part of the levels to end, I can exit the game after losing or quitting but starting the game mode with that branch reverts back to the title screen sometimes. When I put the dummy level at the last part of the levels in a game mode, you're not reverting back to the title screen at all, but the problem is when you lose with a Game Over text and it ends the level, it moves to the very end of the level which is the dummy level. I do not know how to end the game mode with that.
emptyspace.txt:
Here's my levels.txt:
I'm using v3 with its compiled date of December 12, 2016. I tried using gotomain() something, I forget the name, but sadly, it doesn't allow me to exit. Should I use the latest version of v3 which is 6391? I saw that it has an option for exiting/quitting the game, but I'm not sure.
emptyspace.txt:
Code:
bglayer data/bgs/garden.png
panel data/bgs/garden.png
order a
direction both
settime 0
nopause 1
nofadeout 1
nojoin 1
at 0
spawn empty
coords 160 230
at 0
spawn black
coords 1 240
at 0
Here's my levels.txt:
Code:
set Arcade_Mode # 0
lives 1
#scoreformat 1
credits 10
#noshare 1
cansave 0
continuescore 1
disablehof 1
disablegameover 1
#single 1
skipselect player1 player2
z 173 230 173
file data/levels/charatest.txt # level 1
branch Arcade_Select
z 173 230 173
file data/levels/charatest.txt # level 2
file data/levels/return.txt # level 3
branch Stage_Eagle
z 200 200 200
file data/levels/eagle.txt # level 4
branch Stage_Ryu
z 227 227 227
file data/levels/ryu_stage.txt # level 5
branch Stage_Ken
z 227 227 227
file data/levels/ken.txt # level 6
branch Ended
z 230 230 230
file data/levels/emptyspace.txt # level 7
end
I'm using v3 with its compiled date of December 12, 2016. I tried using gotomain() something, I forget the name, but sadly, it doesn't allow me to exit. Should I use the latest version of v3 which is 6391? I saw that it has an option for exiting/quitting the game, but I'm not sure.