Logo

SM5 - How to check is game is over

Register Log In Back To Forums

Post #1 · Posted at 2016-01-19 08:51:59pm 8.2 years ago

Offline MadkaT
MadkaT Avatar Member
820 Posts
Not Set
Reg. 2009-11-24

Hello, I'm back with more questions. I want to show a game over sprite actor over the evaluation screen, instead of redirecting to the gameover screen. But I haven't found in the docs a way to do that. Is this possible?

Post #2 · Posted at 2016-01-19 10:05:18pm 8.2 years ago

Offline FlameyBoy
FlameyBoy Avatar Member
335 Posts
United States
Reg. 2011-03-09


Last updated: 2016-01-19 10:05pm
There's no one way for the game to be over. Presumably, if every joined player has 0 stages left or all of them failed and are playing on a harder difficulty than Light, or Beginner after the first stage, the game is over.

Post #3 · Posted at 2016-01-19 11:11:06pm 8.2 years ago

Offline Kyzentun
Kyzentun Avatar Member
3,209 Posts
United States
Reg. 2008-02-20

"I'm honestly pissed off."
This is the code _fallback uses to pick the next screen after profile save: https://github.com/stepmania/stepmania/blob/master/Themes/_fallback/Scripts/02%20Branches.lua#L127-L142
You probably want some logic similar to that.
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #4 · Posted at 2016-01-20 02:19:14am 8.2 years ago

Offline MadkaT
MadkaT Avatar Member
820 Posts
Not Set
Reg. 2009-11-24


Last updated: 2016-01-20 02:19am
Yes, this have worked for me:

STATSMAN:GetCurStageStats():AllFailed()

Thanks for the help.
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 3% · Database: 4% · Server Time: 2024-04-20 12:06:46
This page took 0.005 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language