[gd_scene format=3 uid="uid://bt4utdbe577mj"] [ext_resource type="Script" uid="uid://bmudq0wqybjnw" path="res://scenes/char/weener.gd" id="1_5hljh"] [ext_resource type="Texture2D" uid="uid://bje5rius281oi" path="res://spr/weener/crouch.png" id="1_6smxx"] [ext_resource type="Texture2D" uid="uid://dk3ulxm2i0qm6" path="res://spr/weener/stand.png" id="1_b3dvs"] [ext_resource type="Texture2D" uid="uid://cr80vs56knlqh" path="res://spr/weener/grab.png" id="1_ka3oh"] [ext_resource type="Texture2D" uid="uid://bbcs52esee2pt" path="res://spr/weener/walk.png" id="2_tfg2r"] [ext_resource type="Texture2D" uid="uid://b1bn5hf6uxfiw" path="res://spr/weener/run1.png" id="5_rsd08"] [ext_resource type="Texture2D" uid="uid://0pued7jac5i2" path="res://spr/weener/run2.png" id="6_xgxdw"] [sub_resource type="SpriteFrames" id="SpriteFrames_ka3oh"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("1_6smxx") }], "loop": true, "name": &"crouch", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("1_ka3oh") }], "loop": false, "name": &"grab", "speed": 2.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("5_rsd08") }, { "duration": 1.0, "texture": ExtResource("1_b3dvs") }, { "duration": 1.0, "texture": ExtResource("6_xgxdw") }, { "duration": 1.0, "texture": ExtResource("1_b3dvs") }], "loop": true, "name": &"run", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("1_b3dvs") }], "loop": false, "name": &"stand", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("2_tfg2r") }, { "duration": 1.0, "texture": ExtResource("1_b3dvs") }], "loop": true, "name": &"walk", "speed": 3.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_rsd08"] size = Vector2(65.5, 150.25) [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_rsd08"] radius = 116.0 height = 444.0 [node name="Weener" type="CharacterBody2D" unique_id=1834042649] script = ExtResource("1_5hljh") [node name="Sprite" type="AnimatedSprite2D" parent="." unique_id=918466208] position = Vector2(0, -190) sprite_frames = SubResource("SpriteFrames_ka3oh") animation = &"stand" autoplay = "stand" [node name="WalkCollision" type="CollisionShape2D" parent="." unique_id=1548923938] rotation = 1.5707964 shape = SubResource("RectangleShape2D_rsd08") [node name="NavigationAgent2D" type="NavigationAgent2D" parent="." unique_id=2038637548] [node name="InteractDetect" type="Area2D" parent="." unique_id=1466530066] collision_mask = 2 [node name="InteractCollision" type="CollisionShape2D" parent="InteractDetect" unique_id=526603123] position = Vector2(0, -205) shape = SubResource("CapsuleShape2D_rsd08") [node name="WalkDetect" type="Area2D" parent="." unique_id=1208097571] [node name="WalkCollision" type="CollisionShape2D" parent="WalkDetect" unique_id=1174332734] rotation = 1.5707964 shape = SubResource("RectangleShape2D_rsd08") [node name="Inventory" type="Label" parent="." unique_id=1503183978] offset_top = -471.0 offset_right = 40.0 offset_bottom = -448.0 [connection signal="area_entered" from="InteractDetect" to="." method="_on_area_entered"] [connection signal="area_exited" from="InteractDetect" to="." method="_on_area_exited"] [connection signal="area_entered" from="WalkDetect" to="." method="_on_walk_detect_area_entered"] [connection signal="area_exited" from="WalkDetect" to="." method="_on_walk_detect_area_exited"]