ScreenDemonstration

From SMTheming Wiki

Jump to: navigation, search

ScreenDemonstration is used to show gameplay during the attract sequence. It is derived from ScreenJukebox.

Contents

Metrics

Name Value Type
SecondsToShow float
AllowStyleTypes StyleType

Sample Implementations

StepMania 4

slightly modified from the default StepMania 4 theme
[ScreenDemonstration]
Class="ScreenDemonstration"
Fallback="ScreenGameplay"
NextScreen="ScreenHighScores"
StartScreen=ScreenTitleBranch()
SecondsToShow=30
PlayMusic=false
 
# from ScreenGameplay
MinSecondsToStep=0
MinSecondsToMusic=0
 
# ScreenDemonstration-specific:
LightsMode="LightsMode_Demonstration"
DifficultiesToShow="easy,medium"
ShowCourseModifiersProbability=0
AllowAdvancedModifiers=false
AllowStyleTypes="TwoPlayersTwoSides"

Screen Messages

ScreenDemonstration handles the following messages:

  • SM_NotesEnded
  • SM_BeginFadingOut
  • SM_LoseFocus

StepMania 3.9 only

  • SM_GainFocus
  • SM_GoToNextScreen
Personal tools