Double-Fine-Game-Club / the-lost-dev-team

The Lost Dev Team is a puzzle platformer in which three game developers must escape a series of game prototypes.
Other
4 stars 4 forks source link

Implement elevator #13

Closed JenniBee closed 7 years ago

JenniBee commented 7 years ago

We need to implement an elevator, which will activate when an action is performed by one of the characters.

We likely should use a CollisionShape2D to block the player from entering the elevator, then use get_node("CollisionShape2D").set_trigger(true) to allow the player to pass through it.

Since Godot allows turning off nodes, once the elevator code is in place, it can easily be turned on or off by using set_trigger(true), or possibly hide it until it's activated.

JenniBee commented 7 years ago

This is now in place, thanks to the moving platform work by flesk. :)