KucherenkoSerhiy / Microworld

4 stars 0 forks source link

Improvement Dash Ability #4

Open adriaaula opened 6 years ago

adriaaula commented 6 years ago

With a button, the character is able to dash forward, a useful ability for platforming in general.

A brief recommendation: use the Movie Ability structure as a first draft.

  1. Create the Ability (with Args, structure...).

  2. Assign it to a keybinding.

AdriaPerezCulubret commented 6 years ago

Status: Kind of works, still a bit buggy.

Basically, I copied the script from JumpAbility. The problem is that it uses IsGrounded, and if it dashes without separating from the floor, it sets IsGrounded to False, and doesn't allow for subsequent dashes or jumps. Need to define a new logic apart from IsGrounded

adriaaula commented 6 years ago

Dash is shieeeeeettttttttt

🦊

I will try to help out!