summaryrefslogtreecommitdiff
path: root/Scenes/Damage.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Damage.tscn')
-rw-r--r--Scenes/Damage.tscn65
1 files changed, 65 insertions, 0 deletions
diff --git a/Scenes/Damage.tscn b/Scenes/Damage.tscn
new file mode 100644
index 0000000..2265ceb
--- /dev/null
+++ b/Scenes/Damage.tscn
@@ -0,0 +1,65 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://Assets/AlegreyaSansSC-ExtraBold.ttf" type="DynamicFontData" id=1]
+
+[sub_resource type="DynamicFont" id=30]
+size = 48
+outline_size = 2
+outline_color = Color( 0.380392, 0, 0, 1 )
+font_data = ExtResource( 1 )
+
+[sub_resource type="Animation" id=31]
+resource_name = "Fade"
+tracks/0/type = "value"
+tracks/0/path = NodePath("Label:rect_position")
+tracks/0/interp = 1
+tracks/0/loop_wrap = true
+tracks/0/imported = false
+tracks/0/enabled = true
+tracks/0/keys = {
+"times": PoolRealArray( 0, 0.8 ),
+"transitions": PoolRealArray( 1, 1 ),
+"update": 0,
+"values": [ Vector2( 0, -49 ), Vector2( 0, -113 ) ]
+}
+tracks/1/type = "value"
+tracks/1/path = NodePath("Label:modulate")
+tracks/1/interp = 1
+tracks/1/loop_wrap = true
+tracks/1/imported = false
+tracks/1/enabled = true
+tracks/1/keys = {
+"times": PoolRealArray( 0, 0.8 ),
+"transitions": PoolRealArray( 1, 1 ),
+"update": 0,
+"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
+}
+tracks/2/type = "value"
+tracks/2/path = NodePath("Label:visible")
+tracks/2/interp = 1
+tracks/2/loop_wrap = true
+tracks/2/imported = false
+tracks/2/enabled = true
+tracks/2/keys = {
+"times": PoolRealArray( 0, 0.8 ),
+"transitions": PoolRealArray( 1, 1 ),
+"update": 1,
+"values": [ true, false ]
+}
+
+[node name="Damage" type="Control"]
+margin_left = 13.0
+margin_top = -63.0
+margin_right = 53.0
+margin_bottom = -23.0
+
+[node name="Label" type="Label" parent="."]
+margin_top = -49.0
+margin_right = 38.0
+grow_vertical = 0
+custom_colors/font_color = Color( 1, 0, 0, 1 )
+custom_fonts/font = SubResource( 30 )
+text = "-6"
+
+[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
+anims/Fade = SubResource( 31 )