Cursor example

This commit is contained in:
2026-01-17 18:03:59 -06:00
parent 8d53daace2
commit 8e0ab72185
5 changed files with 50 additions and 9 deletions

View File

@@ -5,9 +5,11 @@
[ext_resource type="PackedScene" uid="uid://ktmvnapibv2q" path="res://battle/ui/ActionBox.tscn" id="2_c3ndu"]
[ext_resource type="PackedScene" uid="uid://c4knowtushjly" path="res://battle/ui/BattleCursor.tscn" id="3_7s6t6"]
[node name="BattleScene" type="Node3D" node_paths=PackedStringArray("actionBox")]
[node name="BattleScene" type="Node3D" node_paths=PackedStringArray("actionBox", "battleCursor", "battleFighterScenes")]
script = ExtResource("1_acaen")
actionBox = NodePath("UI/ActionBox")
battleCursor = NodePath("UI/BattleCursor")
battleFighterScenes = NodePath("Fighters")
metadata/_custom_type_script = "uid://dihfp05x6pktn"
[node name="UI" type="Control" parent="."]
@@ -29,6 +31,7 @@ text = "Battle"
[node name="BattleCursor" parent="UI" instance=ExtResource("3_7s6t6")]
layout_mode = 0
anchors_preset = 0
[node name="Fighters" type="Node" parent="."]