Resolve pending gameplay tickets

This commit is contained in:
Loïc Wisniewski 2026-09-02 13:43:56 +02:00
commit c2ebbfaa2d
28 changed files with 618 additions and 188 deletions

View file

@ -13,7 +13,9 @@ enum State { NEUTRAL, BLOCKED, CAPTURING, CAPTURED }
@export var point_index: int = 0
@export var capture_radius: float = 220.0
@export var capture_time: float = 8.0
# #177: holding an already-cleared point should resolve briskly. Eight seconds
# made every point feel like waiting after the fight was over.
@export var capture_time: float = 4.0
@export var enemy_clear_radius: float = 700.0
@export var drain_rate: float = 0.5

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=19 format=3]
[gd_scene load_steps=20 format=3]
[ext_resource type="Script" path="res://controllers/GameController.gd" id="1"]
[ext_resource type="PackedScene" path="res://surface/SurfaceBackground.tscn" id="3"]
@ -11,6 +11,7 @@
[ext_resource type="Script" path="res://controllers/FireStickController.gd" id="fire_ctrl"]
[ext_resource type="Script" path="res://controllers/GasBombController.gd" id="14"]
[ext_resource type="Script" path="res://controllers/LaserController.gd" id="16"]
[ext_resource type="Script" path="res://controllers/DashController.gd" id="dash_ctrl"]
[ext_resource type="Script" path="res://ui/SpeedFader.gd" id="17"]
[ext_resource type="Script" path="res://surface/CaptureLabel.gd" id="15"]
[ext_resource type="Script" path="res://ui/NarrationBanner.gd" id="banner"]
@ -39,6 +40,9 @@ script = ExtResource("mouse_ctrl")
[node name="LaserController" type="Node2D" parent="."]
script = ExtResource("16")
[node name="DashController" type="Node2D" parent="."]
script = ExtResource("dash_ctrl")
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(0, 0)
zoom = Vector2(1, 1)
@ -205,8 +209,25 @@ anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -196
offset_right = -100
offset_top = -492
offset_bottom = -396
offset_top = -548
offset_bottom = -452
[node name="DashButton" type="Control" parent="UI"]
visible = false
mouse_filter = 2
script = ExtResource("6")
round_frame = true
icon = 45
glow_color = Color(0.54, 0.62, 0.05, 1)
core_color = Color(0.02, 0.09, 0.15, 1)
anchor_left = 1.0
anchor_right = 1.0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -452
offset_right = -356
offset_top = -548
offset_bottom = -452
[node name="PivotCCWButton" type="Control" parent="UI"]
mouse_filter = 2
@ -219,8 +240,8 @@ anchor_left = 1.0
anchor_right = 1.0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -468
offset_right = -364
offset_left = -620
offset_right = -516
offset_top = -130
offset_bottom = -26
@ -238,8 +259,8 @@ anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -324
offset_right = -228
offset_top = -424
offset_bottom = -328
offset_top = -548
offset_bottom = -452
[node name="GasBombStatus" type="Label" parent="UI"]
mouse_filter = 2
@ -273,6 +294,24 @@ offset_right = -24
offset_top = -616
offset_bottom = -568
[node name="DashStatus" type="Label" parent="UI"]
mouse_filter = 2
theme_override_font_sizes/font_size = 18
theme_override_colors/font_color = Color(0.54, 0.62, 0.05, 1)
theme_override_colors/font_outline_color = Color(0.95, 0.95, 0.96, 0.85)
theme_override_constants/outline_size = 4
autowrap_mode = 2
horizontal_alignment = 1
text = ""
anchor_left = 1.0
anchor_right = 1.0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -500
offset_right = -104
offset_top = -672
offset_bottom = -624
[node name="PivotCWButton" type="Control" parent="UI"]
mouse_filter = 2
script = ExtResource("6")
@ -284,8 +323,8 @@ anchor_left = 1.0
anchor_right = 1.0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -356
offset_right = -252
offset_left = -508
offset_right = -404
offset_top = -130
offset_bottom = -26