Initialization of the player, now reads the Levels initial gravity and direction. Also re-worked the way switches work.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user