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.

RGSS Timer set

I was wondering, I know I could set this with a simple event click, but I was wondering is it possible to set/start the timer with RGSS coding instead? It must be possible cause if I'm not mistaken doesn't the event commands merely use RGSS coding to call things in a simple user interface without needing to code it all out yourself?
 
You would just record the Graphics.frame_count variable and use the Graphics.frame_rate to calculate actual time passed, or use the Time class and go that route. The Time class might be a bit more acturate if your frame rate goes up and down quite a bit.

What exactly are you trying to do?
 
What I'm trying to do is gain more control over the Timer command in the events list. Such as setting the timer to count down from 1 minute or 20 seconds, starting and stopping. basicly I just want to cut out the command button and use RGSS instead.
 

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