Godot 4.5.1

This commit is contained in:
2025-12-14 22:43:11 +10:00
parent 5805ac2260
commit 4dd1ce64f5
433 changed files with 2922 additions and 585 deletions

View File

@@ -4,10 +4,10 @@ class_name PlayerInput extends Node
@export var movement:PlayerMovement
func _process(delta: float) -> void:
if Input.is_action_just_pressed("pause"):
PAUSE.menuPause()
if Input.is_action_just_pressed("pause"):
PAUSE.menuPause()
if Input.is_action_just_pressed("interact"):
interaction.interact()
if Input.is_action_just_pressed("interact"):
interaction.interact()
movement._inputDir = Input.get_vector("move_left", "move_right", "move_back", "move_forward").normalized()
movement._inputDir = Input.get_vector("move_left", "move_right", "move_back", "move_forward").normalized()