This repository has been archived on 2025-09-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rectangular/levels/intro.gd

6 lines
136 B
GDScript3
Raw Normal View History

2024-09-28 14:44:17 +02:00
extends Node2D
func _on_area_2d_body_entered(body: Node2D) -> void:
if body == Levels.player:
Levels.load_entrypoint("intro_start")