[gd_scene load_steps=13 format=3 uid="uid://b1xhgqwrw4pgs"] [ext_resource type="Texture2D" uid="uid://dtvvpqc7i2dm6" path="res://Assets/tux/signal-2021-05-05-214118_001.png" id="1"] [ext_resource type="Script" path="res://Scenes/Entities/Player.gd" id="1_2xulf"] [ext_resource type="Texture2D" uid="uid://o7x47dkwao04" path="res://Assets/tux/signal-2021-05-05-214118_002.png" id="2"] [ext_resource type="Texture2D" uid="uid://4lhw1rn7w1ye" path="res://Assets/tux/signal-2021-05-05-214118_003.png" id="3"] [ext_resource type="Texture2D" uid="uid://d354aghbycxto" path="res://Assets/tux/signal-2021-05-05-214118_004.png" id="4"] [ext_resource type="Texture2D" uid="uid://3jnv1c847c3" path="res://Assets/tux/signal-2021-05-06-203546_001.png" id="5"] [ext_resource type="Texture2D" uid="uid://c3o4wky2ywpng" path="res://Assets/tux/signal-2021-05-06-203546_004.png" id="6"] [ext_resource type="Texture2D" uid="uid://b5v0jg6lwnij2" path="res://Assets/tux/signal-2021-05-06-203546_003.png" id="7"] [ext_resource type="Texture2D" uid="uid://cnxxo0qivbv4c" path="res://Assets/tux/signal-2021-05-06-203546_002.png" id="7_bxbay"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_xsiww"] radius = 5.0 height = 14.0 [sub_resource type="SpriteFrames" id="2"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("7") }], "loop": true, "name": &"bl", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("6") }], "loop": true, "name": &"br", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("3") }], "loop": true, "name": &"down", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("4") }], "loop": true, "name": &"left", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("1") }], "loop": true, "name": &"right", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("7_bxbay") }], "loop": true, "name": &"tl", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("5") }], "loop": true, "name": &"tr", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("2") }], "loop": true, "name": &"up", "speed": 5.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_c6666"] size = Vector2(14, 14) [node name="Player" type="CharacterBody2D"] collision_layer = 2 collision_mask = 60 script = ExtResource("1_2xulf") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CapsuleShape2D_xsiww") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(5.96046e-08, 5.96046e-08) scale = Vector2(0.405234, 0.405234) sprite_frames = SubResource("2") animation = &"down" metadata/_edit_lock_ = true [node name="Camera2D" type="Camera2D" parent="."] drag_horizontal_enabled = true drag_vertical_enabled = true [node name="InteractionArea" type="Area2D" parent="."] collision_layer = 0 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionArea"] position = Vector2(0, 1) shape = SubResource("RectangleShape2D_c6666") [node name="Invincibility" type="Timer" parent="."] wait_time = 1.5 one_shot = true [node name="JustPlantedBomb" type="Timer" parent="."] wait_time = 0.05 one_shot = true [connection signal="timeout" from="Invincibility" to="." method="_on_invincibility_timeout"] [connection signal="timeout" from="JustPlantedBomb" to="." method="_on_just_planted_bomb_timeout"]