Key/door

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

Here's a new gameplay element - a key.

The key (unlike other pickable-uppable objects) will be picked up when you walk over it. No need for button+direction.  And when you walk into a locked door, the key will automatically drop and unlock the door. It works OK gameplay-wise.

You can carry a key through a teleport and use it there, but you can't leave the key there and come back - rooms reset when you exit.  So, the earlier idea of carrying lots of objects to other rooms won't work unfortunately. It will always be only one object at a time. So be it.


Andrew Davie

A bit of attention to detail...

I've animated the carried object so that it is lowered as you enter the teleport, and picked up again when you exit on the new screen. I've done the same for the key, sort of.  The door now opens when you use the key on it, instead of flashing. And when you walk through, you literally walk through, fading out and the door closes behind you. I like it.


Andrew Davie

Here's a binary.

What you're looking at, if you're interested, is the behaviour of the teleport and key.  Also walking through the door with and without picked-up objects (boulders, key, geodoge, etc). You should be able to carry an object to wherever room you end up.

Note that there are 100 rooms installed, in groups of 10. Typically the first (A0, B0, C0...) will be a meaningful cave with some content.  All the others are a fairly empty test cave with a teleport, a door, and a key.  Use select/reset to skip to the next room.

A teleport will take you to a random "teleport receiving room" within the same block of 10.