This commit is contained in:
Booklordofthedings 2024-08-18 12:20:39 +02:00
parent e19e906e19
commit e1f2423761
5 changed files with 353 additions and 8 deletions

View file

@ -3,17 +3,12 @@ extends Node
@export var player : CharacterBody2D;
var current_selected = "none";
<<<<<<< HEAD
func _process(delta: float) -> void:
if Input.is_action_just_pressed("click"):
=======
@export var scale_duration: float = 0.5
var target_scale: Vector2 = Vector2(1, 1)
func _unhandled_input(event: InputEvent) -> void:
if event.is_action_pressed("click"):
>>>>>>> dev
if current_selected == "scale_up":
scale_up()
elif current_selected == "scale_down":