Main Menu
  • Welcome to The RPG Maker Resource Kit.

Wait by seconds

Started by Lunais, December 30, 2006, 12:25:43 PM

0 Members and 1 Guest are viewing this topic.

Lunais

The Wait command measures Frames, and not seconds.

Is there a way to measure the wait time by seconds, or am I going to have to find the framerate of the game and time it with that?
Current project:
Chaos Angelix - ~5% complete

Snailer

10 frames is one second...

If you need it.

Reives

Not on every computer. It also varies if the comp's processor is busy or not, so x frames = x seconds doesn't really work. :/ I've been wanting a feature liike this too but haven't found any.

Snailer

Yeah i see now..
<.< that could mess my game up at someone else's pc if i use some things based on a waiting time ??

Me™

No your both wrong XP.

Wait frames are constant, FPS or Graphic Frames not. However Reives IS right that a slow pc could alter that, as the time goes slower (lagg). But it are only fractions. YOu won't notice it until after 30 seconds or so.

YOu could use Time.now.sec to measure how meany seconds have been gone etc.
ALL HAIL ME™

Reives

#5
Ah I see, I guess I meant FPS then. But although only in fractions, it's still quite noticable in things such as a "music video" I'm doing, as some things are suppose to be colinear with the music. Hence I still wish for a script or something that could 'wait-by-seconds'.