Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Help on making character jump using common event in Rpg Maker 2003
« previous next »
  • Print
Pages: [1]

Author Topic: Help on making character jump using common event in Rpg Maker 2003  (Read 7291 times)

Offline Alantor

  • Member
  • Initiate
  • *
  • Posts: 32
  • Likes video games and RPGs
Help on making character jump using common event in Rpg Maker 2003
« 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?
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #1 on: May 16, 2009, 08:38:18 PM »
In what way do you want him jumping? battle command or on the map?
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline Alantor

  • Member
  • Initiate
  • *
  • Posts: 32
  • Likes video games and RPGs
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #2 on: May 16, 2009, 08:57:12 PM »
on the map.
Logged

Offline Dragoon de Sol

  • Common sense isn't very common
  • Agent
  • *
  • Posts: 800
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #3 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.
Logged

Offline buck55555

  • Member
  • Initiate
  • *
  • Posts: 15
  • Welcome to my world
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #4 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
Logged
Welcome to the world where everything is messed up.

Offline DedlellyDeth

  • Exemplar
  • *
  • Posts: 1,215
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #5 on: May 17, 2009, 03:33:09 AM »
Quote from: 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

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.
Logged
The previous post may contain rudeness. I'm just trying to help people, is all. I apologize for any damages inflicted. I just want to be friends. :flower:

Offline buck55555

  • Member
  • Initiate
  • *
  • Posts: 15
  • Welcome to my world
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #6 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
Logged
Welcome to the world where everything is messed up.

Offline DedlellyDeth

  • Exemplar
  • *
  • Posts: 1,215
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #7 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.
Logged
The previous post may contain rudeness. I'm just trying to help people, is all. I apologize for any damages inflicted. I just want to be friends. :flower:

Offline buck55555

  • Member
  • Initiate
  • *
  • Posts: 15
  • Welcome to my world
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #8 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
Logged
Welcome to the world where everything is messed up.

Offline DedlellyDeth

  • Exemplar
  • *
  • Posts: 1,215
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #9 on: May 18, 2009, 10:35:53 PM »
What if you're surrounded?
Logged
The previous post may contain rudeness. I'm just trying to help people, is all. I apologize for any damages inflicted. I just want to be friends. :flower:

Offline buck55555

  • Member
  • Initiate
  • *
  • Posts: 15
  • Welcome to my world
Re: Help on making character jump using common event in Rpg Maker 2003
« Reply #10 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
Logged
Welcome to the world where everything is messed up.

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Help on making character jump using common event in Rpg Maker 2003
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum