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
+8
View File
@@ -1 +1,9 @@
class_name BaseGameMode extends Node
var ALLIES_COUNT: int = 10
var AXIS_COUNT: int = 10
var NEUTRAL_COUNT: int = 10
var SPAWN_COUNT: int = 16
var LIFE_CHIPS_COUNT: int = 200
var WAVES: int = 5
+9
View File
@@ -1 +1,10 @@
class_name DogFight extends BaseGameMode
func _init() -> void:
SPAWN_COUNT = 16
LIFE_CHIPS_COUNT = SPAWN_COUNT * 3
func _ready() -> void:
pass
+5
View File
@@ -1 +1,6 @@
class_name DogFightWaves extends BaseGameMode
func _init() -> void:
pass
+2 -2
View File
@@ -11,9 +11,9 @@ const MODES: Dictionary = {
"Dog Fight Waves:1"
) var mode: int = 0
@export var jetFactory: JetFactory
@export var jet_factory: JetFactory
func _ready() -> void:
#MODES[mode].instantiate()
jetFactory.create_player_jet(Globals.FACTION.ALLIES)
jet_factory.create_player_jet(Globals.FACTION.ALLIES)