Initialization of the player, now reads the Levels initial gravity and direction. Also re-worked the way switches work.

This commit is contained in:
2024-01-23 10:16:50 -08:00
parent d4e97136b3
commit 88968b3871
6 changed files with 77 additions and 45 deletions
+11
View File
@@ -0,0 +1,11 @@
extends Area2D
@export var type: int # 0, end 1 abyss, 2 gravity
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass