Refactor cutscene queue
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dy54m7dvjgqta"]
|
||||
[gd_scene load_steps=4 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/ActionBox.tscn" id="2_c3ndu"]
|
||||
|
||||
[node name="BattleScene" type="Node3D" node_paths=PackedStringArray("fighterTopLeftBack", "fighterTopLeftFront", "fighterMiddleLeftBack", "fighterMiddleLeftFront", "fighterBottomLeftBack", "fighterBottomLeftFront", "fighterTopRightBack", "fighterTopRightFront", "fighterMiddleRightBack", "fighterMiddleRightFront", "fighterBottomRightBack", "fighterBottomRightFront")]
|
||||
[node name="BattleScene" type="Node3D" node_paths=PackedStringArray("actionBox", "fighterTopLeftBack", "fighterTopLeftFront", "fighterMiddleLeftBack", "fighterMiddleLeftFront", "fighterBottomLeftBack", "fighterBottomLeftFront", "fighterTopRightBack", "fighterTopRightFront", "fighterMiddleRightBack", "fighterMiddleRightFront", "fighterBottomRightBack", "fighterBottomRightFront")]
|
||||
script = ExtResource("1_acaen")
|
||||
actionBox = NodePath("UI/ActionBox")
|
||||
fighterTopLeftBack = NodePath("Fighters/LeftTopBack")
|
||||
fighterTopLeftFront = NodePath("Fighters/LeftTopFront")
|
||||
fighterMiddleLeftBack = NodePath("Fighters/LeftMiddleBack")
|
||||
@@ -19,13 +21,18 @@ fighterBottomRightBack = NodePath("Fighters/RightBottomBack")
|
||||
fighterBottomRightFront = NodePath("Fighters/RightBottomFront")
|
||||
metadata/_custom_type_script = "uid://dihfp05x6pktn"
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
[node name="UI" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Control"]
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user