Mini-Tutorial: Creating Doors in RPG Maker XP

Mar 25, 2011 15:26


Originally published at How I Roll. Please leave any comments there.

RPG Maker XP has some interesting caveats, and one of the first things that I wanted to do and had difficulty finding any information on was creating a door that would open. Now, this may seem very logical to many, but I was not an avid user of RPG Maker 95 or 2000, so it seemed a bit confusing to me at first.This is a simple mini-tutorial for creating doors that open in RPG Maker XP.

Tutorial Time: 2 minutes.

Experience Level: Beginner

Scripting Experience: Not applicable

Software Requirements: RPG Maker XP

Creating doors that open is a very simple process, but for some reason there was a dearth of examples on actually doing it. So I decided to write up a simple tutorial on creating doors that open in RPG Maker XP. In this mini-tutorial, we will create a simple map with a house and door. That is it. Nothing fancy, nothing special. Just a simple door.

STEP 1: Creating the Map

Start a new project (or load an existing one if you desire). Double-click on the default map that is created with your new project and change the Tileset to “09: Castle Town”. Select layer 2 and scroll down the tiles to find the house wall. Select it and draw a house on the map. Next, select the roof right above the wall and place it on the map so that it creates a house. Now we are ready to make our door.

STEP 2: Creating the Door Event

Click on the event layer and double-click on the map where the bottom of the door should be (at the base of the house on the middle tile). The door graphic is two tiles large, so it will cover more than just this tile. It will only show up when testing, however. Name the event “Door” for this tutorial. Now double-click on the Graphic box.

Scroll down the list to “170: Door01?. Accept the default of the first closed door and click OK. Double-click in the event area and switch to tab 2. Click the “Set Move Route…” button. Select “This Event” from the drop-down to make sure that it affects this event and not the player. Now comes the repetative part.

Click the “Change Graphic…” button. Scroll down the list to “170: Door01? and select the image just below the default (1/4 open door). Click Ok. Click the “Wait…” button and accept the default of 4 frames. This will allow the door to open gradually (animated) rather than instantaneously (seemingly not animated). Repeat this step with the next two frames of the door, adding a wait to each one. When you have finished the last frame and have an open door, click Ok. Exit the event screen.

STEP 3: Testing the Door Event

Click the run button and save the project. Start a new game and walk up to the door. Press the space bar to trigger the event and open the door. Viola! You have a door that opens.

gamedev, rpg maker

Previous post Next post
Up