The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: WeirdGameMaker on December 14, 2010, 12:03:29 PM

Title: jump when pressed spacebar
Post by: WeirdGameMaker on December 14, 2010, 12:03:29 PM
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