1
0
Fork 0

Erste DecisionTree Struktur erstellt

main
Luca 2025-01-04 13:48:13 +01:00
parent 0ba4cee5d4
commit 3f6c10703c
1 changed files with 7 additions and 7 deletions

View File

@ -6,12 +6,12 @@ extends Node
@onready var camera: Camera2D = $Camera2D
func _ready() -> void:
pass
pass
func _process(delta: float) -> void:
if Input.is_action_just_pressed("key_1"):
camera.go_to_zooming(Vector2(-100, -50), 1.5)
if Input.is_action_just_pressed("key_2"):
camera.go_to_zooming(Vector2(200, 100), 0.4)
if Input.is_action_just_pressed("key_9"):
camera.print_config()
if Input.is_action_just_pressed("key_1"):
camera.go_to_zooming(Vector2(-100, -50), 1.5)
if Input.is_action_just_pressed("key_2"):
camera.go_to_zooming(Vector2(200, 100), 0.4)
if Input.is_action_just_pressed("key_9"):
camera.print_config()