The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: gotix on December 28, 2006, 11:00:52 PM

Title: Jumping help (resolved)
Post by: gotix on December 28, 2006, 11:00:52 PM
How can I make my character jump in rmxp?
Title: Re: Jumping help
Post by: SexualBubblegumX on December 29, 2006, 02:18:49 AM
Okay that depends, do you want a jump command? Like you can jump over things by pressing a button, or do you want it to be in a cut scene?

If you're more specific I can help you.
Title: Re: Jumping help
Post by: gotix on December 29, 2006, 02:26:59 AM
I want it to be like a jump command, so you can jump over things.
Title: Re: Jumping help
Post by: SexualBubblegumX on December 29, 2006, 02:35:53 AM
Hmmm, There should be a way to do this through common events. I'm trying to figure how to get a char to jump the same way it's facing though. I'll start working on this during the weekend. Because I'll be kind of busy tommorow. But if some one beats me to the answer on this, it's all for the best because you'll have to wait untill the weekend for me to do it.
Title: Re: Jumping help
Post by: feildmaster on December 29, 2006, 04:18:06 PM
this is the basic... doesn't search for if its facing water or anything... 2 would be a normal jump... but can be changed... if you need to put it in common event make it... though i assume if you put "ignore imposible moves" it might not jump into area's you can't walk on...

make an armor, EX: jump shoes... and make the event when you get the shoes turn on a switch...
make a new common event and put it as... "trigger"-"parallel process"-"switch that was turned on when u got shoes"

make it look something like this...


conditional branch "jump shoes" equiped
conditional branch "key" is pressed
Conditional branch player facing right
player move - jump +0, +2
end
conditional branch player facing left
player move - jump +0, -2
end
conditional branch player facing up
player move - jump +2, +0
end
conditional branch player facing down
player move - jump -2, +0
end
end
end



hope it works.. haven't tried... but I know i had done something like this b4... never tested this one...
Title: Re: Jumping help
Post by: gotix on December 30, 2006, 03:57:54 AM
I tried it and it didn't work. i tried to change somethings, but still it doesn't work. anyone else know how?
Title: Re: Jumping help
Post by: Me™ on December 30, 2006, 10:20:24 AM
Erm.. that actually works...
Title: Re: Jumping help
Post by: gotix on December 30, 2006, 04:40:08 PM
wait, is that in events, or a script code? Idk, I might have messed up, I'll try again =D
Title: Re: Jumping help
Post by: Snailer on December 30, 2006, 05:14:01 PM
 :o

That's sweet!!
Using it.
Title: Re: Jumping help
Post by: feildmaster on December 30, 2006, 06:42:57 PM
wow... something i made out of my head works...? XD

@gotix- anyway that "code" goes under a common event... in the data base...
Title: Re: Jumping help
Post by: Me™ on December 30, 2006, 07:21:53 PM
Or paralel event.
Title: Re: Jumping help
Post by: feildmaster on December 30, 2006, 07:28:37 PM
hmm... but that would require the event to be on every map you want to be able to jump at...?
Title: Re: Jumping help
Post by: gotix on December 31, 2006, 07:12:57 PM
Quote from: feildmaster on December 29, 2006, 04:18:06 PM
this is the basic... doesn't search for if its facing water or anything... 2 would be a normal jump... but can be changed... if you need to put it in common event make it... though i assume if you put "ignore imposible moves" it might not jump into area's you can't walk on...

make an armor, EX: jump shoes... and make the event when you get the shoes turn on a switch...
make a new common event and put it as... "trigger"-"parallel process"-"switch that was turned on when u got shoes"

make it look something like this...


conditional branch "jump shoes" equiped
conditional branch "key" is pressed
Conditional branch player facing right
player move - jump +0, +2
end
conditional branch player facing left
player move - jump +0, -2
end
conditional branch player facing up
player move - jump +2, +0
end
conditional branch player facing down
player move - jump -2, +0
end
end
end



hope it works.. haven't tried... but I know i had done something like this b4... never tested this one...

The problem with this is that when I make the armor, and get it in the game, I can't equip it. For some reason, it goes into the items tab.
Title: Re: Jumping help
Post by: BPKS0 on December 31, 2006, 08:40:09 PM
u make it equipment... Not item -.-;
Title: Re: Jumping help
Post by: feildmaster on December 31, 2006, 08:58:13 PM
lol. so that was the problem..? XD
Title: Re: Jumping help
Post by: illusion on December 31, 2006, 09:56:50 PM
Quote from: feildmaster on December 29, 2006, 04:18:06 PM

conditional branch "jump shoes" equiped
conditional branch "key" is pressed
Conditional branch player facing right
player move - jump +0, +2
end
conditional branch player facing left
player move - jump +0, -2
end
conditional branch player facing up
player move - jump +2, +0
end
conditional branch player facing down
player move - jump -2, +0
end
end
end


This looks really good, thanks for posting, I'm definitely going to try it :)
Title: Re: Jumping help
Post by: feildmaster on December 31, 2006, 10:04:04 PM
np. glad to be of service... ^^
Title: Re: Jumping help
Post by: gotix on January 02, 2007, 03:04:20 PM
Quote from: BPKS0 on December 31, 2006, 08:40:09 PM
u make it equipment... Not item -.-;

no, It's under the "armor" tab in the database, and the type is also set to armor.
Title: Re: Jumping help
Post by: Darico on January 02, 2007, 08:10:55 PM
Hmmm, it should work aslong as the "Jumping Shoes" are equip. Although I would personally put them as accessories. :=:
Title: Re: Jumping help
Post by: gotix on January 03, 2007, 02:35:55 PM
Quote from: feildmaster on December 29, 2006, 04:18:06 PM

conditional branch "jump shoes" equiped
conditional branch "key" is pressed
Conditional branch player facing right
player move - jump +0, +2
end
conditional branch player facing left
player move - jump +0, -2
end
conditional branch player facing up
player move - jump +2, +0
end
conditional branch player facing down
player move - jump -2, +0
end
end
end


okay, the character jumps, but he does it twice- if im facing up, he jumps in that direction, and then he jump to the right. And if im facing down, he jumps down, then to the left. Can I fix this?
Title: Re: Jumping help
Post by: gotix on January 03, 2007, 02:55:14 PM
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg246.imageshack.us%2Fmy.php%3Fimage%3Djumptutgt2.png&hash=37814f0a7fc2aa635e603a5bc789525e05b8662d)

That worked, thanks. (If the above link doesn't show, here's a link to it-

http://img246.imageshack.us/img246/886/jumptutgt2.png
Title: Re: Jumping help (resolved)
Post by: Ravenshade on January 04, 2007, 02:51:23 PM
Does this work by jumping over impassible areas? (that would be handy) ;8
Title: Re: Jumping help (resolved)
Post by: feildmaster on January 11, 2007, 02:59:02 AM
you could test it... i would test myself but I am not at my house right now... >.>
Title: Re: Jumping help (resolved)
Post by: Snailer on January 11, 2007, 02:58:41 PM
If you set Through (Phasing) on and off before and at the end of the jump it will
Title: Re: Jumping help (resolved)
Post by: Irock on January 12, 2007, 01:56:18 AM
You can get stuck in objects though using phasing. Jumping really doesn't work using phasing.