Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Alantor on May 16, 2009, 08:12:24 PM

Title: Help on making character jump using common event in Rpg Maker 2003
Post by: Alantor on May 16, 2009, 08:12:24 PM
Hey, i need help. I'm making a Sonic RPG, i tried to make my character jump, but it didn't work! Can someone help me make my character jump using the common event menu or provide a working script of Sonic jumping?
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: Prpl_Mage on May 16, 2009, 08:38:18 PM
In what way do you want him jumping? battle command or on the map?
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: Alantor on May 16, 2009, 08:57:12 PM
on the map.
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: Dragoon de Sol on May 16, 2009, 11:14:54 PM
I believe this will do it.

Common event named Jump set on Parallel Process.

Key Input processing called Jump, use all arrow keys and shift.

If SONIC is facing down
>If Jump is 1
>> Move Event: Begind Jump, Move Down, End Jump
>>>Else
>
Else
>If SONIC is facing Left
>>If Jump is 2
>>>Move Event: Begind Jump, Move Left, End Jump
>>>>Else
>>
>>If SONIC is facing right
>>>If Jump is 3
>>>>Move Event: Begind Jump, Move Right, End Jump
>>>>>Else
>>>
>>>If SONIC is facing up
>>>>If Jump is 4
>>>>>Move Event: Begind Jump, Move Up, End Jump
>>>>>
>>>>
>>>
>>
>
End


That's more or less how I think it should be done. I haven't tested it.
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: buck55555 on May 17, 2009, 12:36:24 AM
you could shorten that with something like ...

Cycle
-Enter Key code into Variable 009 (we will use shift, which would make the variable 7)
--Fork Option: If variable 009 is set to 7
---Move event: Hero, begin jump, step forward, step forward, (how ever many you want), end jump
--end fork
-end cycle

i use something like that in a game of mine, works perfectly
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: DedlellyDeth on May 17, 2009, 03:33:09 AM
you could shorten that with something like ...

Cycle
-Enter Key code into Variable 009 (we will use shift, which would make the variable 7)
--Fork Option: If variable 009 is set to 7
---Move event: Hero, begin jump, step forward, step forward, (how ever many you want), end jump
--end fork
-end cycle

i use something like that in a game of mine, works perfectly

Doing it like that limits direction to where the character is facing, which is only altered by movement and so is not appropriate in situations in which the character would not want to move normally in that direction.
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: buck55555 on May 17, 2009, 07:52:17 PM
well yes, but generally, if you want to face a diff direction, youll have to move anyway lol ... that and even in situations where your character cant move, you can still make it face any direction you want. I use it in one of my games and so far, the only problem it poses is that sometimes the hero can jump over things they arent suppose to or i dont want them too lol
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: DedlellyDeth on May 17, 2009, 08:36:00 PM
That's not what I mean. Take for example a character with a monster to his left, facing up. If he moved left, he would encounter the monster before he could jump. If, however, you have an event that detects Shift, then modifies the next arrow key press to be a jump, he could move over it.
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: buck55555 on May 18, 2009, 05:04:03 AM
ah, yes in a walk around battle type that would be lightly better, my way, the only handicap for that is youd have to move right, then left to face the monster but not encounter, then you could jump over the monster
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: DedlellyDeth on May 18, 2009, 10:35:53 PM
What if you're surrounded?
Title: Re: Help on making character jump using common event in Rpg Maker 2003
Post by: buck55555 on May 19, 2009, 07:49:31 PM
well, if your surrounded, you just hit shift you jump where ever your char was facing last you moved before you got surrounded and hope there isnt a wall there lol

unless your like me and would go kamekaze and fight every single one of them lol :P