a game about throwing hammers made for the github game off
Diffstat (limited to 'fx/jump.tscn')
-rw-r--r--fx/jump.tscn69
1 files changed, 69 insertions, 0 deletions
diff --git a/fx/jump.tscn b/fx/jump.tscn
new file mode 100644
index 0000000..3010854
--- /dev/null
+++ b/fx/jump.tscn
@@ -0,0 +1,69 @@
+[gd_scene load_steps=6 format=3 uid="uid://cyihdut47gar"]
+
+[ext_resource type="PackedScene" uid="uid://6o1bfy3xhjbm" path="res://fx/fx.tscn" id="1"]
+[ext_resource type="Texture2D" uid="uid://c7cnh7u3nstnh" path="res://assets/fx/jump.png" id="2"]
+
+[sub_resource type="Animation" id="1"]
+resource_name = "Animate"
+length = 0.4
+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),
+"transitions": PackedFloat32Array(1, 1, 1, 1),
+"update": 1,
+"values": [0, 1, 2, 3]
+}
+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.4),
+"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_ity0p"]
+_data = {
+"Animate": SubResource("1"),
+"RESET": SubResource("2")
+}
+
+[node name="JumpEffect" instance=ExtResource("1")]
+
+[node name="Sprite" parent="." index="0"]
+position = Vector2(0, -8)
+texture = ExtResource("2")
+hframes = 4
+frame = 1
+
+[node name="AnimationPlayer" parent="." index="1"]
+autoplay = "Animate"
+libraries = {
+"": SubResource("AnimationLibrary_ity0p")
+}