RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Jumping help (resolved)

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
How can I make my character jump in rmxp?
« Last Edit: January 03, 2007, 02:56:13 PM by gotix »

********
Sailor Man
Rep:
Level 95
So about that money...
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.

**
Rep:
Level 88
I want it to be like a jump command, so you can jump over things.

********
Sailor Man
Rep:
Level 95
So about that money...
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.

***
Rep:
Level 88
Hell... What did I mess up now... I'm Back!
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...

Code: [Select]
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...

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

***
Rep:
Level 88
Random-Idiot
Erm.. that actually works...
ALL HAIL ME™

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


***
Rep:
Level 88
Hell... What did I mess up now... I'm Back!
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...

***
Rep:
Level 88
Random-Idiot
Or paralel event.
ALL HAIL ME™

***
Rep:
Level 88
Hell... What did I mess up now... I'm Back!
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...

**
Rep:
Level 88
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...

Code: [Select]
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.

***
Rep:
Level 90
u make it equipment... Not item -.-;


***
Rep:
Level 88
Hell... What did I mess up now... I'm Back!
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...

**
Rep:
Level 88
Code: [Select]
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 :)

***
Rep:
Level 88
Hell... What did I mess up now... I'm Back!
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...

**
Rep:
Level 88
u make it equipment... Not item -.-;

no, It's under the "armor" tab in the database, and the type is also set to armor.

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Hmmm, it should work aslong as the "Jumping Shoes" are equip. Although I would personally put them as accessories. :=:

**
Rep:
Level 88
Code: [Select]
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?

**
Rep:
Level 88


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

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

***
Rep:
Level 88
A good eventer and story creator.
Does this work by jumping over impassible areas? (that would be handy) ;8
Harmony before Justice,
Balance before Peace,
Order before Finality

Family Motto.

***
Rep:
Level 88
Hell... What did I mess up now... I'm Back!
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...

*****
Ancient Mummy
Rep:
Level 90
If you set Through (Phasing) on and off before and at the end of the jump it will

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
You can get stuck in objects though using phasing. Jumping really doesn't work using phasing.