I tried making a "Pressure Plate" that triggers traps using these events:
Player is overlapping Pressure_Plate | Pressure_Plate is set to Movable
x Player is overlapping Pressure_Plate | Pressure_Plate is set to imMovable
Pressure_Plate.current_position >= Pressure_Plate.starting_position + 10 | Trap is "activated"
I also made a mediocre "Trampoline" with this event:
Player on collision with Trampoline | -20 Y Impulse force on Player
The problem is that it applies the Impulse whenever the player collides regardless of where it collides. If it collides from the bottom, the player is still flung upwards.
While this works to a certain degree, I'm not satisfied with it.
I'd like to create a pressure plate that sinks SLOWLY and SNAPS BACK INTO PLACE after a certain amount of time.
Since we're talking about pressure plates, does anyone have CAPX examples of other hazards you'd normally see in platformers?
-platforms that follow paths like in Super Mario World
-Collapsing Blocks when player stands on them for a certain amount of time.
-Trampolines that sink before applying Impulse force on player
Thank you to who ever provides examples.