[gd_scene load_steps=19 format=3 uid="uid://y083suj12rld"] [ext_resource type="Script" path="res://scripts/gamecontroller.gd" id="1_77wyw"] [ext_resource type="PackedScene" uid="uid://go4yc8hfo1gq" path="res://scenes/character.tscn" id="2_64ccm"] [ext_resource type="Texture2D" uid="uid://dwb83f7uoweuy" path="res://graphics/Terrain (32x32).png" id="2_l22q1"] [ext_resource type="Script" path="res://scripts/Trigger.gd" id="2_nfj1w"] [ext_resource type="Texture2D" uid="uid://dm8rx8b2mh3p" path="res://graphics/background/BG Image.png" id="3_fje8e"] [ext_resource type="Texture2D" uid="uid://cx7b01o887hk7" path="res://graphics/background/Additional Sky.png" id="4_j5t1o"] [ext_resource type="Texture2D" uid="uid://byq8ujatf55a1" path="res://graphics/background/Additional Water.png" id="5_pnfsl"] [ext_resource type="PackedScene" uid="uid://ukuu7p7vhlq" path="res://scenes/crate.tscn" id="5_u8rgi"] [ext_resource type="PackedScene" uid="uid://ci10o5e0xpxm8" path="res://scenes/platform.tscn" id="6_80wa1"] [ext_resource type="PackedScene" uid="uid://cx6o8fh0fj8kl" path="res://scenes/coin.tscn" id="10_0oixj"] [ext_resource type="PackedScene" uid="uid://g7p0pn145hpe" path="res://scenes/badguy.tscn" id="11_bxgbq"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_xg6qs"] texture = ExtResource("2_l22q1") 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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, -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/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, 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, 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/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_right_corner = 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/bottom_left_corner = 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_right_corner = 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/bottom_left_corner = 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, -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/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, 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, 16, -16, 16) 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 6:4/0/terrains_peering_bit/top_right_corner = 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_left_corner = 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 9:4/0/terrains_peering_bit/top_right_corner = 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_left_corner = 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, -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/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, 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_47g5u"] 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.5, 0.34375, 0.25, 1) sources/0 = SubResource("TileSetAtlasSource_xg6qs") [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_3u4a8"] [sub_resource type="CircleShape2D" id="CircleShape2D_x8qck"] radius = 32.0 [sub_resource type="Animation" id="Animation_t7ite"] 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(0, 0)] } [sub_resource type="Animation" id="Animation_n7r3j"] resource_name = "move" 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), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(51, 0)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_dcgrv"] _data = { "RESET": SubResource("Animation_t7ite"), "move": SubResource("Animation_n7r3j") } [node name="Game" type="Node2D"] [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_47g5u") format = 2 layer_0/tile_data = PackedInt32Array(393215, 0, 4, 327680, 65536, 4, 327681, 131072, 4, 131075, 0, 4, 131076, 131072, 4, 327683, 0, 4, 327684, 65536, 4, 327685, 65536, 4, 327686, 786432, 4, 327687, 131072, 2, 327688, 65536, 4, 327689, 65536, 4, 327690, 65536, 4, 327691, 786432, 4, 327692, 65536, 2, 327693, 131072, 2, 327694, 65536, 4, 327695, 131072, 4, 262155, 0, 0, 262156, 458752, 1, 196620, 393216, 3, 196621, 131072, 1, 262157, 458752, 4, 131084, 0, 0, 131085, 131072, 0, 65552, 0, 4, 65553, 131072, 4, 262161, 262144, 4, 65543, 0, 4, 65544, 65536, 4, 65545, 131072, 4, -65525, 983040, 4, -131061, 262144, 1, -196597, 983040, 3, -196596, 65536, 4, -196595, 1048576, 3, -131059, 262144, 1, -65523, 1048576, 4, -65524, 65536, 4, 262150, 0, 0, 262151, 131072, 0, 196615, 262144, 0) [node name="ParallaxBackground" type="ParallaxBackground" parent="."] [node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] motion_mirroring = Vector2(324, 0) [node name="bg" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] position = Vector2(142.5, 50) scale = Vector2(0.960938, 1) texture = ExtResource("3_fje8e") [node name="sky" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] position = Vector2(164.5, -114) scale = Vector2(10.1562, 8) texture = ExtResource("4_j5t1o") [node name="water" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] position = Vector2(165, 200.024) scale = Vector2(10.165, 5.686) texture = ExtResource("5_pnfsl") [node name="level" type="Node2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="level"] position = Vector2(158, 203) 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(41, 43) PUSH_FORCE = 550 [node name="Camera2D" type="Camera2D" parent="CharacterBody2D"] [node name="AreaTrigger" type="Area2D" parent="."] position = Vector2(274, 22) script = ExtResource("2_nfj1w") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="AreaTrigger"] shape = SubResource("CircleShape2D_x8qck") debug_color = Color(0.556863, 0.415686, 0.964706, 0.419608) [node name="crates" type="Node" parent="."] [node name="crate1" parent="crates" instance=ExtResource("5_u8rgi")] position = Vector2(114, 30) [node name="Platform" parent="." instance=ExtResource("6_80wa1")] [node name="AnimationPlayer" type="AnimationPlayer" parent="Platform"] libraries = { "": SubResource("AnimationLibrary_dcgrv") } autoplay = "move" [node name="BoxTrap" type="Node2D" parent="."] position = Vector2(276, -83) [node name="Coins" type="Node" parent="."] [node name="coin" parent="Coins" instance=ExtResource("10_0oixj")] position = Vector2(116, 151) [node name="coin2" parent="Coins" instance=ExtResource("10_0oixj")] position = Vector2(145, 58) [node name="coin3" parent="Coins" instance=ExtResource("10_0oixj")] position = Vector2(389, 58) [node name="coin4" parent="Coins" instance=ExtResource("10_0oixj")] position = Vector2(398, -40) [node name="badguy" parent="." instance=ExtResource("11_bxgbq")] position = Vector2(153, 146) [connection signal="timeout" from="GameController/Timer" to="GameController" method="resetWorld"] [connection signal="areatrigger" from="AreaTrigger" to="GameController" method="_on_area_2d_areatrigger"] [connection signal="body_entered" from="AreaTrigger" to="AreaTrigger" method="_on_body_entered"]