Created example scene (intro.tscn)

This commit is contained in:
ChaoticByte 2024-09-28 14:44:17 +02:00
parent 71eae88a33
commit 8d313bf2c2
No known key found for this signature in database
4 changed files with 36 additions and 5 deletions

5
levels/intro.gd Normal file
View file

@ -0,0 +1,5 @@
extends Node2D
func _on_area_2d_body_entered(body: Node2D) -> void:
if body == Levels.player:
Levels.load_entrypoint("intro_start")