RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

jump when pressed spacebar

Started by WeirdGameMaker, December 14, 2010, 12:03:29 PM

0 Members and 1 Guest are viewing this topic.

WeirdGameMaker

hi I haven't done much for poeple but here is something that maby is usefull for poeple
and I don't know where to put this so I put into tutorial...
ok I was making a game and I thought of something...
how your character might jump when pressed spacebar
and it is really easy but there is one problem,you can jump on walls and stuff
anyway you need 1 common event and 1 switch
comon event says:
@>conditional branch: The C button is being pressed
    @>conditional branch:player facing up
        @>set move route: player(wait)
        :                       : $>jump : +0,-1

and so further for the other
for left -1,+0,right +1,+0,down +0,+1

switch:
jump

oh one more thing put on parrallel progress and switch is then jump

for the walls problemmake an event that puts the switch off!

and I think this works for RMXP and RMVX

[Edit]
yep works for RMVX too...I have RMVX now
my weirdness is in a good way,isn't it?