Started a Godot Project to remake Tailgunner.

This commit is contained in:
KingGurke 2025-04-02 12:36:05 +02:00
commit 9621323983
67 changed files with 976 additions and 0 deletions

View file

@ -0,0 +1,11 @@
@tool
class_name PlayerController
extends FlyerController
func _physics_process(delta: float) -> void:
if not Engine.is_editor_hint():
controlled_flyer.directionInput = Vector2(Input.get_axis("plane_left","plane_right"), Input.get_axis("plane_up","plane_down"))
if InputMap.has_action("shoot_primary") and Input.is_action_just_pressed("shoot_primary"):
controlled_flyer.shoot(1)
if InputMap.has_action("shoot_secondary") and Input.is_action_just_pressed("shoot_secondary"):
controlled_flyer.shoot(2)