Do timers work on text?

Non-platform specific questions.

Do timers work on text?

Postby Janet Merai » Sun Oct 22, 2006 4:27 am

I have been trying for the longest of time to get my 3 sets of text to appear at different times with the fading code I got from the admin here.

But to no avail, the text's appear at the same time fadingly, should I be doing code or is there something I am missing?

I created a timer actor and a draw actor of the script "transp -= .01;"

Any help?
Janet Merai
 
Posts: 51
Joined: Wed May 11, 2005 5:30 am
Score: 1 Give a positive score

Postby makslane » Sun Oct 22, 2006 1:21 pm

The timers works with text actors without problems.
Try this example:

1) Create an actor (text1)
2) Put some text on the text1 actor
3) In the 'Create Actor' event, create a timer t1 (Periodic, 30ms)
4) In the Timer event, put the code:
Code: Select all
transp += .01;


You will have a fade out!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Janet Merai » Sun Oct 22, 2006 8:47 pm

I tried what you said to do, and the text didn't even show X_X;

Is there something I am missing?
I re-did this around 10 times to make sure I wasn't missing a step and even created a test text :P

Any help here?
Janet Merai
 
Posts: 51
Joined: Wed May 11, 2005 5:30 am
Score: 1 Give a positive score

Postby makslane » Sun Oct 22, 2006 11:43 pm

Send me the game
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Janet Merai » Mon Oct 23, 2006 12:03 am

I sent an email to you, and my email is "janetmera[at]hotmail[dot]com" :)

I attached the entire project, and there is only one area right now.

I hope that helps you :D
Janet Merai
 
Posts: 51
Joined: Wed May 11, 2005 5:30 am
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest