Un menu!
Et on peut sauvegarder et charger la partie. Et oui mon kiki
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user