Wired up player controls to jet control surfaces; additional jet factory and game mode work

This commit is contained in:
2026-10-18 22:58:58 -05:00
parent 4462600e06
commit eedf870f77
15 changed files with 192 additions and 61 deletions
+12
View File
@@ -43,15 +43,27 @@ func create_cpu_jet(faction: int = 0) -> Jet:
func create_neutral_jet() -> Jet:
var jet = JET.new()
jet.add_child( NEUTRAL_JET.MODEL.instantiate() )
jet.faction = Globals.FACTION.NEUTRAL
jet.control_frame = NEUTRAL_JET
return jet
func create_allies_jet() -> Jet:
var jet = JET.instantiate()
jet.add_child( ALLIES_JET.MODEL.instantiate() )
jet.faction = Globals.FACTION.ALLIES
jet.control_frame = ALLIES_JET
return jet
func create_axis_jet() -> Jet:
var jet = JET.instantiate()
jet.add_child( AXIS_JET.MODEL.instantiate() )
jet.faction = Globals.FACTION.AXIS
jet.control_frame = AXIS_JET
return jet