Trampoline Code

Create a new Event Sheet for the Trampoline

Create a group for the Bounce code.

Code Explanation

When the Player collides with the Trampoline

AND the Player is above the Trampoline

Send the Player upwards by 900 pixels by changing the Y vector

Play the Jump animation of the Trampoline

Create a group for the Reset to Idle code.

Code Explanation

When the Trampolines' Jump animation has finished playing.

Set the current animation to Idle for the Trampoline.