What a nasty bug.
When the first playtester ran into it, I was still like: "Ah, I'll just nudge the trigger a bit and it'll be fine."
Then came the second bug report. The third. Okay — I have a real problem here.
It all started because I wanted doors and map transitions that only let you through once a specific quest is completed. If the quest isn't done, the trigger pushes the player back — always two pixels, always in the direction they came from.
The first playtester managed to walk into the trigger's left corner from the right side. Result: the trigger shoved him straight into the wall.
With the new player movement system, it actually got even easier to accidentally trigger this bug.
Fix attempt #1:
I started checking not just the player's current direction, but also their next one.
Result: Fail — the player slides right over the trigger and into the next wall.

Fix attempt #2:
I check where the walls are and place the player in front of or behind them accordingly.
Result: Fail — the player can glitch straight through the trigger.

Fix attempt #3:
I remember the player's last position before the trigger, then place them back there.
Result: Fail — the player still glitches over the trigger. WAIT A SECOND... oh no. I copied the player's position instead of saving it.
Result (for real this time): the player gets properly placed back in front of the trigger.

Not only is the game more robust now — I also cut about 100 lines of code in the process.
Add Where Are You? to your wishlist now, so you don't miss anything.

