thebrobotic's Forum Posts

  • 2 posts
  • Appreciate the info.

    I was able to stop the timer by adding a 'gameOver' variable to the Every Tick event. When I crash, I set the variable to 1. Every Tick no longer applies because it only runs if that variable is set to 0. After much testing, it works the way I hoped it would. I think

    For anyone else interested in timers: this post was a HUGE help! Especially the .capx file posted by Ramones. Of course the official document for CS2 timers was also a help. EDIT: my URL was removed due to low rep, just google "construct 2 milliseconds" for a thread called "Convert milliseconds to.."

    Thanks.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey all,

    I'm working on a gamejam entry and have a timer in my game. It counts seconds and milliseconds, timer starts when the layout begins and I want the timer to pause at the end of my level(aka when the player crashes the plane). I want this time to be kept at the end of the level, so the player can clearly see what his time was for the run before starting the next attempt. Can anyone suggest something that would make this happen? I'm having trouble adding this, and I feel its vital to my game. Ultimately I'd want a "high score" feature, but mostly for now, I just want my timer to stop when the player crashes and retain its value until the next restart.

    I've attached a screenshot that shows you how my timer works.

    Appreciate any help. Thanks.

  • 2 posts