YanikaZerafa / RunnerGame

This repository contains a 3D runner game developed using Unity 3D game engine.
0 stars 0 forks source link

Superjump #8

Open YanikaZerafa opened 8 years ago

YanikaZerafa commented 8 years ago

Higher jump power up for the player?

YanikaZerafa commented 8 years ago

Also a co routine, this power up is however slightly more complex than the mega size and mini size. The co routine is used to set the boolean variable to true only. Then if the spacebar or up arrow on the console are clicked, if the boolean is true, the code accessed has a higher jump height than the code accessed if the powerup boolean in the coroutine were false.