[gd_scene load_steps=8 format=3 uid="uid://du5c3h14wyygb"] [ext_resource type="PackedScene" uid="uid://t27td5jbdv28" path="res://bumper.tscn" id="1_dxpye"] [ext_resource type="AudioStream" uid="uid://bwy4ji0hb47n" path="res://hit.ogg" id="2_2akie"] [ext_resource type="Texture2D" uid="uid://bmra2qpibkr2u" path="res://assets/placeholders/6266.png" id="3_4ath6"] [sub_resource type="Animation" id="Animation_1ja52"] resource_name = "default" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:region_rect") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Rect2(11, 386, 14, 10)] } [sub_resource type="Animation" id="Animation_p5cxw"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:region_rect") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Rect2(11, 386, 14, 10)] } [sub_resource type="Animation" id="Animation_2akie"] resource_name = "hit" length = 0.1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:region_rect") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Rect2(69, 386, 14, 10)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_vjgm0"] _data = { &"RESET": SubResource("Animation_p5cxw"), &"default": SubResource("Animation_1ja52"), &"hit": SubResource("Animation_2akie") } [node name="Bumper-C" node_paths=PackedStringArray("hit_sound", "animation_player") instance=ExtResource("1_dxpye")] hit_sound = NodePath("Hit") animation_player = NodePath("AnimationPlayer") [node name="Hit" type="AudioStreamPlayer" parent="." index="0"] stream = ExtResource("2_2akie") [node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1"] libraries = { &"": SubResource("AnimationLibrary_vjgm0") } [node name="Sprite2D" type="Sprite2D" parent="." index="2"] texture = ExtResource("3_4ath6") centered = false region_enabled = true region_rect = Rect2(11, 386, 14, 10) [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." index="3"] position = Vector2(7, 5) polygon = PackedVector2Array(6, -4, 3, -4, -6, 1, -6, 3, -4, 3, 6, -2)