DASH SYSTEM?
Posts
Pages:
1
1.How can you make your character run while holding let's say shift and when you let go he slows down?
2.Can you connect his running to a meter so that he's limited?
2.Can you connect his running to a meter so that he's limited?
Well, the simplest solution would be not doing this. If it's necessary for gameplay, then it would help to post which maker you're using. If it's just to add to realism or some such, then don't do it. The player would be running 99% of the time, so holding the button would get frustrating, and limiting it further would be annoying, especially if the player needs to cover a lot of ground.
Ok, first off I'm using 2k3 and I've played some games with the running system and it actually works and is convenient. This is also why I wanted to add a stamina meter. So can you help me or not?
You could use Rpgmaker VX, which has the feature implemented already. But that's probably not something you're looking into.
post=83650
You could use Rpgmaker VX, which has the feature implemented already. But that's probably not something you're looking into.
I never knew that :o but thanks I'll look into that one too.
post=83645
This should do it. I didn't test it too much, to be honest, but it seems to work well enough (holding down Shift lets you run faster and letting go means you return to normal). Some systems for running screw up when people mash the Shift key, but the Wait command right at the top of the event seems to stop this (at least based on the limited messing around I did).
The stamina bar is also kinda simple, but I don't have the will to make a tutorial for that right now...
--------
Basic Sprinting System (RM2K3)
First, make one Variable ("Running?") and two Switches ("Running On" and "Cutscene On").
Then, make a Common Event in the database ("Running System" or something similar) and set the trigger to Parallel Process. The code should look like this:
In case you are unsure, the key-input process should look like this:
IMPORTANT ASIDE! - The "Cutscene On" switch needs to be turned on at the start of every cutscene and turned off at the end of every cutscene. This stops people mashing shift during cutscenes and causing a mess of the hero's speed during the cutscene.
Mine looks a bit different from yours, I'm not sure if I'm doing this right but it looks like this. Doesn't work for me D:


This seems like... you're putting it in just for the sake of a having CUSTOM SYSTEMS. Running systems are pretty pointless.
@Stroyer:
Yours can't work, because it's RM2k. This version has no shift key interrogation... try this code:
{
Label 2
Enter Password "Running"
if ( Running == 5)
{
MOVE SPEED UP // 8 times; then decrease it 5 times
Running_switch = true
if ( Running_switch == true )
{
Label 1
Enter Password "Running"
if ( Running != 5)
{
MOVE SPEED DOWN // increase it 8 times; then decrease it 6 times
GOTO LABEL 2
else if
Wait 0.1
GOTO LABEL 1
}
}
}
Wait 0.1
}
Is there a code tag available? I lost the overview. x_X
By the way, a stamina system sucks. I implemented it into the game of our team, but we ascertained that it is getting on everyone's nervs.
Yours can't work, because it's RM2k. This version has no shift key interrogation... try this code:
{
Label 2
Enter Password "Running"
if ( Running == 5)
{
MOVE SPEED UP // 8 times; then decrease it 5 times
Running_switch = true
if ( Running_switch == true )
{
Label 1
Enter Password "Running"
if ( Running != 5)
{
MOVE SPEED DOWN // increase it 8 times; then decrease it 6 times
GOTO LABEL 2
else if
Wait 0.1
GOTO LABEL 1
}
}
}
Wait 0.1
}
Is there a code tag available? I lost the overview. x_X
By the way, a stamina system sucks. I implemented it into the game of our team, but we ascertained that it is getting on everyone's nervs.

@Fallen-Griever: This is not the RM2k3, he uses the RM2k.
I see the mistake, and you've already explained it, but using the value 7 is wrong. RM2k doesn't know this one in a key input. I just wanted to express that this fact is a further fault.
post=83708It must be important enough to add to a later revision of RM engines.
Admittedly, I don't see the point of a stamina system in a traditional RPG either. I also didn't see the point of it in Diablo II; it was just annoying as hell near the start of the game and never an issue at the end of the game. Come to think of it, I can't think of a game that utilises the stamina system well...
Unless you are going to link stamina to something else (i.e. if stamina is low the character will start battle slightly weaker or something...) then I wouldn't recommend bothering.
I think it's a neat little feature to have. Is it pointless? In and by itself, probably.
However I'm trying to figure out new ways to integrate it into my game. You can level it up to run longer and jump across new gaps you couldn't previously. In addition, there's some minigames (such as racing) that utilize the system fairly well. And if you want to stand still (and stop moving for just a moment :D), your stamina recovery rate goes through the roof.
Plus mine is toggled with shift, so you don't have to actually hold it. I'm sure you played--and were annoyed--with SU's running system. That's why if you play easy mode you start with a massive amount of stamina. It's not perfect, but I think it's a fun feature that not enough people expand on unfortunately. I always thought RM2k/3's default speed was way too fast, and the next speed down was just too slow. (And so maybe this system started as a way to approach some sort of happy medium?)
Also, I feel VSB utilized the running system fairly well. If you stopped running you could avoid random encounters. (To simulate making noise as you run attracting monsters I guess). Of course you wanted to get through maps quickly, so you still ran most of the time, but it was a fun little system that played out a little like a minigame to me.
MOVE SPEED UP // 8 times; then decrease it 5 timesThis is pretty important to prevent getting characters stuck at faster/slower speeds. Avoid setting relative hero speeds at all costs.
post=83939Not an option when many of us started our games. Plus, VX games look identical.
Just use VX
EDIT: Sorry longpost is looong :( I am just defending the idea that you should do whatever the hell you feel like when it comes to creating games as a hobby. Don't restrict yourself. :)
Pages:
1





















