Contribution:
Movement - Unlock abilities - Jumping - Level design
This is a game I made for an assignment that involved designing a level, which meant we had to take a look at how to design a level and make it interesting for the player to keep playing.
The world of paper is in ruins as the book this world resides inside of is crumbling, it is up to the player to collect pages and restore the world as he passes each level, restoring more and more parts of the level as the player goes.
I added a big pickup that would act like keys to unlock new parts of the world or new levels.
I gave them a particle and once the player touches it it would reveal more parts of the world as well as reveal some secrets.
Since I wanted to make the game feel progressive and immerse the player to becoming a "hero" in the story, it would only be natural to make the player stronger and expand their moveset.
So I decided the game would reward the player with a pickup that would allow the player to unlock new movement abilities.
A standard ability in platformers are alternations in jumps, such as in speed or height.
I decided to kind of recreate the high jump mechanic from "Super Mario 64" and do something with it for my game.
Since making it a triple jump made things complicated and was unnecessary for my level at first, I decided to focus on a single high jump instead of a "triple jump".
First off, I used the new input system in unity to define the controls of the player, since I wanted to make the game available for both keyboard and mouse and controllers.
I then made some basic movement code for the movement.
This part is the setup for the jumpVariables. this code basically sets the gravity modifier for the first initiated jump and the jumps that would come after that.
The code basically allows for an infinite amount of special gravity modifiers.
Each time the player jumps, the jumpCount variable would increase and change the gravity of the character. I also made a coroutine so that the player would have to jump again in a certain amount of time to be able to pull off the high jump.
Once the character has reached the 2nd jump, the coroutine automatically resets.
Here's a preview of the high jump in-game.
Programmer
Designer