Moved scripts to scripts folder; added data structure for jets; further control flow work

This commit is contained in:
2026-10-18 16:06:22 -05:00
parent 708559b64a
commit a40366ca32
18 changed files with 106 additions and 51 deletions
+24
View File
@@ -0,0 +1,24 @@
class_name Player extends Node
func process(_delta: float) -> String:
if Input.is_action_just_pressed("pull_up"):
return "pull_up"
if Input.is_action_just_pressed("push_down"):
return "push_down"
if Input.is_action_just_pressed("yaw_left"):
return "yaw_left"
if Input.is_action_just_pressed("yaw_right"):
return "yaw_right"
if Input.is_action_just_pressed("roll_left"):
return "roll_left"
if Input.is_action_just_pressed("roll_right"):
return "roll_right"
return ""
func physics_process(_delta: float) -> String:
return ""
func unhandled_input(_event: InputEvent) -> String:
return ""