Erste DecisionTree Struktur erstellt
parent
0ba4cee5d4
commit
3f6c10703c
|
@ -6,12 +6,12 @@ extends Node
|
||||||
@onready var camera: Camera2D = $Camera2D
|
@onready var camera: Camera2D = $Camera2D
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
if Input.is_action_just_pressed("key_1"):
|
if Input.is_action_just_pressed("key_1"):
|
||||||
camera.go_to_zooming(Vector2(-100, -50), 1.5)
|
camera.go_to_zooming(Vector2(-100, -50), 1.5)
|
||||||
if Input.is_action_just_pressed("key_2"):
|
if Input.is_action_just_pressed("key_2"):
|
||||||
camera.go_to_zooming(Vector2(200, 100), 0.4)
|
camera.go_to_zooming(Vector2(200, 100), 0.4)
|
||||||
if Input.is_action_just_pressed("key_9"):
|
if Input.is_action_just_pressed("key_9"):
|
||||||
camera.print_config()
|
camera.print_config()
|
||||||
|
|
Loading…
Reference in New Issue