How can I make my character jump in rmxp?
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.
I want it to be like a jump command, so you can jump over things.
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.
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...
I tried it and it didn't work. i tried to change somethings, but still it doesn't work. anyone else know how?
Erm.. that actually works...
wait, is that in events, or a script code? Idk, I might have messed up, I'll try again =D
:o
That's sweet!!
Using it.
wow... something i made out of my head works...? XD
@gotix- anyway that "code" goes under a common event... in the data base...
Or paralel event.
hmm... but that would require the event to be on every map you want to be able to jump at...?
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.
u make it equipment... Not item -.-;
lol. so that was the problem..? XD
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 :)
np. glad to be of service... ^^
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.
Hmmm, it should work aslong as the "Jumping Shoes" are equip. Although I would personally put them as accessories. :=:
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?
(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
Does this work by jumping over impassible areas? (that would be handy) ;8
you could test it... i would test myself but I am not at my house right now... >.>
If you set Through (Phasing) on and off before and at the end of the jump it will
You can get stuck in objects though using phasing. Jumping really doesn't work using phasing.