hineios / FlyBoy

A boy dreams of being a superhero. One day, when he gets bitten by a fly, his dream comes true. However, nothing turned out the way he imagined!
0 stars 0 forks source link

Dash #1

Closed hineios closed 6 years ago

hineios commented 6 years ago

Add the dash mechanic to the character

hineios commented 6 years ago

Dash done in fb3a7c36ed742f7c3662318ff83b5750e7905197

needs reviewing. Added some variables to help configure the dash.

Also, do we want just forward dash? or do we want directional dash? @captainvera @jcvicente @MiguelRenda

captainvera commented 6 years ago

I had only thought about Forward dash. When Controller support is done we can experiment with directional! It might be very interesting

captainvera commented 6 years ago

@hineios já experimentei o dash! Não curti de uma cena, acho que o dash nao devia deixar uma aceleração na personagem. Quando o usamos no ar da-te alto speed boost! Parece mais um Boost que um dash qd usado no ar.

O behaviour de estar parado no ar e dar dash devia ser ele acabar o dash e parar, não continuar com full speed em frente

hineios commented 6 years ago

OK, posso olhar para isso. BTW, inglês ou portuguÊs? é um bocado estranho usar inglÊs para dizer a verdade :P

jcvicente commented 6 years ago

Dash Concept Sketch

dash concept

hineios commented 6 years ago

Dash fixed to implement the wanted behaviour on 1b9cb06a72d63d89d0e7a6697ec92b58bdfcde38.

there are several variables that can be used to teak dash behaviour such as duration and cooldown (currently set to 0.5s and 2s respectively).

captainvera commented 6 years ago

@hineios There's still currently a bug on Dash. if you spam jump while dashing when the character finally regains control it will jump but immediately after that it's speed will be reset to 0 (I'm assuming it is the reset after the end of the dash) and fall down.«

hineios commented 6 years ago

I actually have no idea how to fix that... It's a concurrency problem...

Disabling jump while dashing? doesn't seem like a nice way to handle it. I would like to jump while on a dash... what are you thoughts @captainvera ?

hineios commented 6 years ago

So, no jumping while dashing 68f52f0fcdc83f6b12feab3cc6db91efda5db67c

hineios commented 6 years ago

Requesting some testers to close the issue @captainvera @MiguelRenda @jcvicente

captainvera commented 6 years ago

Dash can't be controlled by Time or at least it can't be altered when using the SUPER. Having a different dash length in and outside of SUPER is confusing.

hineios commented 6 years ago

Yes, I noticed that. However, I still have no ideia how to fix this... I'll have to look further into it.