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:
parent
35ebe26340
commit
5a67d46d6f
13 changed files with 291 additions and 25 deletions
|
@ -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")
|
||||
|
|
Reference in a new issue