rajouter des bus pour les différents audios
This commit is contained in:
@@ -99,7 +99,7 @@ can_walk_on_roads = true
|
||||
[node name="FeetSound" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("8_73an3")
|
||||
autoplay = true
|
||||
stream_paused = true
|
||||
bus = &"player_foot_step"
|
||||
playback_type = 1
|
||||
|
||||
[connection signal="loadFromGameState" from="." to="controleur" method="_on_character_body_2d_load_from_game_state"]
|
||||
|
||||
@@ -10,6 +10,7 @@ extends Node2D
|
||||
var can_interact_with : Node2D
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
print(human.get_feet_global_position())
|
||||
human.stop_interaction()
|
||||
human.velocityVector = Vector2(0, 0)
|
||||
human.wants_to_grab = false
|
||||
|
||||
Reference in New Issue
Block a user