Log In  

Can someone help me with the doors? I'm having trouble making the player go the the next room with the new doors

P#8573 2014-03-25 00:22 ( Edited 2014-04-25 22:10)

:: zep

There are two vital things to know about new doors until the documentation catches up:

  1. The 'destination' number is the id of another door (not a room number). Click on a room object to see the object's id in the object's properties box on the right.

  2. They are one-sided. You need to make sure they are facing into the room.

Here's a two-room example. I drew an arrow onto the door's marker (shown in the editor but not in-game) so that it's clear which way the door is facing. Of course, if you were going to show an arrow to the player, you'd probably want to flip it :)

P#8577 2014-03-25 17:23 ( Edited 2014-03-25 21:23)
:: kibcob

thanks zep, the new update with the doors was really confusing

P#8580 2014-03-25 17:54 ( Edited 2014-03-25 21:54)
:: D

Hi Zep,

I'm at a loss with the doors. I see that you can make any object into a door, but in the items the doors are still present. Can the doors in the Items even be used, they don't show a destination?
How do you even use them?

P#8680 2014-04-11 22:30 ( Edited 2014-04-12 02:30)
:: D

I'm trying to make custom door to teleport into a hole in the ground and then reappear falling into the next room. I've tried everything and can't get it right.

P#8683 2014-04-12 16:10 ( Edited 2014-04-12 20:10)
:: zep

Hey D

I'm working on a tutorial for doors which will hopefully explain everything you need to know. But here's a quick example of the kind of thing you're after (you'll need to update to 0.2.11):

If you want to change the properties of the doors, either just modify the default objects or copy them to use as templates. The first door has 'sci-fi' warp turned off, and the 'destination' number set to the object id of the receiving door. To find out the object id of any object, select it in the room and look at the object property box (it will say something like door #3).

I had to leave the old doors in temporarily to support legacy levels, but will be able to remove them entirely in 0.2.12. Unfortunately there's no longer any way to set the destination room for legacy doors, sorry!

P#8722 2014-04-19 16:51 ( Edited 2014-04-19 20:51)
:: D

Thanks for the example Zep. I will post a mini game soon.

P#8735 2014-04-25 18:10 ( Edited 2014-04-25 22:10)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-05-31 22:43 | 0.011s | 2097k | Q:21