Test games at turbo speed

This is something really simple but very helpful. If you want to make the tediously repetitive testing of your game go faster, you can speed up the entire game with the script call:

Graphics.frame_rate=160
Edit correction: As Zeriab noted, the max frame rate the game will run at is 120.

Frame rate at normal speed should be 40, so that's supposed to be 3 times faster (it likely won't achieve that exactly due to pc constraints, but will still make things quite a lot faster).

So to make it even more convenient, you could make a common event like this:

Image

This will make it so that when Switch 1 is on, you can turn on the speedy mode by pressing 'W', and switch it off by pressing 'Q' for the parts that you need to tread carefully. Or you can use whichever other input keys you prefer, of course.

Hope that helps!
Good idea ^_^
Note that while you can set the framerate to any given number it is actually constrained to 20-120 FPS.
This means that the framerate is set to 120 FPS rather than 160 as you would expect.

*hugs*
Ah, fixed post. :D Thanks Zeriab.
Good idea indeed... pretty simple, but I never really thought of it, and it doesn't look like anyone else did ^^

For the other fellas who prefer a scripted approach:
  1. Graphics.frame_rate = Input.pressed?(Input::L) ? 160 : 40 # 40fps would be XP's default, replace with 60 for VX
Expand to see the code.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=75513