fuck it, jump particles while we are at it haha

This commit is contained in:
Haze Weathers 2023-01-16 07:52:08 -05:00
parent 8212e44044
commit 1d76d93aed
2 changed files with 41 additions and 1 deletions

View file

@ -8,6 +8,7 @@ onready var anims = $AnimationPlayer
onready var sword_sprite = $SwordSprite
onready var sword_hitbox = $SwordArea
onready var death_particles = $DeathSplatter
onready var dust_particles = $DustParticles
#Map
onready var map = get_owner()
##States
@ -193,6 +194,8 @@ func check_jump():
if current_state == State.CLIMB:
Game.ac_climb.set_stream(null) # stop climb sound
position.x -= sprite.scale.x * 5
else:
dust_particles.restart()
anims.set_speed_scale(1)
# Jump
can_doublejump = true