Files
CosmicClash/Game/scenes/arena_03.tscn
T
Josh Creek 08a0f74391 refactor(*): DRY up arena scenes, game modes, and HUD instruments
Arenas inherit from a new arena_base.tscn instead of restating ~40 shared
lines each; only sky/ambient/glow/tint/decoration vary, exposed via new
Arena exports since nested Environment properties aren't overridable
through scene inheritance. Bot construction and score-keeping move onto
GameMode, shared by match and spectate modes while preserving their
differing GameSettings-override behavior and the HUD's score-row
duck-typing. HUD instruments share a HudInstrument base for the
smoothing-weight calc and angle-lerp helper. Also dedupes
MAIN_MENU_SCENE_PATH into ScenePaths and documents why DIFFICULTIES
tiers share one checkpoint.
2026-08-04 15:07:33 +01:00

25 lines
825 B
Plaintext

[gd_scene load_steps=4 format=3]
[ext_resource type="PackedScene" path="res://scenes/arena_base.tscn" id="1_base"]
[ext_resource type="Shader" path="res://shaders/sky_asteroid_field.gdshader" id="7_asteroid"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_asteroid"]
shader = ExtResource("7_asteroid")
[node name="Arena" instance=ExtResource("1_base")]
sky_material = SubResource("ShaderMaterial_asteroid")
ambient_light_color = Color(0.6, 0.45, 0.3, 1)
ambient_light_energy = 0.3
[node name="Boundary" parent="." index="0"]
field_tint = Color(1, 0.72, 0.4, 1)
field_intensity = 0.09
[node name="DirectionalLight3D" parent="." index="1"]
light_color = Color(1, 0.85, 0.65, 1)
[node name="FillLight" parent="." index="2"]
light_color = Color(0.55, 0.4, 0.3, 1)
[node name="Decoration" type="Node3D" parent="."]