RPG Crisis Community Forums: How To Make Your Characters Jump - RPG Maker 2000/20003 - Tutorials/Scripts - RPG Crisis Community Forums

Jump to content

How To Make Your Characters Jump Bookmark

User is offline Lyricalias 

  • Advanced Member
    • Group: Global Moderators
    • Posts: 1,474
    • Joined: 24-June 10
    • Time Online: 2d 22h 13m 16s

    24
    899/5620
    Hit Points
    2780/2780
    Magic Points
    78%
    Experience
    : ADVENTURER
    ADVENTURER


    Tutorial/Script info

    • Added on: 15 July 2010 - 07:50 AM
    • Views: 522
    Description: Allows your characters to jump!

    Written by: The sewershark

    Ok, here it goes, I will teach you guys how to make your chara jump! Mostly of the experienced RPGMakers will say "Damn I can do that with no tutorial" so this is basicaly for the newbies! I gonna post all the code that I made in my RM2K, so basicalyyou guys must copy it to your game!

    First of all, I gonna use passwords, so you must sacrifice one of your keyboard keys! I gonna use the accept button (for most of you guys, the "Enter" button). I made a switch to detect if the chara in in or out of a town! (he can't jump in towns, or else, he can't speak with NPCs) Or you can create a switch item, that turns it on and of at any time! Make an common event, set as parallel process with Apearance conditiona switch like XXXX:jump! (if you wish, you may place a simple parralel process in every jumping map, that way you don't need the switch and use an common event)

    Now the code!

    Enter Password: [xxxx:jump] //use the descision button
    FORK Optn: Varbl[xxxx:jump]-5
       FORK Optn:Hero -Up Face Direct
          Move Event...:   Hero ,Start Jump, Up, Up, End Jump
          
        :END Case
    
          .
          .  //make more 3 forks for facing down, left, right
          .
    
       Variable Ch:[xxxx:jump]Set,0
       
    :END Case
    



    (don't forget, // are comments, not codes)

    If you guys want to place NPCs in the map, they must stand stilland you got to place several events around'em in order toturn of the jump and let you use the enter key (see below)

    *
    *o*
    *oXo*
    *o*
    *

    X- is the NPC, place the textk in it!
    o- events that tunf off the jumping switch
    *- events that tunr on the jumping switch
    0
    • View members tutorials/scripts
    • RPG Maker 2000/20003

    Share:

    Powered by (IM) Tutorials 1.1.2 © 2011, by Michael McCune