From f27937e6e9b6a7146dd09fc711d2d293ecf5abbf Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 14 Apr 2024 21:49:20 +0200 Subject: update --- Scenes/Entities/Objects/Box.tscn | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'Scenes/Entities/Objects/Box.tscn') diff --git a/Scenes/Entities/Objects/Box.tscn b/Scenes/Entities/Objects/Box.tscn index 6acb93f..c549618 100644 --- a/Scenes/Entities/Objects/Box.tscn +++ b/Scenes/Entities/Objects/Box.tscn @@ -6,22 +6,6 @@ [sub_resource type="RectangleShape2D" id="RectangleShape2D_rwppg"] size = Vector2(16, 16) -[sub_resource type="Animation" id="Animation_ihbs5"] -resource_name = "breaking" -length = 0.2 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("Sprite2D:modulate") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0, 0.1, 0.2), -"transitions": PackedFloat32Array(1, 1, 1), -"update": 0, -"values": [Color(1, 1, 1, 1), Color(1, 1, 0, 1), Color(1, 0, 0, 1)] -} - [sub_resource type="Animation" id="Animation_5u23n"] length = 0.001 tracks/0/type = "bezier" @@ -81,6 +65,22 @@ tracks/4/keys = { "values": [Color(1, 1, 0, 1)] } +[sub_resource type="Animation" id="Animation_ihbs5"] +resource_name = "breaking" +length = 0.2 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.1, 0.2), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Color(1, 1, 1, 1), Color(1, 1, 0, 1), Color(1, 0, 0, 1)] +} + [sub_resource type="AnimationLibrary" id="AnimationLibrary_cqvgo"] _data = { "RESET": SubResource("Animation_5u23n"), @@ -96,6 +96,7 @@ script = ExtResource("1_owgyi") shape = SubResource("RectangleShape2D_rwppg") [node name="Sprite2D" type="Sprite2D" parent="."] +modulate = Color(1, 1, 0, 1) texture = ExtResource("1_yqw0v") region_enabled = true region_rect = Rect2(144.052, 208.08, 16, 16) -- cgit v1.2.3