Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
EmilyAnnCoons

[XP]Making interesting doors

Recommended Posts

Okay, so, I'm not really sure what to call this lol This is the system for making doors that I use in my game, however. First, start off by making a blank event where you want your door to be. Give it a door graphic, then go into the event lines and input the following:

door1.png

The conditional branch isn't necessary, but everything else is. Now, create a new page and give it "Local Switch A: On" then input the following (make sure this event page is set to auto-run):

door2.png

Doing this will make it so that when the player opens the door, they will walk in, then, when they come back out, they will walk out of the door. Now, for the first page of the event, make the Transfer Player event one square lower then the doorway out (yes, I do mean one square lower). You want it so that when the player walks into the map, that they are covered completely by the ceiling tile.

Now, go into the building, and where you have the door create a new event. Input the following (make sure this event page is set to auto-run):

door3.png

This will set it up so that the player will actually walk up from underneath the ceiling tile, now becoming visible. You will also then hear the door shut behind the player, then allowing the player to move once more. Now, make a second page and input the following with "Local Switch A: On":

door4.png

This will make it so that the player will walk under the ceiling tile, becoming completely covered by it, then exit the door. It makes for a pretty cool effect in my own opinion, but you'll have to give it a try yourself.

 

As for a demo...I haven't uploaded it yet. I might at some point soon.

Share this post


Link to post
Share on other sites

My only gripe is that you only add "Wait 1 frame" which is too little. It's usually 4 frames. I noticed it in your game that when the doors open, they close before I even get the chance to get in. So that should be 4 frames instead of 1.

Share this post


Link to post
Share on other sites

Well, that shouldn't really be a problem anymore. I'm using a different system then I was in the last demo -points up- I just developed this like...5 minutes ago lol So it's not in the old demo. The 1 frame wait is because (on my computer) at 4 frames its slow and jaggedly opening. At 1 frame, it's a smooth opening transition. So...I'm not sure what the problem is there ^^"

Share this post


Link to post
Share on other sites

But you should post that it should be 4 frames for the people, you know? Otherwise the animation becomes too fast and look bad.

Share this post


Link to post
Share on other sites

Normally I'd agree with you since you are a chick from Egypt, but..

it doesn't matter how many frames she says, you just have to convert it to what speed your computer processes the frames

 

for me, 5 frames is 4 frames. :D

 

 

Nice tutorial Emmy!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...