Lesson 3: Finish the Prototype

This part of the tutorial continues to borrow heavily from Emanuele Feronato’s tutorial “Create a game like Spring Ninja with Unity.”

rotationFinish the Prototype

Currently our ninja lands on a pole,  jumps, and falls to his death – not much of a game. Click on your ninjaPrefab and check the Y axis constraint to prevent the game Object from rotating.

Then, in the steps below, add the highlighted code to your existing scripts to finish building a complete “infinite jumper” style game.

The following lessons will involve customizing and polishing this game into a unique playing experience.

MainScript.cs

PoleScript.cs

NinjaScript