fruit-jump/hammer.tscn
2025-02-10 17:00:17 +01:00

80 lines
2.2 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://b658j7g1ecl4u"]
[ext_resource type="Texture2D" uid="uid://cxjasuacuo5gm" path="res://level/scene/hammer.png" id="1_ba5u1"]
[sub_resource type="Animation" id="Animation_w1sol"]
resource_name = "1"
length = 2.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatableBody2D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(-0.0333333, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [6.28319, -6.28319]
}
[sub_resource type="Animation" id="Animation_rqqrj"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatableBody2D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_g5qv1"]
_data = {
"1": SubResource("Animation_w1sol"),
"RESET": SubResource("Animation_rqqrj")
}
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_olstc"]
friction = 0.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qj68p"]
size = Vector2(62.5, 28)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fxxo5"]
size = Vector2(22.5, 129)
[node name="hammer" type="Node2D"]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_g5qv1")
}
autoplay = "1"
[node name="AnimatableBody2D" type="AnimatableBody2D" parent="."]
physics_material_override = SubResource("PhysicsMaterial_olstc")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="AnimatableBody2D"]
position = Vector2(-3.5, 210)
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_qj68p")
[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D"]
position = Vector2(-2.49999, 110)
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_fxxo5")
[node name="Hammer" type="Sprite2D" parent="AnimatableBody2D"]
texture_filter = 1
position = Vector2(-3.99997, 0.999999)
rotation = -0.000666583
scale = Vector2(4, 4)
texture = ExtResource("1_ba5u1")
offset = Vector2(0.666667, 27.3333)