Raise-Your-Wand/Scenes/UI/castIndicator.tscn
nc5432 b0508379c6 Got cast indicator working
- Also added a couple of spells
- Got started on animation system
2024-05-03 07:56:32 -04:00

107 lines
2.7 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dbhep5cgrqipa"]
[ext_resource type="Texture2D" uid="uid://1duikwr2bln8" path="res://Sprites/Misc/WEAPON PACK by captainskeleto/weapon9.png" id="1_25tp1"]
[ext_resource type="Script" path="res://Scripts/castIndicator.gd" id="1_jkb2f"]
[ext_resource type="Texture2D" uid="uid://4xj273elck0d" path="res://Sprites/Spells/Ice & Fire Spells Pack by Captainskeleto/Fire Spell Pack by Captainskeleto/Fire Frame Template/Template Frame Fire.png" id="2_gfdaf"]
[node name="CastIndicator" type="Control"]
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_jkb2f")
[node name="border2" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -227.0
offset_top = -1.76886
offset_right = -182.0
offset_bottom = 43.2311
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2.6, 2.6)
texture = ExtResource("2_gfdaf")
[node name="TextureRect2" type="TextureRect" parent="border2"]
modulate = Color(1, 1, 1, 0.47451)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -64.0
offset_top = -64.0
offset_right = 64.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.192, 0.192)
pivot_offset = Vector2(64, 64)
texture = ExtResource("1_25tp1")
[node name="ColorRect" type="ColorRect" parent="border2"]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(43.8277, 43.8277)
color = Color(1, 0.945098, 0.709804, 1)
[node name="border" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -44.0
offset_top = -44.0
offset_right = 44.0
offset_bottom = 44.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(2.6, 2.6)
pivot_offset = Vector2(43.8277, 43.8277)
texture = ExtResource("2_gfdaf")
[node name="TextureRect" type="TextureRect" parent="border"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -64.0
offset_top = -64.0
offset_right = 64.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.455, 0.455)
pivot_offset = Vector2(64, 64)
texture = ExtResource("1_25tp1")
[node name="ColorRect" type="ColorRect" parent="border"]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(43.8277, 43.8277)
color = Color(1, 0.945098, 0.709804, 1)