Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker XP > Interior Doors

Interior Doors


NOTE: This tutorial was originally written back in 2005. I recently found them again on my hard Disk so I am re-uploading them for people to read and mask in their grammar and spelling mistakes.

Step 1:

First create your map that is inside. After that is done create an event on your map in a doorway that leads into a new room. After that is done read Step 2.

STEP 2:

Next we will set-up our door options. Find a good door event Graphic in the event editor that matches what you need.
Then...
Under Options click on NO-Animation so there is a checkl-mark. In the trigger you can use Action key or Hero touch. If you choose Action Key the door will only open when you press ENTER on it. If Hero touch it will open when the character is close by it.

Make TYPE is set-to NONE.

SPEED = SLOW

Frequency = Low

STEP3:

Next we will do the coding for our door to make it open. In the event Commands box double click it until a new window comes up. On page 2 of this window you should see MOVE EVENT on the left side column. Click on this button for another window to come-up.

There is a bunch of buttons like mOVE DOWN,up,left,right etc. We are going to use these to make the door move.

In the drop-down box at the top click it and then on THIS EVENT. THen follow this order:

1.) Play SE: (Pick one)
2.) FACE LEFT
3.) Wait: 2 Frames
4.) Face Right
5.) Wait: 2 Frames
6.) Face Up
7.) Wait 2 frames.
8.) Ok
9.) Ok

REPEATING AND IGNORE IMPOSSIBLE MOVES MUST NOT BE CLICKed ON!

STEP 4:

Now you should be back in the event editor window. Double click udner the event you just specified that makes the door move and goto page 2: Move Events again then follow this order:

Player (Dropdown Box)

1.) Phasing ON
2.) Move UP
3.) Move UP
(Add more if you need them.)
4.) Phasing OFF
5.) Ok
6.) Ok

REPEATING AND IGNORE IMPOSSIBLE MOVES MUST NOT BE CLICKed ON!

STEP 5:

Now you can see the event editor again. Insert a new event underneath everything we just did and in Page 1 click on Wait. Set it too 20 Frames.

Underneath that we will add a new event which will close the door.

Page2: Move Event:

This Event

1.) Play SE (Close SOund)
2.) Face Right
3.) Wait: 2 Frames
4.) Face left
5.) Wait: 2 Frames
6.) Face Down
7.) Wait: 2 frames

After that we are done making a door. Hit OK on the event editor and test play your game to see if it worked!



Details
Tutorial: Interior Doors
Date Listed: Thu, 22 Oct 2009 21:07:46 -0400
Author: Ty
Total Hits: 3069


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal