206 lines
7.1 KiB
Plaintext
206 lines
7.1 KiB
Plaintext
[gd_scene load_steps=23 format=3 uid="uid://84di25ai4qgf"]
|
|
|
|
[ext_resource type="Script" path="res://character_body_2d.gd" id="1_437y5"]
|
|
[ext_resource type="Texture2D" uid="uid://ba3ts3r7pvgw0" path="res://level/scene/apfel fus 2 .png" id="4_5w2hg"]
|
|
[ext_resource type="AudioStream" uid="uid://ctud5p0dnspv7" path="res://sounds/JumpSound.wav" id="4_bbuog"]
|
|
[ext_resource type="AudioStream" uid="uid://n6lvil1e5g1i" path="res://sounds/Herunterladen.wav" id="4_snd8b"]
|
|
[ext_resource type="Texture2D" uid="uid://dejtl02ivh74r" path="res://level/scene/apfearm 2l .png" id="5_vu1xw"]
|
|
[ext_resource type="Texture2D" uid="uid://btl17433oxhe2" path="res://level/scene/apfel arnus .png" id="6_qqq6w"]
|
|
[ext_resource type="Texture2D" uid="uid://0exxqogvxmco" path="res://level/scene/apfel arm .png" id="7_oa77o"]
|
|
[ext_resource type="Texture2D" uid="uid://dici48putpbx6" path="res://level/scene/apfel fuhuhus .png" id="8_p2bdq"]
|
|
|
|
[sub_resource type="Animation" id="Animation_fyguw"]
|
|
length = 1.5
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("ApfelFus2:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.333337, 0.7, 1.06667, 1.46667),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 0.994838, 0.0, -0.994838, -0.0953717]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("ApfelFuhuhus:rotation")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0.0333333, 0.233333, 0.566667, 0.933333, 1.5),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [0.0, -0.994838, 0.0, 0.994838, 0.0]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("ApfelArnus:position")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(-5.73792, 40.9074)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_0vpnc"]
|
|
resource_name = "stehen"
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("ApfelArnus:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.4, 0.866667),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(-5.462, 34.66), Vector2(-5.462, 40.66), Vector2(-5.462, 34.66)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_j8h8s"]
|
|
resource_name = "walk"
|
|
length = 0.4
|
|
loop_mode = 1
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_gdk2y"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_fyguw"),
|
|
"stehen": SubResource("Animation_0vpnc"),
|
|
"walk": SubResource("Animation_j8h8s")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_v8a45"]
|
|
size = Vector2(28.5353, 40.7859)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_u1y7r"]
|
|
radius = 18.777
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_cmw8e"]
|
|
size = Vector2(46.1688, 52.9281)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8f2wg"]
|
|
size = Vector2(55.2418, 13.3483)
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_irsuw"]
|
|
animation = &"RESET"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_dhf0a"]
|
|
animation = &"stehen"
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_5j53y"]
|
|
advance_mode = 2
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_xcwch"]
|
|
xfade_time = 0.2
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_lrglg"]
|
|
xfade_time = 0.5
|
|
|
|
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_77bcn"]
|
|
states/RESET/node = SubResource("AnimationNodeAnimation_irsuw")
|
|
states/RESET/position = Vector2(596, 135)
|
|
states/STEHEN/node = SubResource("AnimationNodeAnimation_dhf0a")
|
|
states/STEHEN/position = Vector2(466, 68)
|
|
states/Start/position = Vector2(145, 136)
|
|
transitions = ["Start", "STEHEN", SubResource("AnimationNodeStateMachineTransition_5j53y"), "STEHEN", "RESET", SubResource("AnimationNodeStateMachineTransition_xcwch"), "RESET", "STEHEN", SubResource("AnimationNodeStateMachineTransition_lrglg")]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
position = Vector2(-24, 30)
|
|
scale = Vector2(2.01389, 2.02079)
|
|
script = ExtResource("1_437y5")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
position = Vector2(3, 6)
|
|
scale = Vector2(1.15, 1.15)
|
|
zoom = Vector2(0.6, 0.6)
|
|
position_smoothing_enabled = true
|
|
position_smoothing_speed = 8.0
|
|
|
|
[node name="JumpSound" type="AudioStreamPlayer2D" parent="."]
|
|
position = Vector2(30, -29)
|
|
scale = Vector2(1.15, 1.15)
|
|
stream = ExtResource("4_bbuog")
|
|
|
|
[node name="Herunterladen" type="AudioStreamPlayer2D" parent="."]
|
|
position = Vector2(-51, -129)
|
|
stream = ExtResource("4_snd8b")
|
|
|
|
[node name="run" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_gdk2y")
|
|
}
|
|
|
|
[node name="Area2D" type="Area2D" parent="." groups=["spieler"]]
|
|
position = Vector2(91.862, 49.4856)
|
|
rotation = -0.000449813
|
|
scale = Vector2(1.15, 1.15)
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(-83.7634, -5.84686)
|
|
rotation = 0.000449813
|
|
scale = Vector2(1.15, 1.15)
|
|
shape = SubResource("RectangleShape2D_v8a45")
|
|
|
|
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(-85.0556, -12.9475)
|
|
rotation = 0.000449813
|
|
scale = Vector2(1.15, 1.15)
|
|
shape = SubResource("CircleShape2D_u1y7r")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-5.19536, 41.8153)
|
|
scale = Vector2(1.15, 1.15)
|
|
shape = SubResource("RectangleShape2D_cmw8e")
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-5.94334, 40.8206)
|
|
scale = Vector2(1.15, 1.15)
|
|
shape = SubResource("RectangleShape2D_8f2wg")
|
|
|
|
[node name="ApfelFuhuhus" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(-21.3517, 52.4547)
|
|
texture = ExtResource("8_p2bdq")
|
|
offset = Vector2(14.4, -18.3097)
|
|
|
|
[node name="ApfelFus2" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(-1.48965, 57.4033)
|
|
texture = ExtResource("4_5w2hg")
|
|
offset = Vector2(6.40671, 1.49677)
|
|
|
|
[node name="ApfelArnus" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(-5.73792, 40.9074)
|
|
texture = ExtResource("6_qqq6w")
|
|
|
|
[node name="ApfelArm" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(-29.5724, 43.3817)
|
|
texture = ExtResource("7_oa77o")
|
|
|
|
[node name="Apfearm2l" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(23.0621, 45.3611)
|
|
texture = ExtResource("5_vu1xw")
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="."]
|
|
tree_root = SubResource("AnimationNodeStateMachine_77bcn")
|
|
anim_player = NodePath("../run")
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.2
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|