Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Timers

Star

Sponsor

Gosh. It's so embarrassing that I don't know anything about these.

Anywayz. Can someone tell me how to make a timer descend like a normal clock in an event. Every time I use one and set it to 1 min. It just stays at 59 seconds at the start of the event
 
StarGGundam2":26io7lq0 said:
Gosh. It's so embarrassing that I don't know anything about these.

Anywayz. Can someone tell me how to make a timer descend like a normal clock in an event. Every time I use one and set it to 1 min. It just stays at 59 seconds at the start of the event

Can you move at all when the timer is stuck? If you can't, you're stuck in a loop. If you can, the event is resetting the timer every time it goes through. Check how you set it up. You should have the piece that sets the timer in a conditional branch, so that it won't reset the timer every time the event processes.
 

Star

Sponsor

Glitchfinder":m80l2h97 said:
StarGGundam2":m80l2h97 said:
Gosh. It's so embarrassing that I don't know anything about these.

Anywayz. Can someone tell me how to make a timer descend like a normal clock in an event. Every time I use one and set it to 1 min. It just stays at 59 seconds at the start of the event

Can you move at all when the timer is stuck? If you can't, you're stuck in a loop. If you can, the event is resetting the timer every time it goes through. Check how you set it up. You should have the piece that sets the timer in a conditional branch, so that it won't reset the timer every time the event processes.
Ohhh. So.. putting it as a parallel process is a no no. That's what's making it reset itself. Thanks for your help
 
StarGGundam2":36lda1h4 said:
Glitchfinder":36lda1h4 said:
StarGGundam2":36lda1h4 said:
Gosh. It's so embarrassing that I don't know anything about these.

Anywayz. Can someone tell me how to make a timer descend like a normal clock in an event. Every time I use one and set it to 1 min. It just stays at 59 seconds at the start of the event

Can you move at all when the timer is stuck? If you can't, you're stuck in a loop. If you can, the event is resetting the timer every time it goes through. Check how you set it up. You should have the piece that sets the timer in a conditional branch, so that it won't reset the timer every time the event processes.
Ohhh. So.. putting it as a parallel process is a no no. That's what's making it reset itself. Thanks for your help

Actually, you need it to be parallel process. The problem is that it resets the timer every loop, so you need to have something like
if switch0001 is OFF
timer = 60
switch001 = on
end

instead of just setting the timer.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top