RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
How to make a realistic door

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
Postality Knight only because of the different words they use.

For this tutorial you will make a door that opens, then the character dissapears inside and then the door closes.

Making the Event
1- Make a new event and name it "Door"(or your likings) on the "Options" box put a check on "No Animation" and on "Trigger" box put "Action Key",on the Movement pattern put these: "Type" = none, "Speed" = Slow, "Frequency" = Low,
(On the graphic put any of the doors except the 173 and 171 but put the door that is at the top of the graphic picture)

Event Commands(1st page)
2- Make a "Move Event" that makes this event face down, then left, then right, then up, after that put a wait command of 5 frames(not inside of the move event box), make another "Move Event" except that the player moves up then make a "Local Switch Operation" that turns A ON.

Should look something like this(1st Page)

http://i119.photobucket.com/albums/o144/elfy99803/tutorial1.jpg


The Second Page(2nd page)
3- Okay on the 2nd select the graphic you put for the 1st page except pick the door at the bottom(4th one the open one) of the door you picked, on the options box:
(also you have to check the box next to local switch on the preconditions)

---Options------
check "No animations"
also check "Phasing"

on the trigger box put:
-----Trigger-----
select the "Hero Touch"

On the movement pattern box
-----Movement Pattern-----
type = none
speed = slow
frequenzy = low

4- On the Event Commands box first a wait of 5 frames, and then you put the change hero graphic(select the hero being used to walk around)
and put him to have no sprite or battle image(None) make the same "Move Event" to this event and make it face up, right, left, down, then put again a wait of 5 frames (edited thx to Zeriab) next put the local switch A = OFF before putting the teleport spot, then add the "teleport" event to go to the spot being teleported, also you put back the Change Hero Graphic(same hero that you changed the graphics for)  and put him the same sprite and battle image you had previously.

Zeriab also suggested instead of changing the graphic just change his opacity on the move event to where you change the graphics.

this is how the 2nd page should look(if putting the character graphic change)

http://i119.photobucket.com/albums/o144/elfy99803/tutorail2edited.jpg

this is how the 2nd page would look if you change the opacity instead of the graphics

http://i119.photobucket.com/albums/o144/elfy99803/tutorial2-1.jpg



one thing you have to know to make this work is do not put any tile under this event that the character can not walk through for example:

Correct                               Wrong



for all of the move events leave the "Repeating" and the  "Ignore Impossible Moves" unchecked.

now click OK and test it out, if it doesnt work then just put what the pictures show or reread it again.
(I also noticed i mest up in 1 part so i fixed it with the help of Zeriab)

« Last Edit: November 28, 2007, 01:09:10 AM by elfyelf »

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
It is a good attempt ^_^

I see really no reason why you are using two pages unless you want the door to stay open after the first time you use it. Yes, it does stay open as it is.
You must turn the self-switch off before you teleport to the new map. Don't worry, it will still process the rest of the event.
Put the change of the hero graphics just before the teleport. This way the hero will be on the other map and not appear a little later. It just looks better ^^

You could simple put the whole thing on one page. That way you won't have to worry about the self-switches. It is easier to understand.
If you put the whole on 1 page remember to use the move event command on This Event to set phasing or through (or whatever it is called) on. This is so the player can walk on to the event.
Don't worry, when you go back to the level it will reset.

You should change the way you make the hero disappear. Use the move event on the player and change the opacity to 0 instead of removing the hero graphics. When you want the hero to appear change the opacity to 255.
This way the hero graphic can be any possible graphics. It is more dynamic ;)


Notice how the door you chose looks like. With this type of door you usually just walk into it. This is a matter of preference, but I suggest that simply walking into the door will activate it instead of the player having to press enter.
With a wooden door I would design it so that the player has to press enter.

Another thing is fiddling around the wait so the door feels nice to go into and out of.
I like that you have not made the mistake of making the door too slow. The player will get irritated when the general doors are too slow to open.
You can make doors react a little slower. If a door acts different from the usual doors it tells the player that there is something special inside. Use this for narrative purposes.
I know, I know. That is a lot of thought put into something as simple as a door. The thing is that players do notice if you spend a lot of care on little things like this. They may not be able to express it, but it just makes the game that little bit better ;)

*hugs*
 - Zeriab

**
Rep:
Level 86
your right i never thought of changing the opacity, but mine doesnt stay open it goes well, except i didnt think of putting in 1 page.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
It does stay open of you transfer to another map. Or rather, it is open when you come back.
Just test it out and you will see ^^

**
Rep:
Level 86
yeah i know the local switch A = OFF is suppose to be before the teleport command, i changed it know.