[gd_scene load_steps=12 format=3 uid="uid://brgg1rpqv3dve"] [ext_resource type="Texture2D" uid="uid://cqghjumt3arwm" path="res://level/scene/drück.png" id="1_l2uvq"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_xk2qf"] size = Vector2(456, 20) [sub_resource type="Animation" id="Animation_gc65e"] length = 3.0 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("AnimatableBody2D3:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0.0333334, 2.1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(0, 220)] } [sub_resource type="Animation" id="Animation_h4a2o"] resource_name = "new_animation" length = 3.0 loop_mode = 1 [sub_resource type="AnimationLibrary" id="AnimationLibrary_0k7b7"] _data = { "RESET": SubResource("Animation_gc65e"), "new_animation": SubResource("Animation_h4a2o") } [sub_resource type="RectangleShape2D" id="RectangleShape2D_0kyac"] size = Vector2(99.5062, 26.5168) [sub_resource type="RectangleShape2D" id="RectangleShape2D_v4jq2"] size = Vector2(464, 20) [sub_resource type="Animation" id="Animation_l6e7d"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("../..:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0, 0)] } [sub_resource type="Animation" id="Animation_0oej6"] resource_name = "new_animation" length = 3.0 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("../..:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 2.06667), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(0, -220)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_myfrk"] _data = { "RESET": SubResource("Animation_l6e7d"), "new_animation": SubResource("Animation_0oej6") } [sub_resource type="RectangleShape2D" id="RectangleShape2D_jicnk"] size = Vector2(99.6142, 26.1221) [node name="drücker" type="Node2D"] [node name="AnimatableBody2D3" type="AnimatableBody2D" parent="."] position = Vector2(0, 7.85716) rotation = -3.12787 [node name="Area2D" type="Area2D" parent="AnimatableBody2D3" groups=["Gegner"]] [node name="CollisionShape2D2" type="CollisionShape2D" parent="AnimatableBody2D3/Area2D"] position = Vector2(135.837, 391.273) shape = SubResource("RectangleShape2D_xk2qf") debug_color = Color(0, 0.623668, 0.535683, 0.42) [node name="Drück" type="Sprite2D" parent="AnimatableBody2D3"] position = Vector2(139.837, 496.273) rotation = 3.13582 scale = Vector2(5, 5) texture = ExtResource("1_l2uvq") [node name="AnimationPlayer" type="AnimationPlayer" parent="AnimatableBody2D3"] root_node = NodePath("../..") libraries = { "": SubResource("AnimationLibrary_0k7b7") } autoplay = "RESET" [node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D3"] position = Vector2(138.693, 439.418) rotation = 3.13582 scale = Vector2(5, 5) shape = SubResource("RectangleShape2D_0kyac") [node name="AnimatableBody2D" type="AnimatableBody2D" parent="."] [node name="Drück" type="Sprite2D" parent="AnimatableBody2D"] texture_filter = 1 position = Vector2(-133.619, 125.763) rotation = -3.13854 scale = Vector2(5, 5) texture = ExtResource("1_l2uvq") [node name="Area2D" type="Area2D" parent="AnimatableBody2D" groups=["Gegner"]] [node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D/Area2D"] position = Vector2(-133.619, 29.7631) shape = SubResource("RectangleShape2D_v4jq2") [node name="AnimationPlayer" type="AnimationPlayer" parent="AnimatableBody2D"] root_node = NodePath("../Area2D/CollisionShape2D") libraries = { "": SubResource("AnimationLibrary_myfrk") } autoplay = "new_animation" [node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D"] position = Vector2(-132.701, 68.4603) rotation = -3.13854 scale = Vector2(5, 5) shape = SubResource("RectangleShape2D_jicnk")