[gd_scene load_steps=20 format=3 uid="uid://y083suj12rld"] [ext_resource type="Script" path="res://scripts/gamecontroller.gd" id="1_77wyw"] [ext_resource type="PackedScene" uid="uid://4b11pujvs3ph" path="res://scenes/ui.tscn" id="1_kg3um"] [ext_resource type="PackedScene" uid="uid://go4yc8hfo1gq" path="res://scenes/character.tscn" id="2_64ccm"] [ext_resource type="Texture2D" uid="uid://c43jfkjw11rsq" path="res://graphics/Terrain (32x32).png" id="2_juhow"] [ext_resource type="Script" path="res://scripts/Trigger.gd" id="2_nfj1w"] [ext_resource type="PackedScene" uid="uid://c8x0bcxa8t74o" path="res://scenes/crate.tscn" id="2_ob312"] [ext_resource type="Texture2D" uid="uid://biqrhb0shtygr" path="res://graphics/background/BG Image.png" id="3_vj1tk"] [ext_resource type="Texture2D" uid="uid://bp4mp3bh45b6i" path="res://graphics/background/Additional Sky.png" id="4_kk5vy"] [ext_resource type="Texture2D" uid="uid://byl5umyabyltt" path="res://graphics/background/Additional Water.png" id="5_2y1x6"] [ext_resource type="PackedScene" uid="uid://cdgbcjrseeoka" path="res://scenes/platform.tscn" id="6_hm88c"] [ext_resource type="PackedScene" uid="uid://s5mebw76f4y" path="res://scenes/coin.tscn" id="10_74ldf"] [ext_resource type="PackedScene" uid="uid://oja81cvx8jvu" path="res://scenes/badguy.tscn" id="11_8t7ny"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_6otpc"] texture = ExtResource("2_juhow") 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/linear_velocity = Vector2(0, 0) 0:0/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 1:0/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 2:0/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 4:0/0/physics_layer_0/angular_velocity = 0.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/physics_layer_0/linear_velocity = Vector2(0, 0) 6:0/0/physics_layer_0/angular_velocity = 0.0 6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 7:0/0/physics_layer_0/angular_velocity = 0.0 7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 9:0/0/physics_layer_0/angular_velocity = 0.0 9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 10:0/0/physics_layer_0/angular_velocity = 0.0 10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 12:0/0/physics_layer_0/angular_velocity = 0.0 12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 13:0/0/physics_layer_0/angular_velocity = 0.0 13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 15:0/0/physics_layer_0/angular_velocity = 0.0 15:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/linear_velocity = Vector2(0, 0) 0:1/0/physics_layer_0/angular_velocity = 0.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 1:1/0/terrain_set = 0 1:1/0/terrain = 0 1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) 1:1/0/physics_layer_0/angular_velocity = 0.0 1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 1:1/0/terrains_peering_bit/right_side = 0 1:1/0/terrains_peering_bit/bottom_right_corner = 0 1:1/0/terrains_peering_bit/bottom_side = 0 1:1/0/terrains_peering_bit/bottom_left_corner = 0 1:1/0/terrains_peering_bit/left_side = 0 1:1/0/terrains_peering_bit/top_left_corner = 0 1:1/0/terrains_peering_bit/top_side = 0 1:1/0/terrains_peering_bit/top_right_corner = 0 2:1/0 = 0 2:1/0/terrain_set = 0 2:1/0/terrain = 0 2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) 2:1/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 4:1/0/physics_layer_0/angular_velocity = 0.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/physics_layer_0/linear_velocity = Vector2(0, 0) 6:1/0/physics_layer_0/angular_velocity = 0.0 6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 7:1/0/physics_layer_0/angular_velocity = 0.0 7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 9:1/0/physics_layer_0/angular_velocity = 0.0 9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/left_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/physics_layer_0/linear_velocity = Vector2(0, 0) 10:1/0/physics_layer_0/angular_velocity = 0.0 10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 12:1/0/physics_layer_0/angular_velocity = 0.0 12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 13:1/0/physics_layer_0/angular_velocity = 0.0 13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 15:1/0/physics_layer_0/angular_velocity = 0.0 15:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/physics_layer_0/linear_velocity = Vector2(0, 0) 16:1/0/physics_layer_0/angular_velocity = 0.0 16:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/linear_velocity = Vector2(0, 0) 0:2/0/physics_layer_0/angular_velocity = 0.0 0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -7.75, 16, -16, 7) 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/linear_velocity = Vector2(0, 0) 1:2/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 2:2/0/physics_layer_0/angular_velocity = 0.0 2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 7.5, 8.25, 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/linear_velocity = Vector2(0, 0) 4:2/0/physics_layer_0/angular_velocity = 0.0 4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 8, 8.25, 16, -7, 16, -16, 6) 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/linear_velocity = Vector2(0, 0) 6:3/0/physics_layer_0/angular_velocity = 0.0 6:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 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/linear_velocity = Vector2(0, 0) 7:3/0/physics_layer_0/angular_velocity = 0.0 7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 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/linear_velocity = Vector2(0, 0) 9:3/0/physics_layer_0/angular_velocity = 0.0 9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/linear_velocity = Vector2(0, 0) 10:3/0/physics_layer_0/angular_velocity = 0.0 10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/linear_velocity = Vector2(0, 0) 12:3/0/physics_layer_0/angular_velocity = 0.0 12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 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/linear_velocity = Vector2(0, 0) 13:3/0/physics_layer_0/angular_velocity = 0.0 13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -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/linear_velocity = Vector2(0, 0) 15:3/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 16:3/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 0:4/0/physics_layer_0/angular_velocity = 0.0 0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -6.5, 16, -16, 6.75) 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/linear_velocity = Vector2(0, 0) 1:4/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 2:4/0/physics_layer_0/angular_velocity = 0.0 2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 8.5, 8.75, 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/linear_velocity = Vector2(0, 0) 4:4/0/physics_layer_0/angular_velocity = 0.0 4:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 8, 8.25, 16, -7, 16, -16, 6) 6:4/0 = 0 6:4/0/terrain_set = 0 6:4/0/terrain = 0 6:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) 6:4/0/physics_layer_0/angular_velocity = 0.0 6:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 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/linear_velocity = Vector2(0, 0) 7:4/0/physics_layer_0/angular_velocity = 0.0 7:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 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/linear_velocity = Vector2(0, 0) 9:4/0/physics_layer_0/angular_velocity = 0.0 9:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/linear_velocity = Vector2(0, 0) 10:4/0/physics_layer_0/angular_velocity = 0.0 10:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 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/linear_velocity = Vector2(0, 0) 12:4/0/physics_layer_0/angular_velocity = 0.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/linear_velocity = Vector2(0, 0) 13:4/0/physics_layer_0/angular_velocity = 0.0 13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -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/linear_velocity = Vector2(0, 0) 15:4/0/physics_layer_0/angular_velocity = 0.0 15:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -6.25, 16, -16, 6.75) 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/linear_velocity = Vector2(0, 0) 16:4/0/physics_layer_0/angular_velocity = 0.0 16:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 8, 8.25, 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_25cld"] tile_size = Vector2i(32, 32) physics_layer_0/collision_layer = 1 terrain_set_0/mode = 0 terrain_set_0/terrain_0/name = "ground" terrain_set_0/terrain_0/color = Color(0.564706, 0.313726, 0, 1) sources/0 = SubResource("TileSetAtlasSource_6otpc") [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_3u4a8"] [sub_resource type="CircleShape2D" id="CircleShape2D_x8qck"] radius = 60.2993 [sub_resource type="Animation" id="Animation_5wtmu"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(141, 290)] } [sub_resource type="Animation" id="Animation_ohhmw"] resource_name = "move" length = 2.0 loop_mode = 2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1.5, 2), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(141, 290), Vector2(278, 290), Vector2(278, 290)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_uo6r5"] _data = { "RESET": SubResource("Animation_5wtmu"), "move": SubResource("Animation_ohhmw") } [node name="Game" type="Node2D"] [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="UI" parent="CanvasLayer" instance=ExtResource("1_kg3um")] [node name="GameController" type="Node" parent="."] unique_name_in_owner = true script = ExtResource("1_77wyw") [node name="Timer" type="Timer" parent="GameController"] [node name="TileMap" type="TileMap" parent="."] tile_set = SubResource("TileSet_25cld") format = 2 layer_0/tile_data = PackedInt32Array(851971, 0, 0, 851972, 65536, 0, 851973, 65536, 0, 851974, 65536, 0, 851975, 65536, 0, 851976, 65536, 0, 851977, 65536, 0, 851978, 65536, 0, 851979, 65536, 0, 917515, 65536, 2, 917514, 65536, 2, 917513, 65536, 2, 917512, 65536, 2, 917511, 65536, 2, 917510, 65536, 2, 917509, 65536, 2, 917508, 65536, 2, 917507, 0, 2, 851980, 458752, 1, 851981, 393216, 1, 851982, 65536, 0, 851983, 65536, 0, 851984, 65536, 0, 851985, 65536, 0, 851986, 65536, 0, 851987, 65536, 0, 917516, 65536, 2, 917517, 65536, 2, 917518, 65536, 2, 917519, 65536, 2, 917520, 65536, 2, 917521, 65536, 2, 917522, 65536, 2, 917523, 65536, 2, 786444, 0, 1, 720908, 0, 1, 655372, 0, 0, 655373, 131072, 0, 720909, 131072, 1, 786445, 131072, 1, 458763, 131072, 4, 458762, 0, 4, 458766, 0, 4, 458767, 131072, 4, 262155, 0, 4, 262156, 65536, 4, 262157, 65536, 4, 262158, 131072, 4, 262161, 983040, 3, 327697, 262144, 1, 393233, 262144, 2, 393235, 262144, 2, 327699, 262144, 1, 262163, 1048576, 3, 262162, 65536, 4, 655379, 0, 4, 655380, 65536, 4, 655381, 131072, 4, 458774, 0, 4, 458775, 65536, 4, 458776, 131072, 4, 851989, 65536, 0, 851990, 65536, 0, 851991, 458752, 1, 917527, 65536, 2, 917528, 131072, 2, 851992, 131072, 1, 851988, 65536, 0, 917524, 65536, 2, 917525, 65536, 2, 917526, 65536, 2, 786455, 0, 0, 786456, 131072, 0, 524306, 262144, 4) [node name="ParallaxBackground" type="ParallaxBackground" parent="."] [node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] motion_mirroring = Vector2(380, 0) [node name="bg" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] position = Vector2(194, 400) texture = ExtResource("3_vj1tk") [node name="sky" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] position = Vector2(194, 48) scale = Vector2(12, 18.4375) texture = ExtResource("4_kk5vy") [node name="water" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] position = Vector2(194, 654) scale = Vector2(12, 12) texture = ExtResource("5_2y1x6") [node name="RigidBody2D" parent="." instance=ExtResource("2_ob312")] position = Vector2(480, 213) [node name="level" type="Node2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="level"] position = Vector2(283, 463) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D"] shape = SubResource("WorldBoundaryShape2D_3u4a8") [node name="CharacterBody2D" parent="." groups=["player"] instance=ExtResource("2_64ccm")] position = Vector2(109, 400) PUSH_FORCE = 550 [node name="Camera2D" type="Camera2D" parent="CharacterBody2D"] position_smoothing_speed = 6.0 [node name="Area2D" type="Area2D" parent="."] position = Vector2(417, 92) script = ExtResource("2_nfj1w") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_x8qck") debug_color = Color(0.556863, 0.415686, 0.964706, 0.419608) [node name="RigidBody2D3" parent="." instance=ExtResource("2_ob312")] position = Vector2(593, 117) [node name="Platform" parent="." instance=ExtResource("6_hm88c")] position = Vector2(141, 290) [node name="AnimationPlayer" type="AnimationPlayer" parent="Platform"] libraries = { "": SubResource("AnimationLibrary_uo6r5") } autoplay = "move" [node name="BoxTrap" type="Node2D" parent="."] position = Vector2(415, -10) [node name="Coins" type="Node" parent="."] [node name="coin" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(328, 403) [node name="coin2" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(293, 403) [node name="coin3" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(257, 403) [node name="coin4" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(221, 403) [node name="coin5" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(362, 403) [node name="coin6" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(415, 304) [node name="coin7" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(473, 403) [node name="coin8" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(507, 403) [node name="coin9" parent="Coins" instance=ExtResource("10_74ldf")] position = Vector2(592, 176) [node name="Enemies" type="Node" parent="."] [node name="badguy" parent="Enemies" instance=ExtResource("11_8t7ny")] position = Vector2(197, 404) [node name="badguy2" parent="Enemies" instance=ExtResource("11_8t7ny")] position = Vector2(563, 404) [node name="badguy3" parent="Enemies" instance=ExtResource("11_8t7ny")] position = Vector2(644, 308) [connection signal="timeout" from="GameController/Timer" to="GameController" method="resetWorld"] [connection signal="deathComplete" from="CharacterBody2D" to="GameController" method="_on_death_complete"] [connection signal="areatrigger" from="Area2D" to="GameController" method="_on_area_2d_areatrigger"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]