Files
Dawn-Godot/battle/BattleScene.tscn
2026-01-19 19:40:21 -06:00

261 lines
7.0 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://dy54m7dvjgqta"]
[ext_resource type="PackedScene" uid="uid://d1xyb0hdf1yeh" path="res://battle/fighter/BattleFighterScene.tscn" id="1_abr1f"]
[ext_resource type="Script" uid="uid://dihfp05x6pktn" path="res://battle/BattleScene.gd" id="1_acaen"]
[ext_resource type="PackedScene" uid="uid://ktmvnapibv2q" path="res://battle/ui/action/ActionBox.tscn" id="2_c3ndu"]
[ext_resource type="PackedScene" uid="uid://br2rs8skcn72l" path="res://battle/ui/action/BattleCursorIcon.tscn" id="3_7s6t6"]
[node name="BattleScene" type="Node3D" node_paths=PackedStringArray("actionBox", "battleFighterScenes", "cursorScenes")]
script = ExtResource("1_acaen")
actionBox = NodePath("UI/ActionBox")
battleFighterScenes = NodePath("Fighters")
cursorScenes = NodePath("UI/Cursors")
metadata/_custom_type_script = "uid://dihfp05x6pktn"
[node name="UI" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ActionBox" parent="UI" instance=ExtResource("2_c3ndu")]
layout_mode = 1
[node name="Battle" type="Label" parent="UI"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 12.0
text = "Battle"
[node name="Cursors" type="Control" parent="UI"]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 44.0
[node name="LeftTopBack" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 0.0
offset_top = 0.0
offset_right = 0.0
offset_bottom = 0.0
grow_horizontal = 1
grow_vertical = 1
[node name="LeftTopFront" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 4.0
offset_top = 0.0
offset_bottom = 0.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 1
[node name="RightTopFront" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 8.0
offset_top = 0.0
offset_right = 8.0
offset_bottom = 0.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 7
[node name="RightTopBack" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 12.0
offset_top = 0.0
offset_right = 12.0
offset_bottom = 0.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 6
[node name="LeftMiddleBack" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 0.0
offset_top = 4.0
offset_right = 0.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 2
[node name="LeftMiddleFront" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 4.0
offset_top = 4.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 3
[node name="RightMiddleFront" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 8.0
offset_top = 4.0
offset_right = 8.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 9
[node name="RightMiddleBack" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 12.0
offset_top = 4.0
offset_right = 12.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 8
[node name="LeftBottomBack" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 0.0
offset_top = 8.0
offset_right = 0.0
offset_bottom = 8.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 4
[node name="LeftBottomFront" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 4.0
offset_top = 8.0
offset_bottom = 8.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 5
[node name="RightBottomFront" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 8.0
offset_top = 8.0
offset_right = 8.0
offset_bottom = 8.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 11
[node name="RightBottomBack" parent="UI/Cursors" instance=ExtResource("3_7s6t6")]
layout_mode = 2
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 12.0
offset_top = 8.0
offset_right = 12.0
offset_bottom = 8.0
grow_horizontal = 1
grow_vertical = 1
battlePosition = 10
[node name="Fighters" type="Node" parent="."]
[node name="LeftTopBack" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 2, 0)
battlePosition = 0
[node name="LeftTopFront" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 2, 0)
battlePosition = 1
[node name="LeftMiddleBack" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0, 0)
battlePosition = 2
[node name="LeftMiddleFront" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0)
[node name="LeftBottomBack" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, -2, 0)
battlePosition = 4
[node name="LeftBottomFront" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, -2, 0)
battlePosition = 5
[node name="RightTopFront" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0)
battlePosition = 7
[node name="RightTopBack" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 2, 0)
battlePosition = 6
[node name="RightMiddleFront" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
battlePosition = 9
[node name="RightMiddleBack" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0)
battlePosition = 8
[node name="RightBottomFront" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, -2, 0)
battlePosition = 11
[node name="RightBottomBack" parent="Fighters" instance=ExtResource("1_abr1f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, -2, 0)
battlePosition = 10
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.79103)
current = true