2.5D Platformer — Double Jump #3

An extra little boost to reach new heights!

A very quick article! If you haven’t read the previous article which delves on my own implementation of this particular controller, go read it!

Adding a double jump is incredibly easy. In the same Input method, just add an else if below the normal jump conditional, check if the player has double-jumped, and add the double jump functionality there. As simple as that. There’s nothing much to say here, so I’ve commented the code with everything you need to know.




Junior Unity Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Partner with an Offshore Software Development Company?

offshore software development company

Hosting a Website with Firebase

4 Tricky Data Manipulation Operations With Python Pandas

Dropdown in Navigation using Bootstrap

A Leap in the Dark: From Covid to Coding

issues with pyenv installs

What are Metatags in HTML?🚀

Metatags,SEO and Responsive Website

Can’t we make DP simpler ?

Fun with DP

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pablo Gómez Platón

Pablo Gómez Platón

Junior Unity Developer

More from Medium

Restart level in Unity

2D Mobile: Setting Up The Player

Galaxy Shooter — Powerup Magnet

Quick tip — Enabling post-processing in Unity Universal Render Pipeline