A and D to rotate

Hold and release spacebar to push yourself away.

The three functions implemented are rotation, push, and reset rotation.

I used parameters for the pushing function, the force with which the character advances depends on how often the player presses the spacebar, and in addition to that the cooldown between advances is also parameterized. This makes it easier to adjust.

Return is also used in the push function to prevent the script runs when the cooldown is not over.

Creative requirement details:

    My original idea was to make a game where platform jumping was based on the direction of gravity of a black hole affecting the player's actions, and then set up platforms that were both helpful to prevent you from falling but also can be obstacles at the same time.

Updated 4 days ago
StatusReleased
PlatformsHTML5
AuthorJinqi Chang
Made withUnity

Leave a comment

Log in with itch.io to leave a comment.