change lyrics text color
This commit is contained in:
@@ -1877,8 +1877,8 @@ BannerWidth=564
|
|||||||
BannerHeight=184
|
BannerHeight=184
|
||||||
|
|
||||||
[LyricDisplay]
|
[LyricDisplay]
|
||||||
InCommand=diffusealpha,0;zoomy,0;spring,0.20;zoomy,1;diffusealpha,1
|
InCommand=shadowlength,0;zoomy,0;spring,0.20;zoomy,1;
|
||||||
OutCommand=linear,0.20;zoomy,0;diffusealpha,1
|
OutCommand=linear,0.20;zoomy,0
|
||||||
|
|
||||||
[ScoreKeeperRave]
|
[ScoreKeeperRave]
|
||||||
AttackDurationSeconds=10
|
AttackDurationSeconds=10
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ LyricDisplay::LyricDisplay()
|
|||||||
{
|
{
|
||||||
m_textLyrics[i].LoadFromFont( THEME->GetPathToF("LyricDisplay text") );
|
m_textLyrics[i].LoadFromFont( THEME->GetPathToF("LyricDisplay text") );
|
||||||
m_textLyrics[i].SetDiffuse( RageColor(1,1,1,1) );
|
m_textLyrics[i].SetDiffuse( RageColor(1,1,1,1) );
|
||||||
|
m_textLyrics[i].SetDiffuse( RageColor(1,1,1,1) );
|
||||||
this->AddChild(&m_textLyrics[i]);
|
this->AddChild(&m_textLyrics[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -97,7 +98,11 @@ void LyricDisplay::Update( float fDeltaTime )
|
|||||||
|
|
||||||
RageColor color = GAMESTATE->m_pCurSong->m_LyricSegments[m_iCurLyricNumber].m_Color;
|
RageColor color = GAMESTATE->m_pCurSong->m_LyricSegments[m_iCurLyricNumber].m_Color;
|
||||||
if( i==0 )
|
if( i==0 )
|
||||||
color /= 2;
|
{
|
||||||
|
for( int c=0; c<4; c++ )
|
||||||
|
color[c] /= 2;
|
||||||
|
color.a = 0.5f;
|
||||||
|
}
|
||||||
m_textLyrics[i].SetDiffuse(color);
|
m_textLyrics[i].SetDiffuse(color);
|
||||||
|
|
||||||
if( i==1 )
|
if( i==1 )
|
||||||
|
|||||||
Reference in New Issue
Block a user