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

5 lines
136 B
GDScript

extends Node2D
func _on_area_2d_body_entered(body: Node2D) -> void:
if body == Levels.player:
Levels.load_entrypoint("intro_start")