Skip to content

Latest commit

 

History

History
43 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

43 lines (19 loc) · 1.03 KB

Trampoline-Unity

Hello to everyone! How to make with Unity Trampoline Jumper? Lets do this!

Trampoline Script

You could download "trampoline.cs". If you dont have a trampoline game object, you could add some image for trampoline. Then you could add trampoline.cs for the game object.

You can see that.

Screenshot

Bouncer == player let's do this. After you could set Velocity. Make your own game in an appropriate setting.

Trampoline Animator Could Jump Function

This is so important. If you miss this, your trampoline dont work.

Screenshot

Step 1:

Trampoline animator should have event for jump function. How to add event? Let's look screenshot.

Screenshot

Step 2:

You could select jump function. The screen is right-top.

Screenshot

Let's Jump with Character

Dont forget. You could add box-collider2d at your trampoline. Trampoline have animator. And Animator is working with your jump function.

Screenshot