I Was Warned About The Stairs, Bro

Alright, I’ve been working on this issue for ages but I just can’t seem to figure out a solution. I have a part of my level that requires going up stairs. I need part of the second floor (the first six blocks to the right of the stairs) to be solid when you’re walking on it but not when you’re going up and down the stairs. I can’t seem to get any toggles to work to let you go back down the stairs. Any suggestions or ideas would be appreciated. An explanation of how the dang toggle switch works would be great too >_<

PS I apologize for the roughness of the movement up and down the stairs. Just keep going back and forth and you should make it up to the second floor. I’d love to know how other people made stairs work…TIA!

http://www.flowlab.io/game/play/192306

i recently played a game like this, its actually a lot like it, its called the dark detective

Why not have it to where if its detected with a proximity you can press up or down and teleport between floors, but you would have to make the stairs seperate

So stairs in any platform game are tricky, which you are discovering :slight_smile: The type you are building is especially so, since it’s not easy to figure out whether the player wants to move across the top or down the stairs from the second floor.

Here’s an example using a more “Castlevania” style, where you have to press down to go down the stairs:

http://flowlab.io/game/view/527566

The stairs work like this:

If you touch the front of a step, it bounces you up one step and deactivates the floor at the top of the stairs for 1.5 seconds.

If you press the down arrow, it also deactivates the floor at the top of the stairs so you can go down if desired.

Thanks for all the ideas guys! I’ll let you know when I come up with a decent solution…lol. Hey henf25, can you give me a link to that game?

kongregate.com/games/spookydoorway/the-darkside-detective
the thing that is alike is the game play, like how you pick stuff up to do diff things and talk to npc’s to do different stuff. and the art style is kind of similar. This game in my opinion kindof seems like a mystery version of your game.
@Rogue0fVoid

Very cool! I like it

Ahhh! <3 I loved that. The point-and-click, the pixel art, the fourth-wall-breaking asides. What an awesome little game. Thanks for linking it.

No problem! @Rogue0fVoid