teil 1 - Projekt Setup mit Startbildschirm und Navigation
This commit is contained in:
12
level/level.gd
Normal file
12
level/level.gd
Normal file
@ -0,0 +1,12 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
if Input.is_key_pressed(KEY_Q) == true:
|
||||
GameManager.load_main_scene()
|
3
level/level.tscn
Normal file
3
level/level.tscn
Normal file
@ -0,0 +1,3 @@
|
||||
[gd_scene format=3 uid="uid://c2ceksy5q1g8w"]
|
||||
|
||||
[node name="Level" type="Node2D"]
|
Reference in New Issue
Block a user