[gd_scene load_steps=24 format=4 uid="uid://d383o6j0l3d2m"] [ext_resource type="Script" path="res://scripts/scenemanager.gd" id="1_g37ru"] [ext_resource type="Texture2D" uid="uid://jlbx6yvcmten" path="res://assets/graphics/terrains/backgrounds/forestbackground.png" id="2_ehg0h"] [ext_resource type="PackedScene" uid="uid://cfmcjh6nskv2e" path="res://scenes/ui.tscn" id="2_patxi"] [ext_resource type="Texture2D" uid="uid://8kaggg1kilxy" path="res://assets/graphics/terrains/backgrounds/skystrip.png" id="3_8wilj"] [ext_resource type="Texture2D" uid="uid://b3smxb17ijk60" path="res://assets/graphics/terrains/backgrounds/midtrees.png" id="4_qwx2h"] [ext_resource type="Texture2D" uid="uid://btdvc25chjgd" path="res://assets/graphics/terrains/Terrain (32x32).png" id="5_p6mo5"] [ext_resource type="PackedScene" uid="uid://b75mow511wmmb" path="res://scenes/player.tscn" id="6_7tdkp"] [ext_resource type="Script" path="res://scripts/trigger.gd" id="7_2y6a6"] [ext_resource type="PackedScene" uid="uid://ix6oxq0kduyx" path="res://scenes/coin.tscn" id="9_fv1rd"] [ext_resource type="PackedScene" uid="uid://d1ej2kiy7jcpv" path="res://scenes/crate.tscn" id="9_sys65"] [ext_resource type="Script" path="res://scripts/badguy.gd" id="10_5rofm"] [ext_resource type="Texture2D" uid="uid://ds7phwfwavsqj" path="res://assets/graphics/enemies/slime_green.png" id="11_1pe1f"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3ut3v"] texture = ExtResource("5_p6mo5") texture_region_size = Vector2i(32, 32) 0:0/0 = 0 0:0/0/terrain_set = 0 0:0/0/terrain = 0 0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 0:0/0/terrains_peering_bit/right_side = 0 0:0/0/terrains_peering_bit/bottom_right_corner = 0 0:0/0/terrains_peering_bit/bottom_side = 0 1:0/0 = 0 1:0/0/terrain_set = 0 1:0/0/terrain = 0 1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 1:0/0/terrains_peering_bit/right_side = 0 1:0/0/terrains_peering_bit/bottom_right_corner = 0 1:0/0/terrains_peering_bit/bottom_side = 0 1:0/0/terrains_peering_bit/bottom_left_corner = 0 1:0/0/terrains_peering_bit/left_side = 0 2:0/0 = 0 2:0/0/terrain_set = 0 2:0/0/terrain = 0 2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 2:0/0/terrains_peering_bit/bottom_side = 0 2:0/0/terrains_peering_bit/bottom_left_corner = 0 2:0/0/terrains_peering_bit/left_side = 0 4:0/0 = 0 4:0/0/terrain_set = 0 4:0/0/terrain = 0 4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 4:0/0/terrains_peering_bit/bottom_side = 0 6:0/0 = 0 6:0/0/terrain_set = 0 6:0/0/terrain = 0 6:0/0/terrains_peering_bit/right_side = 0 6:0/0/terrains_peering_bit/bottom_side = 0 6:0/0/terrains_peering_bit/bottom_left_corner = 0 6:0/0/terrains_peering_bit/left_side = 0 6:0/0/terrains_peering_bit/top_left_corner = 0 6:0/0/terrains_peering_bit/top_side = 0 6:0/0/terrains_peering_bit/top_right_corner = 0 7:0/0 = 0 7:0/0/terrain_set = 0 7:0/0/terrain = 0 7:0/0/terrains_peering_bit/right_side = 0 7:0/0/terrains_peering_bit/bottom_right_corner = 0 7:0/0/terrains_peering_bit/bottom_side = 0 7:0/0/terrains_peering_bit/left_side = 0 7:0/0/terrains_peering_bit/top_left_corner = 0 7:0/0/terrains_peering_bit/top_side = 0 7:0/0/terrains_peering_bit/top_right_corner = 0 9:0/0 = 0 9:0/0/terrain_set = 0 9:0/0/terrain = 0 9:0/0/terrains_peering_bit/right_side = 0 9:0/0/terrains_peering_bit/bottom_right_corner = 0 9:0/0/terrains_peering_bit/bottom_side = 0 9:0/0/terrains_peering_bit/bottom_left_corner = 0 9:0/0/terrains_peering_bit/left_side = 0 9:0/0/terrains_peering_bit/top_side = 0 10:0/0 = 0 10:0/0/terrain_set = 0 10:0/0/terrain = 0 10:0/0/terrains_peering_bit/right_side = 0 10:0/0/terrains_peering_bit/bottom_side = 0 10:0/0/terrains_peering_bit/bottom_left_corner = 0 10:0/0/terrains_peering_bit/left_side = 0 10:0/0/terrains_peering_bit/top_left_corner = 0 10:0/0/terrains_peering_bit/top_side = 0 12:0/0 = 0 12:0/0/terrain_set = 0 12:0/0/terrain = 0 12:0/0/terrains_peering_bit/right_side = 0 12:0/0/terrains_peering_bit/bottom_right_corner = 0 12:0/0/terrains_peering_bit/bottom_side = 0 12:0/0/terrains_peering_bit/left_side = 0 12:0/0/terrains_peering_bit/top_side = 0 13:0/0 = 0 13:0/0/terrain_set = 0 13:0/0/terrain = 0 13:0/0/terrains_peering_bit/right_side = 0 13:0/0/terrains_peering_bit/bottom_side = 0 13:0/0/terrains_peering_bit/bottom_left_corner = 0 13:0/0/terrains_peering_bit/left_side = 0 13:0/0/terrains_peering_bit/top_side = 0 15:0/0 = 0 15:0/0/terrain_set = 0 15:0/0/terrain = 0 15:0/0/terrains_peering_bit/right_side = 0 15:0/0/terrains_peering_bit/bottom_side = 0 15:0/0/terrains_peering_bit/left_side = 0 15:0/0/terrains_peering_bit/top_side = 0 0:1/0 = 0 0:1/0/terrain_set = 0 0:1/0/terrain = 0 0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 0:1/0/terrains_peering_bit/right_side = 0 0:1/0/terrains_peering_bit/bottom_right_corner = 0 0:1/0/terrains_peering_bit/bottom_side = 0 0:1/0/terrains_peering_bit/top_side = 0 0:1/0/terrains_peering_bit/top_right_corner = 0 1:1/0 = 0 2:1/0 = 0 2:1/0/terrain_set = 0 2:1/0/terrain = 0 2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 2:1/0/terrains_peering_bit/bottom_side = 0 2:1/0/terrains_peering_bit/bottom_left_corner = 0 2:1/0/terrains_peering_bit/left_side = 0 2:1/0/terrains_peering_bit/top_left_corner = 0 2:1/0/terrains_peering_bit/top_side = 0 4:1/0 = 0 4:1/0/terrain_set = 0 4:1/0/terrain = 0 4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 4:1/0/terrains_peering_bit/bottom_side = 0 4:1/0/terrains_peering_bit/top_side = 0 6:1/0 = 0 6:1/0/terrain_set = 0 6:1/0/terrain = 0 6:1/0/terrains_peering_bit/right_side = 0 6:1/0/terrains_peering_bit/bottom_right_corner = 0 6:1/0/terrains_peering_bit/bottom_side = 0 6:1/0/terrains_peering_bit/bottom_left_corner = 0 6:1/0/terrains_peering_bit/left_side = 0 6:1/0/terrains_peering_bit/top_left_corner = 0 6:1/0/terrains_peering_bit/top_side = 0 7:1/0 = 0 7:1/0/terrain_set = 0 7:1/0/terrain = 0 7:1/0/terrains_peering_bit/right_side = 0 7:1/0/terrains_peering_bit/bottom_right_corner = 0 7:1/0/terrains_peering_bit/bottom_side = 0 7:1/0/terrains_peering_bit/bottom_left_corner = 0 7:1/0/terrains_peering_bit/left_side = 0 7:1/0/terrains_peering_bit/top_side = 0 7:1/0/terrains_peering_bit/top_right_corner = 0 9:1/0 = 0 9:1/0/terrain_set = 0 9:1/0/terrain = 0 9:1/0/terrains_peering_bit/right_side = 0 9:1/0/terrains_peering_bit/bottom_right_corner = 0 9:1/0/terrains_peering_bit/bottom_side = 0 9:1/0/terrains_peering_bit/top_side = 0 9:1/0/terrains_peering_bit/top_right_corner = 0 10:1/0 = 0 10:1/0/terrain_set = 0 10:1/0/terrain = 0 10:1/0/terrains_peering_bit/right_side = 0 10:1/0/terrains_peering_bit/bottom_side = 0 10:1/0/terrains_peering_bit/left_side = 0 10:1/0/terrains_peering_bit/top_left_corner = 0 10:1/0/terrains_peering_bit/top_side = 0 10:1/0/terrains_peering_bit/top_right_corner = 0 12:1/0 = 0 12:1/0/terrain_set = 0 12:1/0/terrain = 0 12:1/0/terrains_peering_bit/right_side = 0 12:1/0/terrains_peering_bit/bottom_side = 0 12:1/0/terrains_peering_bit/left_side = 0 12:1/0/terrains_peering_bit/top_side = 0 12:1/0/terrains_peering_bit/top_right_corner = 0 13:1/0 = 0 13:1/0/terrain_set = 0 13:1/0/terrain = 0 13:1/0/terrains_peering_bit/right_side = 0 13:1/0/terrains_peering_bit/bottom_side = 0 13:1/0/terrains_peering_bit/left_side = 0 13:1/0/terrains_peering_bit/top_left_corner = 0 13:1/0/terrains_peering_bit/top_side = 0 15:1/0 = 0 15:1/0/terrain_set = 0 15:1/0/terrain = 0 15:1/0/terrains_peering_bit/right_side = 0 15:1/0/terrains_peering_bit/bottom_side = 0 15:1/0/terrains_peering_bit/bottom_left_corner = 0 15:1/0/terrains_peering_bit/left_side = 0 15:1/0/terrains_peering_bit/top_side = 0 15:1/0/terrains_peering_bit/top_right_corner = 0 16:1/0 = 0 16:1/0/terrain_set = 0 16:1/0/terrain = 0 16:1/0/terrains_peering_bit/right_side = 0 16:1/0/terrains_peering_bit/bottom_right_corner = 0 16:1/0/terrains_peering_bit/bottom_side = 0 16:1/0/terrains_peering_bit/left_side = 0 16:1/0/terrains_peering_bit/top_left_corner = 0 16:1/0/terrains_peering_bit/top_side = 0 0:2/0 = 0 0:2/0/terrain_set = 0 0:2/0/terrain = 0 0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 0:2/0/terrains_peering_bit/right_side = 0 0:2/0/terrains_peering_bit/top_side = 0 0:2/0/terrains_peering_bit/top_right_corner = 0 1:2/0 = 0 1:2/0/terrain_set = 0 1:2/0/terrain = 0 1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 1:2/0/terrains_peering_bit/right_side = 0 1:2/0/terrains_peering_bit/left_side = 0 1:2/0/terrains_peering_bit/top_left_corner = 0 1:2/0/terrains_peering_bit/top_side = 0 1:2/0/terrains_peering_bit/top_right_corner = 0 2:2/0 = 0 2:2/0/terrain_set = 0 2:2/0/terrain = 0 2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 2:2/0/terrains_peering_bit/left_side = 0 2:2/0/terrains_peering_bit/top_left_corner = 0 2:2/0/terrains_peering_bit/top_side = 0 4:2/0 = 0 4:2/0/terrain_set = 0 4:2/0/terrain = 0 4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 4:2/0/terrains_peering_bit/top_side = 0 6:3/0 = 0 6:3/0/terrain_set = 0 6:3/0/terrain = 0 6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -0.25, -16, 0, 16, -16, 16) 6:3/0/terrains_peering_bit/right_side = 0 6:3/0/terrains_peering_bit/bottom_side = 0 6:3/0/terrains_peering_bit/top_side = 0 6:3/0/terrains_peering_bit/top_right_corner = 0 7:3/0 = 0 7:3/0/terrain_set = 0 7:3/0/terrain = 0 7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(16, -16, -0.25, -16, 0, 16, 16, 16) 7:3/0/terrains_peering_bit/bottom_side = 0 7:3/0/terrains_peering_bit/left_side = 0 7:3/0/terrains_peering_bit/top_left_corner = 0 7:3/0/terrains_peering_bit/top_side = 0 9:3/0 = 0 9:3/0/terrain_set = 0 9:3/0/terrain = 0 9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(16, -16, -16, -16, -16, -7, 16, -6.75) 9:3/0/terrains_peering_bit/right_side = 0 9:3/0/terrains_peering_bit/bottom_side = 0 9:3/0/terrains_peering_bit/bottom_left_corner = 0 9:3/0/terrains_peering_bit/left_side = 0 10:3/0 = 0 10:3/0/terrain_set = 0 10:3/0/terrain = 0 10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(16, -16, -16, -16, -16, -7, 16, -6.75) 10:3/0/terrains_peering_bit/right_side = 0 10:3/0/terrains_peering_bit/bottom_right_corner = 0 10:3/0/terrains_peering_bit/bottom_side = 0 10:3/0/terrains_peering_bit/left_side = 0 12:3/0 = 0 12:3/0/terrain_set = 0 12:3/0/terrain = 0 12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, 16, -6, 16, -6.5, -16) 12:3/0/terrains_peering_bit/right_side = 0 12:3/0/terrains_peering_bit/bottom_side = 0 12:3/0/terrains_peering_bit/top_side = 0 13:3/0 = 0 13:3/0/terrain_set = 0 13:3/0/terrain = 0 13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, -0.75, 7.5, 0.5, 8, 16, 16, 16, 16, -16) 13:3/0/terrains_peering_bit/right_side = 0 13:3/0/terrains_peering_bit/bottom_side = 0 13:3/0/terrains_peering_bit/left_side = 0 15:3/0 = 0 15:3/0/terrain_set = 0 15:3/0/terrain = 0 15:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, 16, 16, 16, 16, -16) 15:3/0/terrains_peering_bit/right_side = 0 15:3/0/terrains_peering_bit/bottom_side = 0 16:3/0 = 0 16:3/0/terrain_set = 0 16:3/0/terrain = 0 16:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, 16, 16, 16, 16, -16) 16:3/0/terrains_peering_bit/bottom_side = 0 16:3/0/terrains_peering_bit/left_side = 0 0:4/0 = 0 0:4/0/terrain_set = 0 0:4/0/terrain = 0 0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 0:4/0/terrains_peering_bit/right_side = 0 1:4/0 = 0 1:4/0/terrain_set = 0 1:4/0/terrain = 0 1:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 1:4/0/terrains_peering_bit/right_side = 0 1:4/0/terrains_peering_bit/left_side = 0 2:4/0 = 0 2:4/0/terrain_set = 0 2:4/0/terrain = 0 2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 2:4/0/terrains_peering_bit/left_side = 0 4:4/0 = 0 4:4/0/terrain_set = 0 4:4/0/terrain = 0 4:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 6:4/0 = 0 6:4/0/terrain_set = 0 6:4/0/terrain = 0 6:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -0.25, -16, 0, 16, -16, 16) 6:4/0/terrains_peering_bit/right_side = 0 6:4/0/terrains_peering_bit/bottom_right_corner = 0 6:4/0/terrains_peering_bit/bottom_side = 0 6:4/0/terrains_peering_bit/top_side = 0 7:4/0 = 0 7:4/0/terrain_set = 0 7:4/0/terrain = 0 7:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(16, -16, -0.25, -16, 0, 16, 16, 16) 7:4/0/terrains_peering_bit/bottom_side = 0 7:4/0/terrains_peering_bit/bottom_left_corner = 0 7:4/0/terrains_peering_bit/left_side = 0 7:4/0/terrains_peering_bit/top_side = 0 9:4/0 = 0 9:4/0/terrain_set = 0 9:4/0/terrain = 0 9:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 3.5, -16, 16, 16, 16, 16, 3.5) 9:4/0/terrains_peering_bit/right_side = 0 9:4/0/terrains_peering_bit/left_side = 0 9:4/0/terrains_peering_bit/top_left_corner = 0 9:4/0/terrains_peering_bit/top_side = 0 10:4/0 = 0 10:4/0/terrain_set = 0 10:4/0/terrain = 0 10:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 3.5, -16, 16, 16, 16, 16, 3.5) 10:4/0/terrains_peering_bit/right_side = 0 10:4/0/terrains_peering_bit/left_side = 0 10:4/0/terrains_peering_bit/top_side = 0 10:4/0/terrains_peering_bit/top_right_corner = 0 12:4/0 = 0 12:4/0/terrain_set = 0 12:4/0/terrain = 0 12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, 16, 16, 16, 16, -16) 12:4/0/terrains_peering_bit/right_side = 0 12:4/0/terrains_peering_bit/left_side = 0 12:4/0/terrains_peering_bit/top_side = 0 13:4/0 = 0 13:4/0/terrain_set = 0 13:4/0/terrain = 0 13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(5.5, -16, 6.25, 16, 16, 16, 16, -16) 13:4/0/terrains_peering_bit/bottom_side = 0 13:4/0/terrains_peering_bit/left_side = 0 13:4/0/terrains_peering_bit/top_side = 0 15:4/0 = 0 15:4/0/terrain_set = 0 15:4/0/terrain = 0 15:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, 16, 16, 16, 16, -16) 15:4/0/terrains_peering_bit/right_side = 0 15:4/0/terrains_peering_bit/top_side = 0 16:4/0 = 0 16:4/0/terrain_set = 0 16:4/0/terrain = 0 16:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -16, 16, 16, 16, 16, -16) 16:4/0/terrains_peering_bit/left_side = 0 16:4/0/terrains_peering_bit/top_side = 0 [sub_resource type="TileSet" id="TileSet_ixl4j"] tile_size = Vector2i(32, 32) physics_layer_0/collision_layer = 1 terrain_set_0/mode = 0 terrain_set_0/terrain_0/name = "leafy_ground" terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1) sources/0 = SubResource("TileSetAtlasSource_3ut3v") [sub_resource type="RectangleShape2D" id="RectangleShape2D_1cyeq"] size = Vector2(101, 20) [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_bqh70"] distance = -181.0 [sub_resource type="CircleShape2D" id="CircleShape2D_mfh1j"] [sub_resource type="AtlasTexture" id="AtlasTexture_s1yph"] atlas = ExtResource("11_1pe1f") region = Rect2(0, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_ft2a6"] atlas = ExtResource("11_1pe1f") region = Rect2(24, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_gg3ce"] atlas = ExtResource("11_1pe1f") region = Rect2(48, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_dlo6y"] atlas = ExtResource("11_1pe1f") region = Rect2(72, 24, 24, 24) [sub_resource type="SpriteFrames" id="SpriteFrames_8wjrh"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_s1yph") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ft2a6") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_gg3ce") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_dlo6y") }], "loop": true, "name": &"idle", "speed": 12.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_060tc"] size = Vector2(15, 18) [node name="Game" type="Node2D"] [node name="SceneManager" type="Node" parent="."] unique_name_in_owner = true script = ExtResource("1_g37ru") [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="ui" parent="CanvasLayer" instance=ExtResource("2_patxi")] [node name="Background" type="Parallax2D" parent="."] repeat_size = Vector2(320, 0) [node name="Sprite2D" type="Sprite2D" parent="Background"] position = Vector2(160, 90) texture = ExtResource("2_ehg0h") [node name="Sprite2D2" type="Sprite2D" parent="Background"] position = Vector2(160, -68.5) scale = Vector2(1, 5.56667) texture = ExtResource("3_8wilj") [node name="Parallax2D2" type="Parallax2D" parent="."] scroll_scale = Vector2(1.2, 1.2) repeat_size = Vector2(320, 0) [node name="Sprite2D" type="Sprite2D" parent="Parallax2D2"] texture_filter = 1 position = Vector2(160, 90) texture = ExtResource("4_qwx2h") [node name="TileMapLayer" type="TileMapLayer" parent="."] position = Vector2(-220, -413) tile_map_data = PackedByteArray("AAAJABIAAAABAAAAAAAKABIAAAABAAQAAAALABIAAAABAAQAAAAMABIAAAABAAQAAAANABIAAAABAAQAAAAIABIAAAABAAAAAAAHABIAAAAKAAMAAAAOABIAAAAMAAQAAAAPABIAAAAMAAQAAAAQABIAAAACAAQAAAATABIAAAAAAAQAAAAUABIAAAAMAAQAAAAVABIAAAAMAAQAAAAWABIAAAAMAAQAAAAXABIAAAAMAAQAAAAYABIAAAABAAQAAAAZABIAAAABAAQAAAAaABIAAAAKAAMAAAAPABEAAAAEAAEAAAAPABAAAAAPAAMAAAAQABAAAAANAAQAAAAQAA8AAAANAAMAAAARAA8AAAABAAQAAAASAA8AAAABAAQAAAATAA8AAAABAAQAAAAUAA8AAAACAAQAAAAUABAAAAAAAAQAAAAUABEAAAANAAMAAAAVABEAAAAPAAAAAAAOABEAAAAQAAMAAAAWABEAAAANAAMAAAAVABAAAAAQAAMAAAAXABEAAAAQAAMAAAAIAA8AAAAPAAMAAAAKAA8AAAAPAAMAAAAMABAAAAAPAAMAAAA=") tile_set = SubResource("TileSet_ixl4j") [node name="StaticBody2D" type="StaticBody2D" parent="."] position = Vector2(340, -161) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2(-0.5, 0) shape = SubResource("RectangleShape2D_1cyeq") [node name="floor" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="floor"] shape = SubResource("WorldBoundaryShape2D_bqh70") [node name="CharacterBody2D" parent="." instance=ExtResource("6_7tdkp")] [node name="Area2D" type="Area2D" parent="."] position = Vector2(359, 141) scale = Vector2(5, 5) script = ExtResource("7_2y6a6") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_mfh1j") debug_color = Color(0.825765, 0.00158581, 0.954354, 0.42) [node name="crates" type="Node2D" parent="."] [node name="RigidBody2D" parent="crates" instance=ExtResource("9_sys65")] position = Vector2(111, 135) rotation = 0.806532 [node name="RigidBody2D5" parent="crates" instance=ExtResource("9_sys65")] position = Vector2(395, 38) rotation = 0.806532 [node name="RigidBody2D2" parent="crates" instance=ExtResource("9_sys65")] position = Vector2(483, 20) rotation = 0.806532 [node name="RigidBody2D3" parent="crates" instance=ExtResource("9_sys65")] position = Vector2(596, 99) rotation = 0.806532 [node name="RigidBody2D4" parent="crates" instance=ExtResource("9_sys65")] position = Vector2(57, 39) rotation = 0.806532 [node name="RigidBody2D6" parent="crates" instance=ExtResource("9_sys65")] position = Vector2(200, 74) rotation = 0.806532 [node name="coins" type="Node2D" parent="."] [node name="Area2D3" parent="coins" instance=ExtResource("9_fv1rd")] position = Vector2(330, 40) [node name="Area2D" parent="coins" instance=ExtResource("9_fv1rd")] position = Vector2(370, 40) [node name="Area2D2" parent="coins" instance=ExtResource("9_fv1rd")] position = Vector2(400, 40) [node name="Area2D4" parent="coins" instance=ExtResource("9_fv1rd")] position = Vector2(464, 85) [node name="Area2D5" parent="coins" instance=ExtResource("9_fv1rd")] position = Vector2(276, 80) [node name="enemies" type="Node2D" parent="."] [node name="Area2D3" type="Area2D" parent="enemies" groups=["enemies"]] position = Vector2(369, 55) script = ExtResource("10_5rofm") metadata/_edit_group_ = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="enemies/Area2D3"] texture_filter = 1 sprite_frames = SubResource("SpriteFrames_8wjrh") animation = &"idle" [node name="CollisionShape2D" type="CollisionShape2D" parent="enemies/Area2D3"] position = Vector2(0, 2) shape = SubResource("RectangleShape2D_060tc") [node name="RightRay" type="RayCast2D" parent="enemies/Area2D3"] target_position = Vector2(14, 0) [node name="LeftRay" type="RayCast2D" parent="enemies/Area2D3"] target_position = Vector2(-14, 0) [node name="RightFloorRay" type="RayCast2D" parent="enemies/Area2D3"] position = Vector2(9, 0) target_position = Vector2(0, 18) [node name="LeftFloorRay" type="RayCast2D" parent="enemies/Area2D3"] position = Vector2(-9, 0) target_position = Vector2(0, 18) [connection signal="areaTrigger" from="Area2D" to="." method="_on_trigger"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"] [connection signal="body_entered" from="enemies/Area2D3" to="enemies/Area2D3" method="_on_body_entered"]