SPEED

Posts

Pages: first 12 next last
is there a way i can change how fast my character moves? they always seem to be moving too fast.
Always specify the maker and give an example of the problem. Otherwise, we won't be able to help you.
oops sorry. its rm2k and my characters seem to move fast. i know in other games people have made the characters not move very fast. i just dont know how to do that.
Actually, I'm having a similar problem. I hope you don't mind me barging in.

I attempted solving the problem this way; a parallel process event in each map that has the command

<>Move Event: Hero ,Move Speed Dwn

Well, it works.... but it works too well. He goes too slow now. The reason itself that I have to slow down the character is that it's a lot bigger than normal character sprites in RM2k, and it moving as fast as it does looks really unnatural. And it moves much too slowly when I take the approach that I previously mentioned.

Just to let all the advanced people out there know that there's more interest in the problem.
Well, if you want to change his speed for the entire game then do this:

At the start of the game make a "move event." This can be found on the second page of the database down the bottom right hand side.

Set the event name to "Hero" and then click on the button that says "Decrease move speed."

Continue to do this till you find the speed you want.

well the decrease move speed is actually for 2k3, but i know what u meant, but the problem is, like Komodo said, that they then move wayyyy too slow
Sorry about that. I probably assumed you were using 2003. I am pretty sure that it is basically the same thing in 2000.
Grr, I keep finding more and more reasons to switch my project to 2003....

But no! I will maintain my resolve! My resolve, and fear of change!

Thanks for trying, though.
Did you remember to do an erase event command after the move route?
What? I mean, I understand that it would clean things up a bit, but if you have this 'event' in an opening map that the character will never enter again, what's the point? And will that help the speed issue at all...?
It should. If you don't erase it, then it will just keep decreasing the speed to minimum. Erasing it will only drop the speed once.
*facepalm* Ah, goodness, why didn't I think of that!? Sorry, I, uh, didn't realize it would do that.

Thanks a million! I'll go check that out.
No problem. I am not familiar with RM 2k, but it seemed like that was the problem. Glad to help! :)
It works great! Still a tad slower than I might like, but I suppose that can't be helped. It's good as is....

I hate to be a bother, but I also want to ask- how would you suggest I make a 'Run button' feature? It's probably impossible in RM2K, and my only idea involves covering the screen in events. Ugh. There's got to be a better way, or none at all....
check out Hellion. i'm pretty sure it was done in that one.
Ocean
Resident foodmonster
11991
I shouldn't be helping you because I dislike walking slow in RPGs so much. But I will anyway.

Actually, I have an idea. Instead of having the character run only when the button is pressed, have it as a toggle. If you press it, your character stays in running mode. If you press it again, your character goes back to walking mode. That way you don't have to force players to walk slow just because you like walking slow. I don't want to have a button pressed constantly just to run if you can do it by just pressing once.

If you're in RM2K however, you have less buttons to work with and you may need both of them. In that case, I'd recommend an item that has a switch command on it that turns on a switch. In the common events, if the switch is turned on, then toggle the Running switch on or off. If it's on, move speed up, if it's off, move speed down.

As for making the character go slow in the first place, make an Autostart event in the very beginning map. Move event: Speed down. Then, turn on a switch, and have the 2nd page of it be if that switch is turned on, and don't have anything else in that page. This way, it'll slow the player once and stay like that for the game (unless you have move speed up things later).

Once I go home, I can post the code for either the run button or the toggle run/walk or explain in more detail.
Thanks, Ocean- the switch thing is what I ended up doing anyway... and yeah, I realized that while it is now slow enough to look natural, it is beyond the point of both looking natural and not being obnoxiously slow at the same time.... So I'll do away with it all together if I can't whip up the running button feature and get it to work nicely.

Toggle does sound like a better option. If it's a item attached to a common event, I can also switch to a separate animation for running... so the whole thing sounds good to me.

Also- I'm fairly sure I saw a patch somewhere that allows use of all keys... then again, I wouldn't be sure how to use it. Thanks for your time, I apologize for being such a horrible coder.
author=Ocean link=topic=704.msg9342#msg9342 date=1203386059
I shouldn't be helping you because I dislike walking slow in RPGs so much. But I will anyway.

Actually, I have an idea. Instead of having the character run only when the button is pressed, have it as a toggle. If you press it, your character stays in running mode. If you press it again, your character goes back to walking mode. That way you don't have to force players to walk slow just because you like walking slow. I don't want to have a button pressed constantly just to run if you can do it by just pressing once.

If you're in RM2K however, you have less buttons to work with and you may need both of them. In that case, I'd recommend an item that has a switch command on it that turns on a switch. In the common events, if the switch is turned on, then toggle the Running switch on or off. If it's on, move speed up, if it's off, move speed down.

As for making the character go slow in the first place, make an Autostart event in the very beginning map. Move event: Speed down. Then, turn on a switch, and have the 2nd page of it be if that switch is turned on, and don't have anything else in that page. This way, it'll slow the player once and stay like that for the game (unless you have move speed up things later).

Once I go home, I can post the code for either the run button or the toggle run/walk or explain in more detail.

I have always wanted to do this in a game of mine but i could never be bothered. I will be interested in this code Ocean. Perhaps i will use it in Demon Destiny 2. :)
Ocean
Resident foodmonster
11991
For running, we're going to use the Shift key to run (RM2K3. You can use a different key for RM2K, but since they're limited in RM2K, that's not really practical). You'll run as long as you are holding down the Shift key.

Make a common event, have it a parallel process, and with a run switch trigger switch (If you want to disable running in places you don't want to by turning off this switch. Just remember to turn on the Run switch in the intro or whenever you want to resume running).

Inside that common event:
Make a key input process command with these options:
Store key code in: (Running variable)
Uncheck the Wait until key is pressed.
Keys to process: 7 (Shift key)

Then, make a conditional branch with an else case that checks to see if the Running variable is equal to 7.

If it is, put inside of that conditional branch:

If Switch Fast is Off
Switch Fast set On
Inside the Move event command:
Event: Hero
Increase move speed 3 times, then decrease it once.


In the Else case of the conditional branch:


If Switch Fast is On
Switch Fast set Off
Inside the Move event command:
Event: Hero
Increase move speed 3 times, then decrease it twice.


Then, put a wait command of .1 seconds under all of the code. Or .0, I don't think it should matter.

So, why increase move speed 3 times? There is a maximum that RPG Maker will let you increase the speed to. If you remove those, you may sometimes be permanently slowed down or sped up because the move speed would be relative to your speed. So don't forget those 3 move speed increases. By the way, that's not frequency, just speed.


For toggle, it's a very similar process. Copy it until you get to the Conditional branch. You don't need an else for it.

Switch fast set Toggle On/Off
If Switch Fast is Off
Inside the Move event command:
Event: Hero
Increase move speed 3 times, then decrease it once.
Else
Inside the Move event command:
Event: Hero
Increase move speed 3 times, then decrease it twice.

and then the rest should be the same. I haven't tested it but I assume it works...
This is pretty cool. Definetely be using this in a future game of mine. :)
Pages: first 12 next last