651c4ad94a
ci / verify (push) Successful in 1m57s
Top-down twin-stick bullet-hell, Godot 4.7, server-authoritative dedicated server with client-side prediction. Clients send input only; the server resolves every hit for both players and enemies (no PvP). - SimWorld: whole simulation as plain RefCounted objects (no nodes, no physics server), ~0.24ms/tick at peak load -- runs headless for free and drives 78 tests in under a second - BulletPool: struct-of-arrays bullet storage, replicated as spawn/despawn events rather than per-tick state - Emitter framework (Ring/AimedSpread/WallGap/ArcSweep) shared by trash enemies and bosses -- a new boss is data in src/content/content.gd, no simulation changes - The Warden of the Fold: stationary 4-phase boss built entirely on that format - Lobby hub with a portal into on-demand dungeon instances; one process hosts the hub plus every concurrent dungeon - Emergency escape: 3s server-owned channel, cancelled by damage - tools/check.sh, test.sh (GUT), smoke.sh (real server + bot clients over ENet), bench.gd; git hooks wired to the same scripts - docs/ARCHITECTURE.md, NETCODE.md, WORKFLOW.md, ROADMAP.md
158 lines
4.1 KiB
Plaintext
158 lines
4.1 KiB
Plaintext
[gd_resource type="Resource" script_class="BossDef" format=3]
|
|
|
|
[ext_resource type="Script" path="res://src/actors/boss/boss_phase.gd" id="1_7m6h6"]
|
|
[ext_resource type="Script" path="res://src/sim/patterns/bullet_emitter.gd" id="2_b0fvw"]
|
|
[ext_resource type="Script" path="res://src/sim/patterns/ring_emitter.gd" id="3_f5abt"]
|
|
[ext_resource type="Script" path="res://src/sim/patterns/aimed_spread_emitter.gd" id="4_tmo3e"]
|
|
[ext_resource type="Script" path="res://src/sim/patterns/wall_gap_emitter.gd" id="5_rswgd"]
|
|
[ext_resource type="Script" path="res://src/sim/patterns/arc_sweep_emitter.gd" id="6_v02no"]
|
|
[ext_resource type="Script" path="res://src/actors/boss/boss_def.gd" id="7_x6ufy"]
|
|
|
|
[sub_resource type="Resource" id="Resource_bbcbd"]
|
|
script = ExtResource("3_f5abt")
|
|
count = 14
|
|
spin_per_shot_deg = 9.0
|
|
muzzle_offset = 46.0
|
|
interval = 45
|
|
speed = 135.0
|
|
radius = 8.0
|
|
lifetime = 420
|
|
damage = 14
|
|
|
|
[sub_resource type="Resource" id="Resource_axg03"]
|
|
script = ExtResource("4_tmo3e")
|
|
spread_deg = 26.0
|
|
muzzle_offset = 46.0
|
|
start_tick = 120
|
|
interval = 150
|
|
speed = 210.0
|
|
radius = 6.0
|
|
kind = 2
|
|
|
|
[sub_resource type="Resource" id="Resource_s17mk"]
|
|
script = ExtResource("1_7m6h6")
|
|
name = "Opening Fold"
|
|
loop_ticks = 480
|
|
telegraph_ticks = 60
|
|
emitters = Array[ExtResource("2_b0fvw")]([SubResource("Resource_bbcbd"), SubResource("Resource_axg03")])
|
|
|
|
[sub_resource type="Resource" id="Resource_0452f"]
|
|
script = ExtResource("3_f5abt")
|
|
count = 4
|
|
spin_per_shot_deg = 23.0
|
|
muzzle_offset = 46.0
|
|
interval = 9
|
|
speed = 120.0
|
|
lifetime = 480
|
|
|
|
[sub_resource type="Resource" id="Resource_1p7x0"]
|
|
script = ExtResource("5_rswgd")
|
|
count = 20
|
|
gap_step = 7
|
|
start_tick = 90
|
|
interval = 170
|
|
speed = 175.0
|
|
radius = 8.0
|
|
damage = 16
|
|
kind = 3
|
|
|
|
[sub_resource type="Resource" id="Resource_a0mrn"]
|
|
script = ExtResource("1_7m6h6")
|
|
name = "Sliding Lattice"
|
|
enter_at_hp_fraction = 0.72
|
|
telegraph_ticks = 50
|
|
emitters = Array[ExtResource("2_b0fvw")]([SubResource("Resource_0452f"), SubResource("Resource_1p7x0")])
|
|
|
|
[sub_resource type="Resource" id="Resource_pfjxl"]
|
|
script = ExtResource("6_v02no")
|
|
arms = 3
|
|
bullets_per_arm = 2
|
|
arm_spacing = 26.0
|
|
sweep_deg = 95.0
|
|
sweep_period = 5.0
|
|
interval = 5
|
|
speed = 165.0
|
|
lifetime = 400
|
|
damage = 13
|
|
|
|
[sub_resource type="Resource" id="Resource_txml3"]
|
|
script = ExtResource("4_tmo3e")
|
|
count = 7
|
|
spread_deg = 40.0
|
|
jitter_deg = 3.0
|
|
edge_speed_bonus = 0.25
|
|
start_tick = 60
|
|
interval = 110
|
|
speed = 195.0
|
|
radius = 6.0
|
|
kind = 2
|
|
|
|
[sub_resource type="Resource" id="Resource_k1e8f"]
|
|
script = ExtResource("3_f5abt")
|
|
count = 18
|
|
spin_per_shot_deg = -14.0
|
|
start_tick = 240
|
|
end_tick = 600
|
|
interval = 60
|
|
speed = 105.0
|
|
lifetime = 420
|
|
|
|
[sub_resource type="Resource" id="Resource_4sp1g"]
|
|
script = ExtResource("1_7m6h6")
|
|
name = "Reaping Arms"
|
|
enter_at_hp_fraction = 0.42
|
|
loop_ticks = 720
|
|
damage_taken_mult = 1.15
|
|
emitters = Array[ExtResource("2_b0fvw")]([SubResource("Resource_pfjxl"), SubResource("Resource_txml3"), SubResource("Resource_k1e8f")])
|
|
|
|
[sub_resource type="Resource" id="Resource_aldxl"]
|
|
script = ExtResource("3_f5abt")
|
|
count = 5
|
|
spin_per_shot_deg = 31.0
|
|
muzzle_offset = 46.0
|
|
interval = 11
|
|
speed = 130.0
|
|
turn_deg = 0.55
|
|
lifetime = 400
|
|
damage = 15
|
|
|
|
[sub_resource type="Resource" id="Resource_3fm5w"]
|
|
script = ExtResource("5_rswgd")
|
|
direction = 2
|
|
count = 16
|
|
start_tick = 40
|
|
interval = 130
|
|
speed = 200.0
|
|
radius = 8.0
|
|
damage = 18
|
|
kind = 3
|
|
|
|
[sub_resource type="Resource" id="Resource_20c8f"]
|
|
script = ExtResource("4_tmo3e")
|
|
count = 3
|
|
spread_deg = 10.0
|
|
start_tick = 100
|
|
interval = 80
|
|
speed = 300.0
|
|
radius = 5.0
|
|
damage = 16
|
|
kind = 2
|
|
|
|
[sub_resource type="Resource" id="Resource_ymr56"]
|
|
script = ExtResource("1_7m6h6")
|
|
name = "Collapse"
|
|
enter_at_hp_fraction = 0.16
|
|
loop_ticks = 420
|
|
telegraph_ticks = 60
|
|
damage_taken_mult = 1.3
|
|
emitters = Array[ExtResource("2_b0fvw")]([SubResource("Resource_aldxl"), SubResource("Resource_3fm5w"), SubResource("Resource_20c8f")])
|
|
|
|
[resource]
|
|
script = ExtResource("7_x6ufy")
|
|
id = &"warden"
|
|
display_name = "Warden of the Fold"
|
|
max_hp = 3600
|
|
radius = 42.0
|
|
spawn_pos = Vector2(0, -150)
|
|
phases = Array[ExtResource("1_7m6h6")]([SubResource("Resource_s17mk"), SubResource("Resource_a0mrn"), SubResource("Resource_4sp1g"), SubResource("Resource_ymr56")])
|