forked from 2121578/gai-ca2
Erste DecisionTree Struktur erstellt
parent
0ba4cee5d4
commit
3f6c10703c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue