Actor tween cleanup

Actor scipting with Command()
modularizing menu widgets into "ModeSelector"s
move animations into metrics
This commit is contained in:
Chris Danford
2003-03-02 01:43:33 +00:00
parent 0b9448cf66
commit a696414cac
62 changed files with 1768 additions and 1272 deletions
+4 -4
View File
@@ -147,7 +147,7 @@ ScreenSelectGroup::ScreenSelectGroup()
m_textNumber.LoadFromFont( THEME->GetPathTo("Fonts","select group num songs") );
m_textNumber.SetXY( NUMBER_X, NUMBER_Y );
m_textNumber.SetHorizAlign( Actor::align_right );
m_textNumber.TurnShadowOff();
m_textNumber.EnableShadow( false );
this->AddChild( &m_textNumber );
m_sprContents.Load( THEME->GetPathTo("Graphics","select group contents header") );
@@ -317,7 +317,7 @@ void ScreenSelectGroup::TweenOffScreen()
}
m_sprContents.BeginTweening( 0.7f );
m_sprContents.BeginTweening( 0.5f, TWEEN_BIAS_END );
m_sprContents.BeginTweening( 0.5f, TWEEN_DECELERATE );
m_sprContents.SetTweenY( CONTENTS_Y+400 );
m_MusicList.TweenOffScreen();
@@ -341,8 +341,8 @@ void ScreenSelectGroup::TweenOnScreen()
}
m_sprContents.SetY( CONTENTS_Y+400 );
m_sprContents.BeginTweening( 0.5f, TWEEN_BIAS_END ); // sleep
m_sprContents.BeginTweening( 0.5f, TWEEN_BIAS_END );
m_sprContents.BeginTweening( 0.5f, TWEEN_DECELERATE ); // sleep
m_sprContents.BeginTweening( 0.5f, TWEEN_DECELERATE );
m_sprContents.SetTweenY( CONTENTS_Y );
m_MusicList.TweenOnScreen();