asim-shrestha / showdown

A 2D platformer battle royal made with Unity. Play against friends and foe through multiple "Showdowns" until one player is ultimately victorious.
3 stars 0 forks source link

1 smoke effect #2

Closed seannam1218 closed 4 years ago

seannam1218 commented 4 years ago

Made a particle effect that plays when player jumps. There is a bug where the number of available jumps refreshes before the character lands on the ground. When said bug is fixed, the smoke effect should only play from the ground and not in the air.

P.S. I tried getting particle effect to work when landing instead of jumping, as this would also make sense. However, the raycast isGrounded detection seems to be not working correctly, which would explain the bug explained above.