feat: add double-barrel shotgun weapon, player movement state machine, and procedural sound assets
This commit is contained in:
@@ -24,6 +24,10 @@ func enter(_data: Dictionary = {}) -> void:
|
||||
elapsed = 0.0
|
||||
_last_dash_time = now
|
||||
|
||||
var player := machine.player
|
||||
if player.dash_player:
|
||||
player.dash_player.play()
|
||||
|
||||
# Direction: use wish direction if available, else player forward
|
||||
var wish := machine.wish_dir_world
|
||||
if wish.length_squared() > 0.01:
|
||||
|
||||
Reference in New Issue
Block a user