Help - Search - Members - Calendar
Full Version: How Many Seconds Per Frame?
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
Yusshin
I'm just wondering, when we choose the "Wait" command from the Event window, how many frames equal one second? 10?
Kread-EX
You need 20 or 40 frames to make a second, depending if you run the engine in smooth mode or not.
stripe103
Is it possible to make it have the same frame rate no matter whether run in smooth mode or not?
Kread-EX
Technically yes. By using Graphics.frame_rate = 60 in a script, the fame will run at 60 frames/second. You can raise the frame rate to a maximum of 120.
Yusshin
Thanks a lot, I needed to know in order to control respawns.

Also, how do I make it so the hero can walk through butterflies, but ONLY butterflies? I have that the butterflies are always on top, but they always block my hero, which is not realistic since a tiny bug can't realistically block a human being from walking.

Do I add thorough to the butterflies? I don't want it to look like the butterfly is going through his stomach, though lol
Kread-EX
Yes, set the Through option for them.
Yusshin
Thanks a lot :]

One last thing, kinda random, anyone know where I can get a tut' on making a Common Event that heals the HP/SP of an actor who levels up (and only this actor, not the entire party)?

Prefer it in Common Event, not script-form.
Zeriab
It is 20 frames per second in event commands. It doesn't matter whether Smooth mode is checked or not in that regard.

Mind you that it will change if you change Graphics.frame_rate.

*hugs*
Yusshin
Thanks ^^

QUOTE ("Yusshin")
One last thing, kinda random, anyone know where I can get a tut' on making a Common Event that heals the HP/SP of an actor who levels up (and only this actor, not the entire party)?

Prefer it in Common Event, not script-form.


I also need to know how to push boulders, kinda like in Pokemon?
Yusshin
Wow, thanks *.* You guys got all the answers lol It's like an Encyclopedic Community.
stripe103
That is the best of being many pleople tongue.gif
Yusshin
:]

About that boulder, how do I get it to save a position? So if I push it, the position locks, and when you re-enter the room, it doesn't go back to the first position, but stays at the locked position after having moved it the first time?
stripe103
That is a bit harder. you need to save the event's position in variables and then when re-enter move it to those variables.
Yusshin
Oh @.@ I'm not good with variables yet! I just know how to do simple quests with it :] like storing the need for 10 items for the conditional branch to work.

I'll tinker with it, though :D at least now I know the direction I'm supposed to work with.
Zeriab
Remember to set the trigger of the event which moves the stones to Parallel Process or you might be able to watch the stones move. (I would put an Erase Event command after the moves)

You must save the coordinates of the stones at any exit from the map. (Making a common event is a good idea)

Note that it doesn't scale well. By this I mean that adding more stones and having it working on more maps is tedious.
Depending on how much you want to 'lock position' you could consider searching for a script which does it. (Dunno if one exists)

*hugs*
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.