[gd_scene load_steps=6 format=3 uid="uid://ikvaekbnft70"] [ext_resource type="Texture2D" uid="uid://ttb1b3k07qu5" path="res://textures/world/boulder.svg" id="1_wuryf"] [sub_resource type="GDScript" id="GDScript_d7f4g"] script/source = "extends StaticBody2D var type = \"resource\" var resource_type = \"stone\" " [sub_resource type="CircleShape2D" id="CircleShape2D_fb1fv"] radius = 64.0 [sub_resource type="Animation" id="Animation_k7egg"] resource_name = "hit" length = 0.2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("body:scale") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(0.2, 0.2), Vector2(0.18, 0.18), Vector2(0.2, 0.2)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_mynaq"] _data = { "hit": SubResource("Animation_k7egg") } [node name="stone" type="StaticBody2D"] collision_layer = 3 script = SubResource("GDScript_d7f4g") [node name="collision" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_fb1fv") [node name="body" type="Sprite2D" parent="."] scale = Vector2(0.2, 0.2) texture = ExtResource("1_wuryf") [node name="animation" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_mynaq") }