Well, there is a variable that holds how many frames have passed. If you wanted to know seconds for instance (assuming a 30fps game), do this.
- Code: Select all
textNumber=frame/30;
If that isn't what you want, you'd have to create a variable, and in the view's draw actor do this (of course this is the same as using frame, so you'd have to change it to increment however often you wanted it to).
- Code: Select all
game_timer++;