a game about throwing hammers made for the github game off
Diffstat (limited to 'fx/wall_dust.tscn')
| -rw-r--r-- | fx/wall_dust.tscn | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/fx/wall_dust.tscn b/fx/wall_dust.tscn new file mode 100644 index 0000000..a062964 --- /dev/null +++ b/fx/wall_dust.tscn @@ -0,0 +1,68 @@ +[gd_scene load_steps=6 format=3 uid="uid://batisas75bpt0"] + +[ext_resource type="PackedScene" uid="uid://6o1bfy3xhjbm" path="res://fx/fx.tscn" id="1_4c41e"] +[ext_resource type="Texture2D" uid="uid://cky7hbmx1auqh" path="res://assets/fx/wall_dust.png" id="2_inful"] + +[sub_resource type="Animation" id="1"] +resource_name = "Animate" +length = 0.5 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1), +"update": 1, +"values": [0, 1, 2, 3, 4] +} +tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath(".") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0.5), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"queue_free" +}] +} + +[sub_resource type="Animation" id="2"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [1] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_ct4ki"] +_data = { +"Animate": SubResource("1"), +"RESET": SubResource("2") +} + +[node name="WallDustEffect" instance=ExtResource("1_4c41e")] + +[node name="Sprite" parent="." index="0"] +texture = ExtResource("2_inful") +hframes = 5 +frame = 1 + +[node name="AnimationPlayer" parent="." index="1"] +autoplay = "Animate" +libraries = { +"": SubResource("AnimationLibrary_ct4ki") +} |