OverlordMao 0 Report post Posted December 2, 2008 This is a lot harder then I thought it might be. Anyone know how manys frames in rmxp are equal to a second in time? :huh: Edit: Sorry about the typo in the topic title. Share this post Link to post Share on other sites
0 Marked 197 Report post Posted December 2, 2008 Yeah, it does run at 20 frames per second, but it if its running in smooth mode it will run at 40 frames per second. Run RMXP and press F1 and the first option there is for smooth mode, and thats recommended for computers that have 1.5Ghz or higher. A search in RMXP's help file returned this: RGSS games usually run at 20 frames per second, but you can check [smooth Mode] in the game's Properties to run it at a 40 fps framerate instead. This is why the scripts move at an internal rate of 40 fps whether [smooth Mode] is on or off. Be aware that most values, like wait length, will be handled as though they've been doubled. Share this post Link to post Share on other sites
0 Zeriab 9 Report post Posted December 3, 2008 If you are thinking about the amount of frames in context with the Wait... event command then its 20 frames per second regardless of smooth mode or not. (You can change the frame rate with Graphics.frame_rate but as long as you don't change it the above holds assuming no lag) Share this post Link to post Share on other sites
0 Arkbennett 16 Report post Posted December 3, 2008 I really just wish they set it back to seconds like in 2k and 2k3. ='( Share this post Link to post Share on other sites
0 Polraudio 122 Report post Posted December 3, 2008 That would be very nice Share this post Link to post Share on other sites
0 Zeriab 9 Report post Posted December 4, 2008 Well... You can use this if you want to wait in seconds rather than frames: class Interpreter #-------------------------------------------------------------------------- # * Wait #-------------------------------------------------------------------------- def wait(seconds) # Set wait count @wait_count = (Graphics.frame_rate * seconds).to_i # Continue return true end end Just put wait(3) in a script call for waiting 3 seconds. Put wait(0.5) for waiting half a second. wait(3.5) waits for 3 and half a second. You get the idea I am sure. As a bonus this will still work if you change the frame rate ^^ *hugs* - Zeriab Share this post Link to post Share on other sites
0 Arkbennett 16 Report post Posted December 4, 2008 Sweet. Thanks Zeriab! I will definately use this! Share this post Link to post Share on other sites
0 Zeriab 9 Report post Posted December 4, 2008 Don't definitely use it. Only use it if you have an actual need. ;) Share this post Link to post Share on other sites
This is a lot harder then I thought it might be. Anyone know how manys frames in rmxp are equal to a second in time? :huh:
Edit: Sorry about the typo in the topic title.
Share this post
Link to post
Share on other sites