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
+7 -2
View File
@@ -1,10 +1,15 @@
extends Node2D
@export var dir: int
@export var ini_dir: int
@export var ini_grav_vec: Vector2
#var asp : AudioStreamPlayer
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
#asp = $AudioStreamPlayer
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass