Count down timer Pt. 2!

Talk about making games.

Count down timer Pt. 2!

Postby CdaMarinersFan » Thu Sep 22, 2005 4:56 am

Hi, can anyone help me with changing the text color on my infamous count down timer once it reaches 1:00? In fact, I would like to change the timer color from a pacific blue to an electric green (kinda like the Seahawks colors).
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score

Postby makslane » Thu Sep 22, 2005 12:23 pm

Change the r, g, b of the actor:

if(totalSeconds <= 60)
{
//Red
text_minute.r = 255;
text_minute.g = 1;
text_minute.b = 1;
}
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Fuzzy » Fri Sep 23, 2005 2:21 am

I didnt realize that could be done... cool. I can do some cool stuff with that!
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby CdaMarinersFan » Fri Sep 23, 2005 4:11 am

Hey, makslane, I was kinda thinking that I had to use the r g b variables... I guess I just needed some reassurance for the job... Thanks.

Right now, I am trying to make a futuristic song for my main menu. Kinda needs to be techno... Fruity Loops gets the job done... even on demo version! Boy, am I cheap... I get the $15 GE... I make my own animations... I make my own animations on PAINT!...and I make my music files on the demo version of Fruity Loops 5! But who can blame me? I'm still in high school... I don't have a job... I'm in Honors Chemistry and Algebra 2 and have a lot of homework. Oh well. Once I finish IST, I'll try and get a job at Best Buy.
Image
User avatar
CdaMarinersFan
 
Posts: 109
Joined: Wed May 11, 2005 11:20 pm
Score: 0 Give a positive score

Postby BeyondtheTech » Fri Sep 23, 2005 2:26 pm

ThreeFingerPete wrote:I didnt realize that could be done... cool. I can do some cool stuff with that!


Wow, I second that! Changing colors of a Text Actor really gives it an added flavor! Awesome, thanks!
User avatar
BeyondtheTech
 
Posts: 270
Joined: Wed Mar 30, 2005 6:34 am
Location: Edison, NJ
Score: 4 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest