Et on peut sauvegarder et charger la partie.
Et oui mon kiki
This commit is contained in:
Thomas
2025-03-29 22:28:24 +01:00
parent 95c45dcdb8
commit 8edd4bdf45
10 changed files with 98 additions and 17 deletions

View File

@@ -83,6 +83,9 @@ func stop_interaction():
func get_feet_global_position():
return global_position + Vector2(0, 43)
func set_feet_global_position(p : Vector2):
global_position = p - Vector2(0, 43)
func pause_or_stop_interaction_clue():
if interactionZone:

View File

@@ -32,6 +32,7 @@ func _unhandled_input(event: InputEvent) -> void:
pathFinder.destination = get_global_mouse_position()
func _process(delta) -> void:
GameState.player_positions = human.get_feet_global_position()
ray.target_position = human.last_facing_direction * 48
if human.last_facing_direction.y > 0 :