Add a savegame system using slots and a main menu, allow player to move RigidBody2Ds using apply_impulse(), increased physics tick, enabled FXAA, and more.

This commit is contained in:
ChaoticByte 2024-10-01 23:19:37 +02:00
parent 35ebe26340
commit 5a67d46d6f
No known key found for this signature in database
13 changed files with 291 additions and 25 deletions

View file

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