5
$\begingroup$

Is it possible to create a timer in the Blender game engine without using DeBug or python? I can create point systems using dynamic text, but just can't figure out how to create a timer.

$\endgroup$
  • 2
    $\begingroup$ In the title you mention logic bricks, is this for the game engine? $\endgroup$ – Ray Mairlot Nov 18 '14 at 16:54
4
$\begingroup$

You can add a game property to an object, of type "Timer". For my BGE project, I created an Empty named "Clock", just for this purpose. It has one game property "GAME_TIME", as shown on this screenshot:

Timer

You can use this property to keep track of time, as it'll increase as long as the game is running. You can also set it to 0.0 to restart the timer.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.