- Joined
- May 7, 2020
- Messages
- 6
- Reaction score
- 0
- First Language
- Italian
- Primarily Uses
- RMXP
So basically, I want to make an option in my game to select the game's framerate, and I found a way to make waits to automatically be the same for all the framerates (so the game will not actually speed up).
I did wait_count * framerate / (framerate / 2), and it actually works. But there's a problem: I searched on the interpreter and other scripts the definition of @wait_count, but there wasn't any, instead i've found things like "@wait_count = @parameters[0]", so I added on it my calculation but nothing actually happened, the game is still speed-up. So, am I doing something wrong? (also, how do I found and put my calculation on other waits like picture's or characters'?)
EDIT: Ok I noticed my calculation is wrong, any help with it? I'll explain better: I want to moltiplicate the waits depending of how high is the fps, so if for example the game waits 10 frames, i want it to keep the same speed for every framerates, so if for 40 fps 10 is normal, then with 80 it should be 20, and with 60 like.. 15 I think? (sorry I suck on math, lmao)
I did wait_count * framerate / (framerate / 2), and it actually works. But there's a problem: I searched on the interpreter and other scripts the definition of @wait_count, but there wasn't any, instead i've found things like "@wait_count = @parameters[0]", so I added on it my calculation but nothing actually happened, the game is still speed-up. So, am I doing something wrong? (also, how do I found and put my calculation on other waits like picture's or characters'?)
EDIT: Ok I noticed my calculation is wrong, any help with it? I'll explain better: I want to moltiplicate the waits depending of how high is the fps, so if for example the game waits 10 frames, i want it to keep the same speed for every framerates, so if for 40 fps 10 is normal, then with 80 it should be 20, and with 60 like.. 15 I think? (sorry I suck on math, lmao)
Last edited:

