Main Menu
  • Welcome to The RPG Maker Resource Kit.

Jumping help (resolved)

Started by gotix, December 28, 2006, 11:00:52 PM

0 Members and 1 Guest are viewing this topic.

gotix

How can I make my character jump in rmxp?

SexualBubblegumX

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.

gotix

I want it to be like a jump command, so you can jump over things.

SexualBubblegumX

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.

feildmaster

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...
----Current Games working on----
--Rage O' Delusion - Overall Percentage Finished : 4% -- Expected release... Unknown
--The Other Dimension - Overall Percentage done : 1 - Expected Release : No time soon...
v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Feildmaster Productions
Made By One Man Run by the Same...
Making Games for Everyone...
Oh yeah, and everything else web based
For a charge... Of course...

gotix

I tried it and it didn't work. i tried to change somethings, but still it doesn't work. anyone else know how?

Me™

Erm.. that actually works...
ALL HAIL ME™

gotix

wait, is that in events, or a script code? Idk, I might have messed up, I'll try again =D

Snailer

 :o

That's sweet!!
Using it.

feildmaster

wow... something i made out of my head works...? XD

@gotix- anyway that "code" goes under a common event... in the data base...
----Current Games working on----
--Rage O' Delusion - Overall Percentage Finished : 4% -- Expected release... Unknown
--The Other Dimension - Overall Percentage done : 1 - Expected Release : No time soon...
v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Feildmaster Productions
Made By One Man Run by the Same...
Making Games for Everyone...
Oh yeah, and everything else web based
For a charge... Of course...

Me™

ALL HAIL ME™

feildmaster

hmm... but that would require the event to be on every map you want to be able to jump at...?
----Current Games working on----
--Rage O' Delusion - Overall Percentage Finished : 4% -- Expected release... Unknown
--The Other Dimension - Overall Percentage done : 1 - Expected Release : No time soon...
v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Feildmaster Productions
Made By One Man Run by the Same...
Making Games for Everyone...
Oh yeah, and everything else web based
For a charge... Of course...

gotix

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.

BPKS0

u make it equipment... Not item -.-;


feildmaster

lol. so that was the problem..? XD
----Current Games working on----
--Rage O' Delusion - Overall Percentage Finished : 4% -- Expected release... Unknown
--The Other Dimension - Overall Percentage done : 1 - Expected Release : No time soon...
v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Feildmaster Productions
Made By One Man Run by the Same...
Making Games for Everyone...
Oh yeah, and everything else web based
For a charge... Of course...

illusion

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 :)

feildmaster

np. glad to be of service... ^^
----Current Games working on----
--Rage O' Delusion - Overall Percentage Finished : 4% -- Expected release... Unknown
--The Other Dimension - Overall Percentage done : 1 - Expected Release : No time soon...
v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Feildmaster Productions
Made By One Man Run by the Same...
Making Games for Everyone...
Oh yeah, and everything else web based
For a charge... Of course...

gotix

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.

Darico

Hmmm, it should work aslong as the "Jumping Shoes" are equip. Although I would personally put them as accessories. :=:

gotix

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?

gotix



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

http://img246.imageshack.us/img246/886/jumptutgt2.png

Ravenshade

Does this work by jumping over impassible areas? (that would be handy) ;8
Harmony before Justice,
Balance before Peace,
Order before Finality

Family Motto.

feildmaster

you could test it... i would test myself but I am not at my house right now... >.>
----Current Games working on----
--Rage O' Delusion - Overall Percentage Finished : 4% -- Expected release... Unknown
--The Other Dimension - Overall Percentage done : 1 - Expected Release : No time soon...
v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Feildmaster Productions
Made By One Man Run by the Same...
Making Games for Everyone...
Oh yeah, and everything else web based
For a charge... Of course...

Snailer

If you set Through (Phasing) on and off before and at the end of the jump it will

Irock

You can get stuck in objects though using phasing. Jumping really doesn't work using phasing.