[gd_scene load_steps=24 format=4 uid="uid://dcmyx5g6dksl8"] [ext_resource type="PackedScene" uid="uid://d1ej2kiy7jcpv" path="res://scenes/crate.tscn" id="1_uivx3"] [ext_resource type="Script" path="res://scripts/trigger.gd" id="3_2qbah"] [ext_resource type="PackedScene" uid="uid://b75mow511wmmb" path="res://scenes/player.tscn" id="3_8h5jv"] [ext_resource type="Texture2D" uid="uid://jlbx6yvcmten" path="res://assets/graphics/terrains/backgrounds/forestbackground.png" id="3_umlo6"] [ext_resource type="Texture2D" uid="uid://8kaggg1kilxy" path="res://assets/graphics/terrains/backgrounds/skystrip.png" id="4_62nh8"] [ext_resource type="Texture2D" uid="uid://b3smxb17ijk60" path="res://assets/graphics/terrains/backgrounds/midtrees.png" id="4_201fr"] [ext_resource type="PackedScene" uid="uid://dwfife67i1fmr" path="res://scenes/bullet.tscn" id="5_7yfvg"] [ext_resource type="Script" path="res://scripts/scenemanager.gd" id="6_n2kp0"] [ext_resource type="Texture2D" uid="uid://btdvc25chjgd" path="res://assets/graphics/terrains/Terrain (32x32).png" id="7_v20os"] [ext_resource type="PackedScene" uid="uid://ix6oxq0kduyx" path="res://scenes/coin.tscn" id="10_nxy68"] [ext_resource type="Script" path="res://scripts/badguy.gd" id="11_k2u02"] [ext_resource type="Texture2D" uid="uid://ds7phwfwavsqj" path="res://assets/graphics/enemies/slime_green.png" id="12_u2djp"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3ut3v"] texture = ExtResource("7_v20os") 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("12_u2djp") region = Rect2(0, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_ft2a6"] atlas = ExtResource("12_u2djp") region = Rect2(24, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_gg3ce"] atlas = ExtResource("12_u2djp") region = Rect2(48, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_dlo6y"] atlas = ExtResource("12_u2djp") region = Rect2(72, 24, 24, 24) [sub_resource type="SpriteFrames" id="SpriteFrames_dgoyr"] 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_i8bk0"] size = Vector2(15, 18) [node name="Game" type="Node2D"] [node name="SceneManager" type="Node" parent="."] unique_name_in_owner = true script = ExtResource("6_n2kp0") [node name="Background" type="Parallax2D" parent="."] repeat_size = Vector2(320, 0) [node name="Sprite2D" type="Sprite2D" parent="Background"] position = Vector2(160, 90) texture = ExtResource("3_umlo6") [node name="Sprite2D2" type="Sprite2D" parent="Background"] position = Vector2(160, -68.5) scale = Vector2(1, 5.56667) texture = ExtResource("4_62nh8") [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_201fr") [node name="TileMapLayer" type="TileMapLayer" parent="."] position = Vector2(-220, -413) tile_map_data = PackedByteArray("AAALABMAAAAEAAEAAAALABQAAAAEAAEAAAALABUAAAAEAAEAAAALABYAAAAPAAQAAAAMABYAAAAQAAMAAAAMABcAAAAPAAQAAAANABcAAAABAAQAAAAOABcAAAAKAAMAAAAOABgAAAAAAAIAAAAPABcAAAACAAAAAAAPABgAAAAJAAQAAAAQABgAAAABAAQAAAARABgAAAABAAQAAAASABgAAAABAAQAAAATABgAAAACAAQAAAAUABkAAAAAAAQAAAAVABkAAAABAAQAAAAWABkAAAABAAQAAAAXABkAAAABAAQAAAAYABkAAAABAAQAAAAZABkAAAABAAQAAAAaABkAAAABAAQAAAAbABkAAAABAAQAAAAcABkAAAABAAQAAAAdABkAAAABAAQAAAAeABkAAAAKAAMAAAAeABoAAAAAAAIAAAAfABoAAAACAAIAAAAfABkAAAAJAAMAAAAgABkAAAAQAAQAAAAgABgAAAAPAAMAAAAhABgAAAABAAQAAAAiABgAAAABAAQAAAAjABgAAAACAAQAAAAJABIAAAABAAAAAAAKABIAAAABAAAAAAALABIAAAABAAAAAAAMABIAAAABAAAAAAANABIAAAABAAQAAAAIABIAAAABAAAAAAAHABIAAAAKAAMAAAAOABIAAAAMAAQAAAAPABIAAAAMAAQAAAAQABIAAAACAAQAAAATABIAAAAAAAQAAAAUABIAAAAMAAQAAAAVABIAAAAMAAQAAAAWABIAAAAMAAQAAAAXABIAAAAMAAQAAAAYABIAAAABAAQAAAAZABIAAAABAAQAAAAaABIAAAAKAAMAAAAPABEAAAAEAAEAAAAPABAAAAAPAAMAAAAQABAAAAANAAQAAAAQAA8AAAANAAMAAAARAA8AAAABAAQAAAASAA8AAAABAAQAAAATAA8AAAABAAQAAAAUAA8AAAACAAQAAAAUABAAAAAAAAQAAAAUABEAAAANAAMAAAAVABEAAAAPAAAAAAAOABEAAAAQAAMAAAAWABEAAAANAAMAAAAVABAAAAAQAAMAAAAXABEAAAAQAAMAAAA=") 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("3_8h5jv")] [node name="Area2D" type="Area2D" parent="."] position = Vector2(43, -53) scale = Vector2(2.5, 2.5) script = ExtResource("3_2qbah") 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="Area2D2" parent="." instance=ExtResource("5_7yfvg")] position = Vector2(142, 25) [node name="crates" type="Node2D" parent="."] [node name="RigidBody2D" parent="crates" instance=ExtResource("1_uivx3")] position = Vector2(102, 22) rotation = 0.806532 [node name="RigidBody2D5" parent="crates" instance=ExtResource("1_uivx3")] position = Vector2(135, 3) rotation = 0.806532 [node name="RigidBody2D2" parent="crates" instance=ExtResource("1_uivx3")] position = Vector2(69, 3.00003) rotation = 0.806532 [node name="RigidBody2D3" parent="crates" instance=ExtResource("1_uivx3")] position = Vector2(127, 44) rotation = 0.806532 [node name="RigidBody2D4" parent="crates" instance=ExtResource("1_uivx3")] position = Vector2(57, 39) rotation = 0.806532 [node name="RigidBody2D6" parent="crates" instance=ExtResource("1_uivx3")] position = Vector2(200, 74) rotation = 0.806532 [node name="coins" type="Node2D" parent="."] [node name="Area2D3" parent="coins" instance=ExtResource("10_nxy68")] position = Vector2(330, 40) [node name="Area2D" parent="coins" instance=ExtResource("10_nxy68")] position = Vector2(370, 40) [node name="Area2D2" parent="coins" instance=ExtResource("10_nxy68")] position = Vector2(400, 40) [node name="enemies" type="Node2D" parent="."] [node name="Area2D3" type="Area2D" parent="enemies" groups=["enemies"]] position = Vector2(369, 55) script = ExtResource("11_k2u02") metadata/_edit_group_ = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="enemies/Area2D3"] texture_filter = 1 sprite_frames = SubResource("SpriteFrames_dgoyr") animation = &"idle" frame_progress = 0.764829 [node name="CollisionShape2D" type="CollisionShape2D" parent="enemies/Area2D3"] position = Vector2(0, 2) shape = SubResource("RectangleShape2D_i8bk0") [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"]