diff --git a/src/Actors/BlobbyCam.gd b/src/Actors/BlobbyCam.gd index a2e6681..29862d1 100644 --- a/src/Actors/BlobbyCam.gd +++ b/src/Actors/BlobbyCam.gd @@ -44,13 +44,12 @@ func _physics_process(delta: float) -> void: if(!GlobalState.is_dead): var player_vel = (blobby.position - prev_pos)/delta # TODO Take average of velocity here - if(abs(player_vel.x) >= blobby.max_velocity["walk"] * 0.97): + if(abs(player_vel.x) >= blobby.max_velocity["walk"] * 0.97 + && (sign(player_vel.x) == sign(target_offset.x) || target_offset.x == 0)): move_time += delta - slow_time = 0 elif(abs(player_vel.x) <= blobby.max_velocity["walk"] * 0.05 - || sign(player_vel.x) != sign(target_offset.x) ): + || sign(player_vel.x) != sign(target_offset.x) || target_offset.x == 0): slow_time += delta - move_time = 0 else: move_time = max(0, move_time - delta) @@ -100,6 +99,7 @@ func _adapt_to_movement(velocity: Vector2) -> void: # TODO: Blobby can go off screen, when shifting camera at level edge and returning i # n the opposite direction slowly if(move_time >= offset_adapt_seconds && !anim_player.is_playing()): + move_time = 0 target_offset.x = camera_horizontal_shift * sign(velocity.x) if(offset == target_offset || left_edge_pos + target_offset.x - 24 < limit_left || @@ -126,6 +126,7 @@ func _adapt_to_movement(velocity: Vector2) -> void: shiftRight.track_set_key_value(limit_right_track, 1, new_limit_right) anim_player.play("shiftingRight") elif(slow_time >= offset_reset_seconds): + slow_time = 0 target_offset.x = 0 if(offset == target_offset): return diff --git a/src/Actors/BlobbyCam.tscn b/src/Actors/BlobbyCam.tscn index 0e3a3ed..5b5761a 100644 --- a/src/Actors/BlobbyCam.tscn +++ b/src/Actors/BlobbyCam.tscn @@ -38,7 +38,7 @@ [ext_resource path="res://assets/environment/decor/screen/Screen1.png" type="Texture" id=36] [ext_resource path="res://assets/environment/decor/screen/Screen12.png" type="Texture" id=37] [ext_resource path="res://src/Environment/LightingShaderMaterial.tres" type="Material" id=38] -[ext_resource path="res://src/Levels/Emitter.gd" type="Script" id=39] +[ext_resource path="res://src/Actors/Emitter.gd" type="Script" id=39] [ext_resource path="res://assets/blobby/idle/blobby1.png" type="Texture" id=40] [sub_resource type="Animation" id=5] @@ -378,7 +378,7 @@ tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.6 ), -"transitions": PoolRealArray( 1, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Vector2( 0, 0 ), Vector2( 0, 0 ) ] } @@ -390,7 +390,7 @@ tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 0.6 ), -"transitions": PoolRealArray( 1, 0.8 ), +"transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ -10000000, -10000000 ] } @@ -406,7 +406,7 @@ tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.6 ), -"transitions": PoolRealArray( 1, 0.5 ), +"transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Vector2( 0, 0 ), Vector2( 0, 0 ) ] } @@ -418,7 +418,7 @@ tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 0.6 ), -"transitions": PoolRealArray( 1, 0.8 ), +"transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ 10000000, 10000000 ] } @@ -532,7 +532,7 @@ drag_margin_v_enabled = true drag_margin_left = 0.05 drag_margin_top = 0.0 drag_margin_right = 0.05 -drag_margin_bottom = 0.33 +drag_margin_bottom = 0.01 editor_draw_drag_margin = true script = ExtResource( 1 ) @@ -632,10 +632,10 @@ texture = ExtResource( 8 ) [node name="AnimatedSprite" type="AnimatedSprite" parent="ParallaxBackground/ParallaxLayer5"] visible = false frames = SubResource( 7 ) -frame = 5 +frame = 6 playing = true [node name="AnimatedSprite2" type="AnimatedSprite" parent="ParallaxBackground/ParallaxLayer5"] frames = SubResource( 8 ) -frame = 10 +frame = 11 playing = true diff --git a/src/Levels/Emitter.gd b/src/Actors/Emitter.gd similarity index 100% rename from src/Levels/Emitter.gd rename to src/Actors/Emitter.gd diff --git a/src/Actors/Enemies/Beings/BoundFrog.gd b/src/Actors/Enemies/Beings/BoundFrog.gd index 5d8e67c..36915d6 100644 --- a/src/Actors/Enemies/Beings/BoundFrog.gd +++ b/src/Actors/Enemies/Beings/BoundFrog.gd @@ -2,6 +2,7 @@ extends Node2D # Is given in blocks export var movement_radius = 6 +onready var tilemap: TileMap = $"%TileMap" var Rope = preload("res://src/Contraptions/Rope/Rope.tscn") var RopeAnchor = preload("res://src/Contraptions/Rope/RopeAnchor.tscn") @@ -18,7 +19,7 @@ func _on_LevelTemplate_ready() -> void: rope.rope_end_joint = get_node("RopeAnchor/cshape/pjoint") rope.rope_start_joint = get_node("WhatAreFrog/cshape/pjoint") rope.spawn_rope($WhatAreFrog.global_position, $RopeAnchor.global_position, movement_radius, false) - + $WhatAreFrog.tilemap = tilemap $WhatAreFrog.bind_to_anchor($RopeAnchor, movement_radius) # Executes on frog death diff --git a/src/Actors/Enemies/Beings/WhatAreFrog.gd b/src/Actors/Enemies/Beings/WhatAreFrog.gd index 8a8a866..756570c 100644 --- a/src/Actors/Enemies/Beings/WhatAreFrog.gd +++ b/src/Actors/Enemies/Beings/WhatAreFrog.gd @@ -5,17 +5,28 @@ onready var players = get_tree().get_nodes_in_group("player") onready var vision_raycast: RayCast2D = $VisionRayCast onready var orientation: RayCast2D = $Orientation +onready var feeler_raycast: RayCast2D = $FeelerRayCast +onready var tilemap: TileMap = $"../%TileMap" onready var jump_timer: Timer onready var target_lost_timer: Timer +onready var rng = RandomNumberGenerator.new() export var score := 100 # Is given in blocks export var vision_distance := 6.0 +# Jump distance in blocks +export var default_jump_distance := 3.0 +export var default_jump_angle := 70.0 +export var jump_time_search := 0.7 +export var jump_time_hunt := 0.3 +export var jump_time_standard_deviation := 0.1 + # Also in blocks var movement_radius: float var anchor: Node2D var is_bound := false +var was_restricted := false var has_reversed := false var target: Object = null @@ -29,11 +40,14 @@ var current_delta = 0.0 var reversing_possible_searching := true +# TODO Make parameters tunable!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111!! func _ready(): + default_jump_distance = default_jump_distance * tilemap.cell_size.x jump_timer = Timer.new() jump_timer.set_one_shot(true) jump_timer.connect("timeout", self, "jump") target_lost_timer = Timer.new() + target_lost_timer.set_one_shot(true) target_lost_timer.connect("timeout", self, "lose_target") add_child(jump_timer) add_child(target_lost_timer) @@ -60,8 +74,12 @@ func execute_movement(delta: float) -> void: var next_position = global_position + velocity * current_delta var current_distance = global_position.distance_to(anchor.global_position) var new_distance = next_position.distance_to(anchor.global_position) + # TODO Fix this in respects to x and y distances and movement dampening + # Maybe use mathemathematics or something idfc if(current_distance >= movement_radius && new_distance > current_distance): velocity.x = velocity.x * 0.8 + velocity.y = velocity.y * 0.8 + was_restricted = true velocity = move_and_slide(velocity, FLOOR_NORMAL, false, 4, 0.785398,false) if(is_on_floor()): velocity = Vector2(0,0) @@ -84,10 +102,9 @@ func searching() -> Vector2: if(is_on_floor()): if(jump_timer.is_stopped()): - jump_timer.start(rand_range(0.3,1.666)) + jump_timer.start(rng.randfn(jump_time_search, jump_time_standard_deviation)) if(in_air): in_air = false - #print("Jump distance: ",global_position.x - start_x) else: if(!in_air): start_x = global_position.x @@ -97,16 +114,15 @@ func searching() -> Vector2: return velocity + func hunting() -> Vector2: detect_player() if(is_on_floor()): if(jump_timer.is_stopped()): - #TODO Make normal distribution - jump_timer.start(rand_range(0.3,0.7)) + jump_timer.start(rng.randfn(jump_time_hunt, jump_time_standard_deviation)) if(in_air): in_air = false - #print("Jump distance: ",global_position.x - start_x) else: if(!in_air): start_x = global_position.x @@ -116,6 +132,7 @@ func hunting() -> Vector2: return velocity + func detect_player() -> void: var player if(players.empty()): @@ -124,6 +141,7 @@ func detect_player() -> void: player = players[0] vision_raycast.cast_to = (player.global_position - global_position).normalized() * 24 * vision_distance var ray_angle_to_facing = vision_raycast.cast_to.angle_to(orientation.cast_to) + vision_raycast.force_raycast_update() var collider = vision_raycast.get_collider() if(target == null && abs(ray_angle_to_facing) < PI/4 && collider != null && collider.is_in_group("player")): target_lost_timer.stop() @@ -145,40 +163,53 @@ func lose_target() -> void: func jump(): - # Calculate jump velocity with distance and angle - # Check if is bound - # Reverse the calculated x velocity if rope is short or there is a wall - print("jump") + # print("jump calculation initiated") + # Can only reverse once per jump calculation has_reversed = false - var v: Vector2 = velocity_for_jump_distance(2 * 24, deg2rad(70)) + var zero_vector = Vector2(0,0) + var v: Vector2 = velocity_for_jump_distance(default_jump_distance, deg2rad(default_jump_angle)) + v = correct_jump_direction(v) if(is_bound): - var next_position = global_position + v * get_facing_direction() * current_delta + var next_position = global_position + v * current_delta var current_distance = global_position.distance_to(anchor.global_position) var new_distance = next_position.distance_to(anchor.global_position) - #print(current_distance) - #print(new_distance) - if(new_distance >= movement_radius && new_distance > current_distance): + print(current_distance) + print(new_distance) + if((new_distance >= movement_radius && new_distance > current_distance) || (new_distance > current_distance && was_restricted)): if can_reverse_facing_direction(): reverse_facing_direction() - elif (($Left_Wallcast.is_colliding() || $Right_Wallcast.is_colliding()) && can_reverse_facing_direction()): - reverse_facing_direction() - elif (($Left_Wallcast.is_colliding() || $Right_Wallcast.is_colliding()) && can_reverse_facing_direction()): - reverse_facing_direction() + was_restricted = false + + if (get_facing_direction() < 0 && $Left_Wallcast.is_colliding()): + v = zero_vector + if (get_facing_direction() > 0 && $Right_Wallcast.is_colliding()): + v = zero_vector + if ($Right_Wallcast.is_colliding() && $Left_Wallcast.is_colliding()): + print("help this is a really tight space :(") + return velocity v = correct_jump_direction(v) - #TODO Consider distance to wall - # Will jump on top? If not, is spike under? - v = consider_jump_landing_space(v) - v = consider_jump_headspace(v) - #TODO Consider distance to wall, measure height of wall and seek angle for jumping on top + if(v != zero_vector): + v = consider_jump_headspace(v) + if(v != zero_vector): + v = consider_jump_landing_space(v) + if(v == zero_vector): + # TODO fix that you could call jump from jumping on top + # and let it fail if the top is dangerous for jump height or not safe + v = consider_jumping_on_top() + if(v == zero_vector && can_reverse_facing_direction()): + reverse_facing_direction() + jump() velocity = v + func correct_jump_direction(v: Vector2) -> Vector2: if sign(v.x) != get_facing_direction(): v.x *= -1 return v + # Cast a ray to the highest point of the jump # Check the highest point for collision # Calculate safe jump height and then a safe jump velocity @@ -186,46 +217,50 @@ func consider_jump_headspace(v: Vector2) -> Vector2: var height = calculate_jump_height(v) var distance = calculate_jump_distance(v) # Half distance is an estimate of the jumps apex() - $CeilingRayCast.cast_to = Vector2(get_facing_direction()*(distance/2), - height) - $CeilingRayCast.force_raycast_update() - var height_collider = $CeilingRayCast.get_collider() + var height_collider = check_feeler(Vector2(get_facing_direction()*(distance/2), (-height)), Vector2(0,-9)) if(height_collider != null): # check half jump height - var half_height_v = jump_height_to_velocity(height/2, v) + var half_height_v = jump_height_to_velocity(height/3, v) var half_height = calculate_jump_height(half_height_v) - $CeilingRayCast.cast_to = Vector2(get_facing_direction()*(distance/2), - half_height) - $CeilingRayCast.force_raycast_update() - height_collider = $CeilingRayCast.get_collider() + height_collider = check_feeler(Vector2(get_facing_direction()*(distance/2), (-half_height)), Vector2(0,-9)) if(height_collider != null && can_reverse_facing_direction()): print("no safe height for frog jump") - #TODO Consider jumping ontop of target - reverse_facing_direction() return Vector2(0,0) else: - var collision_point = $CeilingRayCast.get_collision_point() + var collision_point = feeler_raycast.get_collision_point() #TODO Consider sprite size for height - var target_height = collision_point.y - $CeilingRayCast.global_position.y + var target_height = collision_point.y - (feeler_raycast.global_position.y - 9) v = jump_height_to_velocity(abs(target_height), v) return v + # Check the block in jump distance for danger or height # If danger check neighboring blocks: if still danger, then jump closer (or jump over) # If height move to distance which allows 1 block high jump -# TODO See if jump would land on ground before spike func consider_jump_landing_space(v: Vector2) -> Vector2: - v = jump_to_tile_center(v) - if(!is_jump_path_safe(v, global_position)): - # print("would land in spikes") - v = jump_distance_to_velocity(calculate_jump_distance(v) - 24, v) + var jump_distance = calculate_jump_distance(v) + var jump_height = calculate_jump_height(v) + var collider = check_feeler(Vector2(jump_distance * get_facing_direction(), - jump_height/2)) + # TODO Unpacked loop, make function or something? + # Shortens the jump in steps to make it more safe + if(!is_jump_path_safe(v, global_position) || collider != null): + jump_distance = calculate_jump_distance(v) - 24 + v = change_jump_distance(jump_distance, v) + jump_height = calculate_jump_height(v) v = correct_jump_direction(v) - # print("next best distance") - # print(calculate_jump_distance(v)) - if(!is_jump_path_safe(v, global_position) && can_reverse_facing_direction()): - print("cant jump over spikes") - reverse_facing_direction() - return Vector2(0,0) + collider = check_feeler(Vector2(jump_distance * get_facing_direction(), - jump_height/2)) + if(!is_jump_path_safe(v, global_position) || collider != null): + jump_distance = calculate_jump_distance(v) - 12 + v = change_jump_distance(jump_distance, v) + jump_height = calculate_jump_height(v) + v = correct_jump_direction(v) + collider = check_feeler(Vector2(jump_distance * get_facing_direction(), - jump_height/2)) + if((!is_jump_path_safe(v, global_position) || collider != null) && can_reverse_facing_direction()): + return Vector2(0,0) return v + +# Tries to shorten the jump, so that it lands in a tiles center func jump_to_tile_center(v: Vector2) -> Vector2: var distance = stepify(calculate_jump_distance(v), 0.01) if !is_equal_approx(fmod(abs(global_position.x + distance * get_facing_direction()), 24), 12): @@ -239,28 +274,32 @@ func jump_to_tile_center(v: Vector2) -> Vector2: new_distance = distance + 12 - fmod((global_position.x + distance), 24) print("centering distance") print(new_distance) - v = jump_distance_to_velocity(abs(new_distance), v) + v = change_jump_distance(abs(new_distance), v) v = correct_jump_direction(v) return v + +# TODO Depends on Frog Shape and Tile Shape func is_jump_path_safe(v: Vector2, pos: Vector2) -> bool: var v0 = v.length() var angle = v.angle() var jump_distance = calculate_jump_distance(v) var harmful_nodes = get_tree().get_nodes_in_group("harmful") - # print("calculate landing spot safety") for node in harmful_nodes: var node_pos = node.global_position if abs(node_pos.x - pos.x) > abs(jump_distance) * 3 || abs(node_pos.x - pos.x) < 1: continue var node_y = node_pos.y - 12 - var initial_throw_height = node_y - global_position.y - 9 + var initial_throw_height = node_y - (global_position.y + 9) var term1 = (pow(v0, 2) * sin(2 * angle)) / (2 * _gravity) var term2 = ((v0 * cos(angle))/_gravity) * sqrt(pow(v0, 2) * pow(sin(angle), 2) + 2 * _gravity * initial_throw_height) var distance = abs(term1) + abs(term2) # print("distance to next spike") # print(pos.x + sign(v.x) * distance - node_pos.x) - if(abs(pos.x + sign(v.x) * distance - node_pos.x) < 12): + var safe_distance = 12 + if (sign(initial_throw_height) < 0): + safe_distance = 24 + if(abs(pos.x + sign(v.x) * distance - node_pos.x) < safe_distance): return false return true @@ -268,29 +307,88 @@ func is_jump_path_safe(v: Vector2, pos: Vector2) -> bool: func calculate_jump_height(v: Vector2) -> float: return abs((pow(v.length(), 2) * pow(sin(v.angle()), 2))/(2*_gravity)) + +func consider_jumping_on_top() -> Vector2: + var collider = check_feeler(Vector2(36 * get_facing_direction(),0)) + var facing = 0 if get_facing_direction() >= 0 else - 1 + if (collider == null): + return Vector2(0,0) + var local_position = tilemap.to_local(feeler_raycast.get_collision_point()) + var map_position = tilemap.world_to_map(local_position) + var tile_position = Vector2(map_position.x + facing, map_position.y) + print(tile_position) + # TODO Here the climb height of frog is limited to one constantly + if (tilemap.get_cell(tile_position.x, tile_position.y - 1) != -1): + print("wall is more than one high") + return Vector2(0,0) + print("wall is only one high") + var tile_upper_left_corner = tilemap.to_global(tilemap.map_to_world(tile_position)) + var tile_upper_right_corner = Vector2(tile_upper_left_corner.x + tilemap.cell_size.x, tile_upper_left_corner.y) + + var jump_angle = 0 + if(facing < 0): + var frog_bottom_left_corner = Vector2($EnemyBody.global_position.x - $EnemyBody.shape.extents.x, + $EnemyBody.global_position.y + $EnemyBody.shape.extents.y) + jump_angle = frog_bottom_left_corner.angle_to_point(tile_upper_right_corner) + else: + var frog_bottom_right_corner = Vector2($EnemyBody.global_position.x + $EnemyBody.shape.extents.x, + $EnemyBody.global_position.y + $EnemyBody.shape.extents.y) + jump_angle = frog_bottom_right_corner.angle_to_point(tile_upper_left_corner) - PI + print(rad2deg(jump_angle)) + + # if(abs(rad2deg(jump_angle)) < default_jump_angle): + # return correct_jump_direction(velocity_for_jump_distance(default_jump_distance/2, abs(deg2rad(default_jump_angle)))) + if(abs(rad2deg(jump_angle)) < 78): + return correct_jump_direction(velocity_for_jump_distance(default_jump_distance/2, abs(deg2rad(80)))) + else: + return velocity_for_jump_distance(8, abs(deg2rad(45))) * -1 * facing + + return Vector2(0,0) + # Check if there is another obstacle above the block or do a regular jump with adjusted parameters instead(for checking) + # Cast from bottom corner to upper tile corner + # Check the angle of the raycast + # Return small jump backwards if the angle is too steep + # Make the angle 1 deg steeper + # Return a jump along the angled raycast + + # Only works for jumps on straight ground func calculate_jump_distance(v: Vector2) -> float: return abs((pow(v.length(), 2) * sin(-1 * 2 * v.angle()))/(_gravity)) + func jump_height_to_velocity(target_height: float, v: Vector2) -> Vector2: var initial_height = calculate_jump_height(v) return v.normalized() * sqrt(pow(v.length(),2)/(initial_height/target_height)) -#TODO Ähh Öhh das ist iwie doppelt ne -func jump_distance_to_velocity(target_distance: float, v: Vector2) -> Vector2: + +# Changes a Vector for a jump to the targeted distance, keeping the angle +func change_jump_distance(target_distance: float, v: Vector2) -> Vector2: var initial_distance = calculate_jump_distance(v) return v.normalized() * sqrt(pow(v.length(),2)/(initial_distance/target_distance)) +# Takes an angle and a distance to calculate a jump launching at that angle and covering the distance func velocity_for_jump_distance(distance: float = 3*24, angle: float = deg2rad(65)) -> Vector2: var abs_velocity = sqrt((distance * _gravity)/sin(2*angle)) return Vector2(abs_velocity,0).rotated(-1*angle) + func can_reverse_facing_direction() -> bool: if(is_on_floor() && !has_reversed): return true return false +# Checks the feeler ray for collisions and returns collision or null +func check_feeler(v: Vector2, _offset = Vector2(0,0)) -> Object: + var prev_position = feeler_raycast.position + feeler_raycast.position += _offset + feeler_raycast.cast_to = v + feeler_raycast.force_raycast_update() + feeler_raycast.position = prev_position + return feeler_raycast.get_collider() + + func reverse_facing_direction() -> void: has_reversed = true print("reversing direction") diff --git a/src/Actors/Enemies/Beings/WhatAreFrog.tscn b/src/Actors/Enemies/Beings/WhatAreFrog.tscn index 098ce6d..e3ff1d8 100644 --- a/src/Actors/Enemies/Beings/WhatAreFrog.tscn +++ b/src/Actors/Enemies/Beings/WhatAreFrog.tscn @@ -49,8 +49,7 @@ rect = Rect2( -89, -10, 2, 20 ) process_parent = true physics_process_parent = true -[node name="CeilingRayCast" type="RayCast2D" parent="."] -position = Vector2( 0, -9 ) +[node name="FeelerRayCast" type="RayCast2D" parent="."] enabled = true cast_to = Vector2( 0, -1 ) collision_mask = 56 diff --git a/src/Levels/01 Level.tscn b/src/Levels/01 Level.tscn index 775e89e..bc8a9ee 100644 --- a/src/Levels/01 Level.tscn +++ b/src/Levels/01 Level.tscn @@ -26,11 +26,8 @@ wait_time = 20.0 [node name="BlobbyCam" parent="." instance=ExtResource( 12 )] -[node name="AnimatedSprite" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="4"] -frame = 9 - [node name="AnimatedSprite2" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="5"] -frame = 4 +frame = 12 [node name="Blobby" parent="." instance=ExtResource( 2 )] unique_name_in_owner = true diff --git a/src/Levels/02 Level.tscn b/src/Levels/02 Level.tscn index 51420d6..7f92186 100644 --- a/src/Levels/02 Level.tscn +++ b/src/Levels/02 Level.tscn @@ -80,10 +80,10 @@ wait_time = 20.0 [node name="BlobbyCam" parent="." instance=ExtResource( 12 )] [node name="AnimatedSprite" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="4"] -frame = 10 +frame = 0 [node name="AnimatedSprite2" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="5"] -frame = 1 +frame = 5 [node name="Blobby" parent="." instance=ExtResource( 2 )] unique_name_in_owner = true diff --git a/src/Levels/03 Level.tscn b/src/Levels/03 Level.tscn index 5c2e96f..19e7328 100644 --- a/src/Levels/03 Level.tscn +++ b/src/Levels/03 Level.tscn @@ -127,7 +127,7 @@ shape = SubResource( 3 ) position = Vector2( 0, 1.5 ) z_index = -1 frames = SubResource( 5 ) -frame = 9 +frame = 21 playing = true [node name="TileMap" type="TileMap" parent="."] diff --git a/src/Levels/The Line Level.tscn b/src/Levels/Froggy Test Level.tscn similarity index 51% rename from src/Levels/The Line Level.tscn rename to src/Levels/Froggy Test Level.tscn index bbb7829..6f82af4 100644 --- a/src/Levels/The Line Level.tscn +++ b/src/Levels/Froggy Test Level.tscn @@ -1,29 +1,28 @@ [gd_scene load_steps=15 format=2] -[ext_resource path="res://src/Utilities/GameplaySignalManager.gd" type="Script" id=1] -[ext_resource path="res://src/Environment/AlienShipTileSet.tres" type="TileSet" id=2] +[ext_resource path="res://src/Environment/AlienShipTileSet.tres" type="TileSet" id=1] +[ext_resource path="res://src/Utilities/GameplaySignalManager.gd" type="Script" id=2] [ext_resource path="res://src/Contraptions/Triggers/ElevatorButton.tscn" type="PackedScene" id=3] -[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=4] +[ext_resource path="res://src/Actors/BlobbyCam.tscn" type="PackedScene" id=4] [ext_resource path="res://src/NeutralObjects/Coin.tscn" type="PackedScene" id=5] -[ext_resource path="res://src/Levels/Enemy Test Level.tscn" type="PackedScene" id=6] -[ext_resource path="res://src/Levels/The Line Level.gd" type="Script" id=7] -[ext_resource path="res://src/Contraptions/Triggers/ThreeWhyButtons.tscn" type="PackedScene" id=8] -[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=9] -[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=10] -[ext_resource path="res://src/Actors/BlobbyCam.tscn" type="PackedScene" id=11] -[ext_resource path="res://src/Actors/Enemies/Beings/WhatAreFrog.tscn" type="PackedScene" id=12] -[ext_resource path="res://src/ObstacleObjects/Spikes.tscn" type="PackedScene" id=13] +[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=6] +[ext_resource path="res://src/Levels/Enemy Test Level.tscn" type="PackedScene" id=7] +[ext_resource path="res://src/Actors/Enemies/Beings/WhatAreFrog.tscn" type="PackedScene" id=8] +[ext_resource path="res://src/Actors/Enemies/Beings/BoundFrog.tscn" type="PackedScene" id=9] +[ext_resource path="res://src/Contraptions/Triggers/ThreeWhyButtons.tscn" type="PackedScene" id=10] +[ext_resource path="res://src/ObstacleObjects/Spikes.tscn" type="PackedScene" id=11] +[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=12] +[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=13] [sub_resource type="AnimationNodeStateMachinePlayback" id=4] [node name="LevelTemplate" type="Node2D"] -script = ExtResource( 7 ) __meta__ = { "_edit_horizontal_guides_": [ 464.0 ], "_edit_vertical_guides_": [ 2880.0 ] } -[node name="UserInterface" parent="." instance=ExtResource( 9 )] +[node name="UserInterface" parent="." instance=ExtResource( 13 )] [node name="Timer" parent="UserInterface/HUD/HUDOverlay/GetBackTimer" index="0"] wait_time = 20.0 @@ -32,34 +31,46 @@ wait_time = 20.0 rect_pivot_offset = Vector2( 389, 267 ) [node name="TileMap" type="TileMap" parent="."] -tile_set = ExtResource( 2 ) +unique_name_in_owner = true +tile_set = ExtResource( 1 ) cell_size = Vector2( 24, 24 ) +cell_quadrant_size = 4 +cell_custom_transform = Transform2D( 24, 0, 0, 24, 0, 0 ) collision_layer = 8 collision_mask = 8 format = 1 -tile_data = PoolIntArray( 65528, 2, 0, 65529, 2, 0, 65530, 2, 0, 65531, -1610612734, 0, 51, -1073741822, 0, 131064, 2, 0, 131065, 2, 0, 131066, 2, 0, 131067, -1610612734, 0, 65587, -1073741822, 0, 196600, 2, 0, 196601, 2, 0, 196602, 2, 0, 196603, -1610612734, 0, 131123, -1073741822, 0, 262136, 2, 0, 262137, 2, 0, 262138, 2, 0, 262139, -1610612734, 0, 196659, -1073741822, 0, 327672, 2, 0, 327673, 2, 0, 327674, 2, 0, 327675, -1610612734, 0, 262195, -1073741822, 0, 393208, 2, 0, 393209, 2, 0, 393210, 2, 0, 393211, -1610612734, 0, 327731, -1073741822, 0, 458744, 2, 0, 458745, 2, 0, 458746, 2, 0, 458747, -1610612734, 0, 393267, -1073741822, 0, 524280, 2, 0, 524281, 2, 0, 524282, 2, 0, 524283, -1610612734, 0, 458803, -1073741822, 0, 589816, 2, 0, 589817, 2, 0, 589818, 2, 0, 589819, -1610612734, 0, 524339, -1073741822, 0, 655352, 2, 0, 655353, 2, 0, 655354, 2, 0, 655355, -1610612734, 0, 589875, -1073741822, 0, 720888, 2, 0, 720889, 2, 0, 720890, 2, 0, 720891, -1610612734, 0, 655411, -1073741822, 0, 786424, 2, 0, 786427, 2, 0, 786428, 2, 0, 786429, 2, 0, 786430, 2, 0, 786431, 2, 0, 720896, 2, 0, 720897, 2, 0, 720898, 2, 0, 720899, 2, 0, 720900, 1610612738, 0, 720901, 2, 0, 720902, 2, 0, 720947, -1073741822, 0, 851960, 2, 0, 786483, -1073741822, 0, 917496, 2, 0, 852019, -1073741822, 0, 983032, 2, 0, 983034, 2, 0, 983035, 2, 0, 983036, 2, 0, 983037, 2, 0, 917511, 1610612738, 0, 917512, 2, 0, 917513, 2, 0, 917514, 2, 0, 917515, 2, 0, 917516, 2, 0, 917517, 2, 0, 917518, 2, 0, 917519, 2, 0, 917521, 2, 0, 917522, 2, 0, 917523, 2, 0, 917524, 2, 0, 917525, 2, 0, 917526, 2, 0, 917527, 2, 0, 917528, 2, 0, 917529, 2, 0, 917530, 2, 0, 917531, 2, 0, 917532, 2, 0, 917533, 2, 0, 917534, 2, 0, 917535, 2, 0, 917536, 2, 0, 917537, 2, 0, 917538, 2, 0, 917539, 2, 0, 917540, 2, 0, 917541, 2, 0, 917542, 2, 0, 917543, 2, 0, 917544, 2, 0, 917545, 2, 0, 917546, 2, 0, 917547, 2, 0, 917548, 2, 0, 917549, 2, 0, 917550, 2, 0, 917551, 2, 0, 917552, 2, 0, 917553, 2, 0, 917554, 2, 0, 917555, 2, 0, 1048568, 2, 0, 1048569, 2, 0, 1048570, 2, 0, 1048571, 2, 0, 1048572, 2, 0, 1048573, 2, 0, 1048574, 2, 0, 983046, 2, 0, 983047, 1610612738, 0, 983048, 2, 0, 983049, 2, 0, 983050, 2, 0, 983051, 2, 0, 983052, 2, 0, 983053, 2, 0, 983054, 2, 0, 983055, 2, 0, 983056, 2, 0, 983057, 2, 0, 983058, 2, 0, 983059, 2, 0, 983060, 2, 0, 983061, 2, 0, 983062, 2, 0, 983063, 2, 0, 983064, 2, 0, 983065, 2, 0, 983066, 2, 0, 983067, 2, 0, 983068, 2, 0, 983069, 2, 0, 983070, 2, 0, 983071, 2, 0, 983072, 2, 0, 983073, 2, 0, 983074, 2, 0, 983075, 2, 0, 983076, 2, 0, 983077, 2, 0, 983078, 2, 0, 983079, 2, 0, 983080, 2, 0, 983081, 2, 0, 983082, 2, 0, 983083, 2, 0, 983084, 2, 0, 983085, 2, 0, 983086, 2, 0, 983087, 2, 0, 983088, 2, 0, 983089, 2, 0, 983090, 2, 0, 983091, 2, 0, 1114104, 2, 0, 1114105, 2, 0, 1114106, 2, 0, 1114107, 2, 0, 1114108, 2, 0, 1114109, 2, 0, 1114110, 2, 0, 1114111, 2, 0, 1048576, 2, 0, 1048578, 2, 0, 1048579, 2, 0, 1048580, 2, 0, 1048582, 2, 0, 1048583, 2, 0, 1048584, 2, 0, 1048585, 2, 0, 1048586, 2, 0, 1048587, 2, 0, 1048588, 2, 0, 1048589, 2, 0, 1048590, 2, 0, 1048591, 2, 0, 1048592, 2, 0, 1048593, 2, 0, 1048594, 2, 0, 1048595, 2, 0, 1048596, 2, 0, 1048597, 2, 0, 1048598, 2, 0, 1048599, 2, 0, 1048600, 2, 0, 1048601, 2, 0, 1048602, 2, 0, 1048603, 2, 0, 1048604, 2, 0, 1048605, 2, 0, 1048606, 2, 0, 1048607, 2, 0, 1048608, 2, 0, 1048609, 2, 0, 1048610, 2, 0, 1048611, 2, 0, 1048612, 2, 0, 1048613, 2, 0, 1048614, 2, 0, 1048615, 2, 0, 1048616, 2, 0, 1048617, 2, 0, 1048618, 2, 0, 1048619, 2, 0, 1048620, 2, 0, 1048621, 2, 0, 1048622, 2, 0, 1048623, 2, 0, 1048624, 2, 0, 1048625, 2, 0, 1048626, 2, 0, 1048627, 2, 0, 1179640, 2, 0, 1179641, 2, 0, 1179642, 2, 0, 1179643, 2, 0, 1179644, 2, 0, 1179645, 2, 0, 1179646, 2, 0, 1179647, 2, 0, 1114112, 2, 0, 1114113, 2, 0, 1114114, 2, 0, 1114115, 2, 0, 1114116, 2, 0, 1114117, 2, 0, 1114118, 2, 0, 1114119, 2, 0, 1114120, 2, 0, 1114121, 2, 0, 1114122, 2, 0, 1114123, 2, 0, 1114124, 2, 0, 1114125, 2, 0, 1114126, 2, 0, 1114127, 2, 0, 1114128, 2, 0, 1114129, 2, 0, 1114130, 2, 0, 1114131, 2, 0, 1114132, 2, 0, 1114133, 2, 0, 1114134, 2, 0, 1114135, 2, 0, 1114136, 2, 0, 1114137, 2, 0, 1114138, 2, 0, 1114139, 2, 0, 1114140, 2, 0, 1114141, 2, 0, 1114142, 2, 0, 1114143, 2, 0, 1114144, 2, 0, 1114145, 2, 0, 1114146, 2, 0, 1114147, 2, 0, 1114148, 2, 0, 1114149, 2, 0, 1114150, 2, 0, 1114151, 2, 0, 1114152, 2, 0, 1114153, 2, 0, 1114154, 2, 0, 1114155, 2, 0, 1114156, 2, 0, 1114157, 2, 0, 1114158, 2, 0, 1114159, 2, 0, 1114160, 2, 0, 1114161, 2, 0, 1114162, 2, 0, 1114163, 2, 0 ) +tile_data = PoolIntArray( 65528, 2, 0, 65529, 2, 0, 65530, 2, 0, 65531, -1610612734, 0, 0, 2, 0, 51, -1073741822, 0, 131064, 2, 0, 131065, 2, 0, 131066, 2, 0, 131067, -1610612734, 0, 65587, -1073741822, 0, 196600, 2, 0, 196601, 2, 0, 196602, 2, 0, 196603, -1610612734, 0, 131123, -1073741822, 0, 262136, 2, 0, 262137, 2, 0, 262138, 2, 0, 262139, -1610612734, 0, 196659, -1073741822, 0, 327672, 2, 0, 327673, 2, 0, 327674, 2, 0, 327675, -1610612734, 0, 262195, -1073741822, 0, 393208, 2, 0, 393209, 2, 0, 393210, 2, 0, 393211, -1610612734, 0, 327731, -1073741822, 0, 458744, 2, 0, 458745, 2, 0, 458746, 2, 0, 458747, -1610612734, 0, 393267, -1073741822, 0, 524280, 2, 0, 524281, 2, 0, 524282, 2, 0, 524283, -1610612734, 0, 458803, -1073741822, 0, 589816, 2, 0, 589817, 2, 0, 589818, 2, 0, 589819, -1610612734, 0, 524339, -1073741822, 0, 655352, 2, 0, 655353, 2, 0, 655354, 2, 0, 655355, -1610612734, 0, 589875, -1073741822, 0, 720888, 2, 0, 720889, 2, 0, 720890, 2, 0, 720891, -1610612734, 0, 655411, -1073741822, 0, 786424, 2, 0, 786427, 2, 0, 786428, 2, 0, 786429, 2, 0, 786430, 2, 0, 786431, 2, 0, 720896, 2, 0, 720897, 2, 0, 720898, 2, 0, 720899, 2, 0, 720900, 1610612738, 0, 720901, 2, 0, 720902, 2, 0, 720903, -1610612734, 0, 720904, -1610612734, 0, 720905, -1610612734, 0, 720906, -1610612734, 0, 720907, -1610612734, 0, 720908, -1610612734, 0, 720909, -1610612734, 0, 720910, -1610612734, 0, 720911, -1610612734, 0, 720912, -1610612734, 0, 720913, -1610612734, 0, 720914, -1610612734, 0, 720947, -1073741822, 0, 851960, 2, 0, 786450, -1610612729, 0, 786451, -1610612729, 0, 786462, 2, 0, 786463, -1610612729, 0, 786464, -1610612729, 0, 786465, -1610612729, 0, 786466, -1610612729, 0, 786467, -1610612729, 0, 786483, -1073741822, 0, 917496, 2, 0, 851986, -1610612729, 0, 851987, -1610612729, 0, 851988, 2, 0, 851989, 2, 0, 851997, -1610612729, 0, 851998, 2, 0, 851999, -1610612729, 0, 852000, -1610612729, 0, 852001, -1610612729, 0, 852002, -1610612729, 0, 852003, -1610612729, 0, 852019, -1073741822, 0, 983032, 2, 0, 983034, 2, 0, 983035, 2, 0, 983036, 2, 0, 983037, 2, 0, 917510, 2, 0, 917511, 1610612738, 0, 917512, 2, 0, 917513, 2, 0, 917514, 2, 0, 917515, 2, 0, 917516, 2, 0, 917518, 2, 0, 917519, 2, 0, 917520, 2, 0, 917521, 2, 0, 917522, 2, 0, 917523, 2, 0, 917524, 2, 0, 917525, -1610612729, 0, 917526, 2, 0, 917527, 2, 0, 917529, 2, 0, 917530, -1610612729, 0, 917531, 2, 0, 917533, 2, 0, 917534, 2, 0, 917535, 2, 0, 917536, 2, 0, 917537, 2, 0, 917538, 2, 0, 917539, 2, 0, 917540, 2, 0, 917541, 2, 0, 917542, 2, 0, 917543, 2, 0, 917544, 2, 0, 917545, 2, 0, 917546, 2, 0, 917547, 2, 0, 917548, 2, 0, 917549, 2, 0, 917550, 2, 0, 917551, 2, 0, 917552, 2, 0, 917553, 2, 0, 917554, 2, 0, 917555, 2, 0, 1048568, 2, 0, 1048569, 2, 0, 1048570, 2, 0, 1048571, 2, 0, 1048572, 2, 0, 1048573, 2, 0, 1048574, 2, 0, 983046, 2, 0, 983047, 1610612738, 0, 983048, 2, 0, 983049, 2, 0, 983050, 2, 0, 983051, 2, 0, 983052, 2, 0, 983053, 2, 0, 983054, 2, 0, 983055, 2, 0, 983056, 2, 0, 983057, 2, 0, 983058, 2, 0, 983059, 2, 0, 983060, 2, 0, 983061, 2, 0, 983062, 2, 0, 983063, 2, 0, 983064, 2, 0, 983065, 2, 0, 983066, 2, 0, 983067, 2, 0, 983068, 2, 0, 983069, 2, 0, 983070, 2, 0, 983071, 2, 0, 983072, 2, 0, 983073, 2, 0, 983074, 2, 0, 983075, 2, 0, 983076, 2, 0, 983077, 2, 0, 983078, 2, 0, 983079, 2, 0, 983080, 2, 0, 983081, 2, 0, 983082, 2, 0, 983083, 2, 0, 983084, 2, 0, 983085, 2, 0, 983086, 2, 0, 983087, 2, 0, 983088, 2, 0, 983089, 2, 0, 983090, 2, 0, 983091, 2, 0, 1114104, 2, 0, 1114105, 2, 0, 1114106, 2, 0, 1114107, 2, 0, 1114108, 2, 0, 1114109, 2, 0, 1114110, 2, 0, 1114111, 2, 0, 1048576, 2, 0, 1048578, 2, 0, 1048579, 2, 0, 1048582, 2, 0, 1048583, 2, 0, 1048584, 2, 0, 1048585, 2, 0, 1048586, 2, 0, 1048587, 2, 0, 1048588, 2, 0, 1048589, 2, 0, 1048590, 2, 0, 1048591, 2, 0, 1048592, 2, 0, 1048593, 2, 0, 1048594, 2, 0, 1048595, 2, 0, 1048596, 2, 0, 1048597, 2, 0, 1048598, 2, 0, 1048599, 2, 0, 1048600, 2, 0, 1048601, 2, 0, 1048602, 2, 0, 1048603, 2, 0, 1048604, 2, 0, 1048605, 2, 0, 1048606, 2, 0, 1048607, 2, 0, 1048608, 2, 0, 1048609, 2, 0, 1048610, 2, 0, 1048611, 2, 0, 1048612, 2, 0, 1048613, 2, 0, 1048614, 2, 0, 1048615, 2, 0, 1048616, 2, 0, 1048617, 2, 0, 1048618, 2, 0, 1048619, 2, 0, 1048620, 2, 0, 1048621, 2, 0, 1048622, 2, 0, 1048623, 2, 0, 1048624, 2, 0, 1048625, 2, 0, 1048626, 2, 0, 1048627, 2, 0, 1179640, 2, 0, 1179641, 2, 0, 1179642, 2, 0, 1179643, 2, 0, 1179644, 2, 0, 1179645, 2, 0, 1179646, 2, 0, 1179647, 2, 0, 1114112, 2, 0, 1114113, 2, 0, 1114114, 2, 0, 1114115, 2, 0, 1114116, 2, 0, 1114117, 2, 0, 1114118, 2, 0, 1114119, 2, 0, 1114120, 2, 0, 1114121, 2, 0, 1114122, 2, 0, 1114123, 2, 0, 1114124, 2, 0, 1114125, 2, 0, 1114126, 2, 0, 1114127, 2, 0, 1114128, 2, 0, 1114129, 2, 0, 1114130, 2, 0, 1114131, 2, 0, 1114132, 2, 0, 1114133, 2, 0, 1114134, 2, 0, 1114135, 2, 0, 1114136, 2, 0, 1114137, 2, 0, 1114138, 2, 0, 1114139, 2, 0, 1114140, 2, 0, 1114141, 2, 0, 1114142, 2, 0, 1114143, 2, 0, 1114144, 2, 0, 1114145, 2, 0, 1114146, 2, 0, 1114147, 2, 0, 1114148, 2, 0, 1114149, 2, 0, 1114150, 2, 0, 1114151, 2, 0, 1114152, 2, 0, 1114153, 2, 0, 1114154, 2, 0, 1114155, 2, 0, 1114156, 2, 0, 1114157, 2, 0, 1114158, 2, 0, 1114159, 2, 0, 1114160, 2, 0, 1114161, 2, 0, 1114162, 2, 0, 1114163, 2, 0 ) -[node name="Spikes" parent="." instance=ExtResource( 13 )] +[node name="Spikes" parent="." instance=ExtResource( 11 )] position = Vector2( 36, 396 ) [node name="AnimatedSprite" parent="Spikes" index="1"] -frame = 1 +frame = 17 -[node name="Spikes2" parent="." instance=ExtResource( 13 )] +[node name="Spikes2" parent="." instance=ExtResource( 11 )] position = Vector2( 132, 396 ) -[node name="Spikes3" parent="." instance=ExtResource( 13 )] -position = Vector2( 36, 396 ) +[node name="Spikes3" parent="." instance=ExtResource( 11 )] +position = Vector2( 108, 396 ) -[node name="Spikes4" parent="." instance=ExtResource( 13 )] +[node name="Spikes4" parent="." instance=ExtResource( 11 )] position = Vector2( -156, 347 ) -[node name="Spikes5" parent="." instance=ExtResource( 13 )] -position = Vector2( 396, 348 ) +[node name="Spikes5" parent="." instance=ExtResource( 11 )] +position = Vector2( 588, 348 ) -[node name="BlobbyCam" parent="." instance=ExtResource( 11 )] +[node name="Spikes7" parent="." instance=ExtResource( 11 )] +position = Vector2( 684, 348 ) -[node name="Blobby" parent="." instance=ExtResource( 4 )] +[node name="Spikes6" parent="." instance=ExtResource( 11 )] +position = Vector2( 324, 348 ) + +[node name="WhatAreFrog" parent="." instance=ExtResource( 8 )] +position = Vector2( 396, 325 ) + +[node name="BlobbyCam" parent="." instance=ExtResource( 4 )] + +[node name="Blobby" parent="." instance=ExtResource( 12 )] unique_name_in_owner = true position = Vector2( 107, 264 ) scale = Vector2( 0.878906, 0.936025 ) @@ -100,7 +111,7 @@ position = Vector2( 696, -48 ) scale = Vector2( 0.133, 0.133 ) scoreValue = null -[node name="TreeWhyButtons" parent="." instance=ExtResource( 8 )] +[node name="TreeWhyButtons" parent="." instance=ExtResource( 10 )] visible = false position = Vector2( -108, -7 ) @@ -120,18 +131,25 @@ rotation = -1.5708 visible = false position = Vector2( 1452, -96 ) -[node name="Portal" parent="ElevatorButton" instance=ExtResource( 10 )] +[node name="Portal" parent="ElevatorButton" instance=ExtResource( 6 )] visible = false position = Vector2( -1464, 84 ) monitoring = false -next_scene = ExtResource( 6 ) +next_scene = ExtResource( 7 ) [node name="GameplaySignalManager" type="Node2D" parent="."] -script = ExtResource( 1 ) +script = ExtResource( 2 ) -[node name="WhatAreFrog" parent="." instance=ExtResource( 12 )] -position = Vector2( 468, 327 ) +[node name="BoundFrog" parent="." instance=ExtResource( 9 )] +position = Vector2( 693, 326 ) +[node name="WhatAreFrog" parent="BoundFrog" index="0"] +position = Vector2( -33, 1 ) + +[node name="RopeAnchor" parent="BoundFrog" index="1"] +position = Vector2( -80, 1 ) + +[connection signal="ready" from="." to="BoundFrog" method="_on_LevelTemplate_ready"] [connection signal="timeout" from="UserInterface/HUD/HUDOverlay/GetBackTimer/Timer" to="GameplaySignalManager" method="_on_Timer_timeout"] [connection signal="getback_timer_up" from="GameplaySignalManager" to="Blobby" method="_on_GameplaySignalManager_getback_timer_up"] [connection signal="terminal_activated" from="GameplaySignalManager" to="UserInterface/HUD" method="_on_SignalManager_terminal_activated"] @@ -144,3 +162,5 @@ position = Vector2( 468, 327 ) [editable path="TreeWhyButtons/WhyButton1"] [editable path="TreeWhyButtons/WhyButton2"] [editable path="TreeWhyButtons/WhyButton3"] +[editable path="BoundFrog"] +[editable path="BoundFrog/RopeAnchor"] diff --git a/src/Levels/Moveset Test Level.tscn b/src/Levels/Moveset Test Level.tscn deleted file mode 100644 index b5e90be..0000000 --- a/src/Levels/Moveset Test Level.tscn +++ /dev/null @@ -1,58 +0,0 @@ -[gd_scene load_steps=7 format=2] - -[ext_resource path="res://assets/environment/blocks/24BlockBasic.png" type="Texture" id=1] -[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=2] -[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=3] -[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=4] - -[sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( 0, 0, 24, 0, 24, 24, 0, 24 ) - -[sub_resource type="TileSet" id=2] -1/name = "24BlockBasic.png 1" -1/texture = ExtResource( 1 ) -1/tex_offset = Vector2( 0, 0 ) -1/modulate = Color( 1, 1, 1, 1 ) -1/region = Rect2( 0, 0, 24, 24 ) -1/tile_mode = 0 -1/occluder_offset = Vector2( 0, 0 ) -1/navigation_offset = Vector2( 0, 0 ) -1/shape_offset = Vector2( 0, 0 ) -1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -1/shape = SubResource( 3 ) -1/shape_one_way = false -1/shape_one_way_margin = 1.0 -1/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 3 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -1/z_index = 0 - -[node name="LevelTemplate" type="Node2D"] -__meta__ = { -"_edit_horizontal_guides_": [ 464.0 ], -"_edit_vertical_guides_": [ 2880.0 ] -} - -[node name="UserInterface" parent="." instance=ExtResource( 2 )] - -[node name="Blobby" parent="." instance=ExtResource( 3 )] -position = Vector2( -259.915, 710.547 ) - -[node name="TileMap" type="TileMap" parent="."] -tile_set = SubResource( 2 ) -cell_size = Vector2( 24, 24 ) -cell_quadrant_size = 24 -cell_custom_transform = Transform2D( 24, 0, 0, 24, 0, 0 ) -collision_use_kinematic = true -collision_friction = 0.0 -collision_layer = 8 -collision_mask = 0 -format = 1 -tile_data = PoolIntArray( 720882, 1, 0, 720883, 1, 0, 720884, 1, 0, 720885, 1, 0, 720886, 1, 0, 720887, 1, 0, 720888, 1, 0, 720889, 1, 0, 720890, 1, 0, 720891, 1, 0, 720892, 1, 0, 720893, 1, 0, 720894, 1, 0, 720895, 1, 0, 655360, 1, 0, 655361, 1, 0, 655362, 1, 0, 655363, 1, 0, 655364, 1, 0, 655365, 1, 0, 655366, 1, 0, 655367, 1, 0, 655368, 1, 0, 655369, 1, 0, 655370, 1, 0, 655371, 1, 0, 655372, 1, 0, 655373, 1, 0, 655374, 1, 0, 655375, 1, 0, 655376, 1, 0, 655377, 1, 0, 655378, 1, 0, 655379, 1, 0, 655380, 1, 0, 655381, 1, 0, 655382, 1, 0, 655383, 1, 0, 655384, 1, 0, 655385, 1, 0, 655386, 1, 0, 655387, 1, 0, 655388, 1, 0, 655389, 1, 0, 655390, 1, 0, 655391, 1, 0, 655392, 1, 0, 655393, 1, 0, 655394, 1, 0, 655395, 1, 0, 655396, 1, 0, 655397, 1, 0, 655398, 1, 0, 655399, 1, 0, 655400, 1, 0, 655401, 1, 0, 655402, 1, 0, 655403, 1, 0, 655404, 1, 0, 655405, 1, 0, 655406, 1, 0, 655407, 1, 0, 655408, 1, 0, 655409, 1, 0, 655410, 1, 0, 655411, 1, 0, 655412, 1, 0, 655413, 1, 0, 655414, 1, 0, 655415, 1, 0, 655416, 1, 0, 655417, 1, 0, 655418, 1, 0, 655419, 1, 0, 655420, 1, 0, 655421, 1, 0, 655422, 1, 0, 655423, 1, 0, 655424, 1, 0, 655425, 1, 0, 655426, 1, 0, 655427, 1, 0, 655428, 1, 0, 655429, 1, 0, 655430, 1, 0, 655431, 1, 0, 655432, 1, 0, 655433, 1, 0, 655434, 1, 0, 655435, 1, 0, 655436, 1, 0, 655437, 1, 0, 655438, 1, 0, 655439, 1, 0, 655440, 1, 0, 655441, 1, 0, 655442, 1, 0, 655443, 1, 0, 655444, 1, 0, 655445, 1, 0, 655446, 1, 0, 655447, 1, 0, 655448, 1, 0, 655449, 1, 0, 655450, 1, 0, 655451, 1, 0, 655452, 1, 0, 655453, 1, 0, 655454, 1, 0, 655455, 1, 0, 655456, 1, 0, 655457, 1, 0, 655458, 1, 0, 655459, 1, 0, 655460, 1, 0, 655461, 1, 0, 655462, 1, 0, 655463, 1, 0, 655464, 1, 0, 655465, 1, 0, 655466, 1, 0, 655467, 1, 0, 655468, 1, 0, 655469, 1, 0, 655470, 1, 0, 655471, 1, 0, 655472, 1, 0, 655473, 1, 0, 655474, 1, 0, 655475, 1, 0, 655476, 1, 0, 655477, 1, 0, 655478, 1, 0, 655479, 1, 0, 655480, 1, 0, 655481, 1, 0, 655482, 1, 0, 655483, 1, 0, 655484, 1, 0, 655485, 1, 0, 655486, 1, 0, 655487, 1, 0, 655488, 1, 0, 655489, 1, 0, 655490, 1, 0, 655491, 1, 0, 655492, 1, 0, 655493, 1, 0, 655494, 1, 0, 655495, 1, 0, 655496, 1, 0, 655497, 1, 0, 655498, 1, 0, 655499, 1, 0, 655500, 1, 0, 655501, 1, 0, 655502, 1, 0, 655503, 1, 0, 655504, 1, 0, 655505, 1, 0, 655506, 1, 0, 655507, 1, 0, 655508, 1, 0, 655509, 1, 0, 655510, 1, 0, 655511, 1, 0, 655512, 1, 0, 655513, 1, 0, 786418, 1, 0, 721049, 1, 0, 851954, 1, 0, 786585, 1, 0, 917490, 1, 0, 852121, 1, 0, 983026, 1, 0, 917657, 1, 0, 1048562, 1, 0, 983193, 1, 0, 1114098, 1, 0, 1048729, 1, 0, 1179634, 1, 0, 1114265, 1, 0, 1245170, 1, 0, 1179797, 1, 0, 1179798, 1, 0, 1179799, 1, 0, 1179800, 1, 0, 1179801, 1, 0, 1310706, 1, 0, 1245311, 1, 0, 1245316, 1, 0, 1245317, 1, 0, 1245318, 1, 0, 1245319, 1, 0, 1245320, 1, 0, 1245321, 1, 0, 1245322, 1, 0, 1245323, 1, 0, 1245324, 1, 0, 1245325, 1, 0, 1245326, 1, 0, 1245327, 1, 0, 1245328, 1, 0, 1245329, 1, 0, 1245330, 1, 0, 1245331, 1, 0, 1245332, 1, 0, 1245333, 1, 0, 1245337, 1, 0, 1376242, 536870913, 0, 1310847, 1, 0, 1310864, 1, 0, 1310873, 1, 0, 1441778, 536870913, 0, 1376383, 1, 0, 1376384, 1, 0, 1376409, 1, 0, 1507314, 536870913, 0, 1441919, 1, 0, 1441945, 1, 0, 1572850, 536870913, 0, 1507455, 1, 0, 1507480, 1, 0, 1507481, 1, 0, 1638386, 536870913, 0, 1572991, 1, 0, 1572992, 1, 0, 1572993, 1, 0, 1572994, 1, 0, 1572995, 1, 0, 1572996, 1, 0, 1572997, 1, 0, 1572998, 1, 0, 1572999, 1, 0, 1573000, 1, 0, 1573001, 1, 0, 1573002, 1, 0, 1573017, 1, 0, 1703922, 536870913, 0, 1703926, 1, 0, 1638527, 1, 0, 1638553, 1, 0, 1769458, 536870913, 0, 1769462, 1, 0, 1704063, 1, 0, 1704077, 1, 0, 1704078, 1, 0, 1704079, 1, 0, 1704080, 1, 0, 1704081, 1, 0, 1704089, 1, 0, 1834994, 536870913, 0, 1834995, 1, 0, 1834998, 1, 0, 1835001, 1, 0, 1835002, 1, 0, 1835003, 1, 0, 1835004, 1, 0, 1769599, 1, 0, 1769625, 1, 0, 1900530, 536870913, 0, 1900531, 1, 0, 1900534, 1, 0, 1835037, 1, 0, 1835135, 1, 0, 1835157, 1, 0, 1835158, 1, 0, 1835159, 1, 0, 1835160, 1, 0, 1835161, 1, 0, 1966066, 536870913, 0, 1966067, 1, 0, 1966069, 536870912, 0, 1966070, 1, 0, 1900544, 0, 0, 1900562, 1, 0, 1900573, 1, 0, 1900697, 1, 0, 2031602, 536870913, 0, 2031603, 1, 0, 1966080, 0, 0, 1966089, 1, 0, 1966098, 1, 0, 1966109, 1, 0, 1966119, 1, 0, 1966121, 1, 0, 1966122, 1, 0, 1966125, 1, 0, 1966126, 1, 0, 1966127, 1, 0, 1966131, 1, 0, 1966132, 1, 0, 1966133, 1, 0, 1966134, 1, 0, 1966139, 1, 0, 1966140, 1, 0, 1966141, 1, 0, 1966142, 1, 0, 1966143, 1, 0, 1966149, 1, 0, 1966150, 1, 0, 1966151, 1, 0, 1966152, 1, 0, 1966153, 1, 0, 1966154, 1, 0, 1966161, 1, 0, 1966162, 1, 0, 1966163, 1, 0, 1966164, 1, 0, 1966165, 1, 0, 1966166, 1, 0, 1966167, 1, 0, 1966175, 1, 0, 1966176, 1, 0, 1966177, 1, 0, 1966178, 1, 0, 1966179, 1, 0, 1966180, 1, 0, 1966181, 1, 0, 1966182, 1, 0, 1966191, 1, 0, 1966192, 1, 0, 1966193, 1, 0, 1966194, 1, 0, 1966195, 1, 0, 1966196, 1, 0, 1966197, 1, 0, 1966198, 1, 0, 1966233, 1, 0, 2097138, 536870913, 0, 2097139, 536870913, 0, 2097140, 536870913, 0, 2097141, 536870913, 0, 2097142, 1, 0, 2097143, 1, 0, 2097144, 1, 0, 2097145, 1, 0, 2097146, 1, 0, 2097147, 1, 0, 2097148, 1, 0, 2097149, 1, 0, 2097150, 1, 0, 2097151, 1, 0, 2031616, 1, 0, 2031617, 1, 0, 2031618, 1, 0, 2031619, 1, 0, 2031620, 1, 0, 2031621, 1, 0, 2031622, 1, 0, 2031623, 1, 0, 2031624, 1, 0, 2031625, 1, 0, 2031626, 1, 0, 2031627, 1, 0, 2031628, 1, 0, 2031629, 1, 0, 2031630, 1, 0, 2031631, 1, 0, 2031632, 1, 0, 2031633, 1, 0, 2031634, 1, 0, 2031635, 1, 0, 2031636, 1, 0, 2031637, 1, 0, 2031638, 1, 0, 2031639, 1, 0, 2031640, 1, 0, 2031641, 1, 0, 2031642, 1, 0, 2031643, 1, 0, 2031644, 1, 0, 2031645, 1, 0, 2031646, 1, 0, 2031647, 1, 0, 2031648, 1, 0, 2031649, 1, 0, 2031650, 1, 0, 2031651, 1, 0, 2031652, 1, 0, 2031653, 1, 0, 2031654, 1, 0, 2031655, 1, 0, 2031656, 1, 0, 2031657, 1, 0, 2031658, 1, 0, 2031659, 1, 0, 2031660, 1, 0, 2031661, 1, 0, 2031662, 1, 0, 2031663, 1, 0, 2031664, 1, 0, 2031665, 1, 0, 2031666, 1, 0, 2031667, 1, 0, 2031668, 1, 0, 2031669, 1, 0, 2031670, 1, 0, 2031671, 1, 0, 2031672, 1, 0, 2031673, 1, 0, 2031674, 1, 0, 2031675, 1, 0, 2031676, 1, 0, 2031677, 1, 0, 2031678, 1, 0, 2031679, 1, 0, 2031680, 1, 0, 2031681, 1, 0, 2031682, 1, 0, 2031683, 1, 0, 2031684, 1, 0, 2031685, 1, 0, 2031686, 1, 0, 2031687, 1, 0, 2031688, 1, 0, 2031689, 1, 0, 2031690, 1, 0, 2031691, 1, 0, 2031692, 1, 0, 2031693, 1, 0, 2031694, 1, 0, 2031695, 1, 0, 2031696, 1, 0, 2031697, 1, 0, 2031698, 1, 0, 2031699, 1, 0, 2031700, 1, 0, 2031701, 1, 0, 2031702, 1, 0, 2031703, 1, 0, 2031704, 1, 0, 2031705, 1, 0, 2031706, 1, 0, 2031707, 1, 0, 2031708, 1, 0, 2031709, 1, 0, 2031710, 1, 0, 2031711, 1, 0, 2031712, 1, 0, 2031713, 1, 0, 2031714, 1, 0, 2031715, 1, 0, 2031716, 1, 0, 2031717, 1, 0, 2031718, 1, 0, 2031719, 1, 0, 2031720, 1, 0, 2031721, 1, 0, 2031722, 1, 0, 2031723, 1, 0, 2031724, 1, 0, 2031725, 1, 0, 2031726, 1, 0, 2031727, 1, 0, 2031728, 1, 0, 2031729, 1, 0, 2031730, 1, 0, 2031731, 1, 0, 2031732, 1, 0, 2031733, 1, 0, 2031734, 1, 0, 2031735, 1, 0, 2031736, 1, 0, 2031737, 1, 0, 2031738, 1, 0, 2031739, 1, 0, 2031740, 1, 0, 2031741, 1, 0, 2031742, 1, 0, 2031743, 1, 0, 2031744, 1, 0, 2031745, 1, 0, 2031746, 1, 0, 2031747, 1, 0, 2031748, 1, 0, 2031749, 1, 0, 2031750, 1, 0, 2031751, 1, 0, 2031752, 1, 0, 2031753, 1, 0, 2031754, 1, 0, 2031755, 1, 0, 2031756, 1, 0, 2031757, 1, 0, 2031758, 1, 0, 2031759, 1, 0, 2031760, 1, 0, 2031761, 1, 0, 2031762, 1, 0, 2031763, 1, 0, 2031764, 1, 0, 2031765, 1, 0, 2031766, 1, 0, 2031767, 1, 0, 2031768, 1, 0, 2031769, 1, 0 ) - -[node name="Portal" parent="." instance=ExtResource( 4 )] -position = Vector2( 3621, 450 ) diff --git a/src/Levels/Old Levels/Plattforms Level.tscn b/src/Levels/Old Levels/Plattforms Level.tscn deleted file mode 100644 index f9ee8c0..0000000 --- a/src/Levels/Old Levels/Plattforms Level.tscn +++ /dev/null @@ -1,82 +0,0 @@ -[gd_scene load_steps=11 format=2] - -[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=1] -[ext_resource path="res://assets/environment/blocks/Basic stone block.png" type="Texture" id=2] -[ext_resource path="res://src/Contraptions/Platform/SpringPlatform.tscn" type="PackedScene" id=3] -[ext_resource path="res://src/Environment/Background.tscn" type="PackedScene" id=4] -[ext_resource path="res://src/Contraptions/Platform/FlyingPlatform.tscn" type="PackedScene" id=5] -[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=7] - -[sub_resource type="NavigationPolygon" id=1] -vertices = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) -polygons = [ PoolIntArray( 0, 1, 2, 3 ) ] - -[sub_resource type="OccluderPolygon2D" id=2] -polygon = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) - -[sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) - -[sub_resource type="TileSet" id=4] -0/name = "Basic stone block.png 0" -0/texture = ExtResource( 2 ) -0/tex_offset = Vector2( 0, 0 ) -0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 0, 0, 16, 16 ) -0/tile_mode = 0 -0/occluder_offset = Vector2( 0, 0 ) -0/occluder = SubResource( 2 ) -0/navigation_offset = Vector2( 0, 0 ) -0/navigation = SubResource( 1 ) -0/shape_offset = Vector2( 0, 0 ) -0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -0/shape = SubResource( 3 ) -0/shape_one_way = false -0/shape_one_way_margin = 1.0 -0/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 3 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -0/z_index = 0 - -[node name="PlattformsLevel" type="Node2D"] -__meta__ = { -"_edit_horizontal_guides_": [ 464.0 ], -"_edit_vertical_guides_": [ 2880.0 ] -} - -[node name="UserInterface" parent="." instance=ExtResource( 7 )] - -[node name="Simple Background" parent="." instance=ExtResource( 4 )] -layer = -1 - -[node name="TileMap" type="TileMap" parent="."] -tile_set = SubResource( 4 ) -cell_size = Vector2( 16, 16 ) -cell_quadrant_size = 32 -cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 ) -collision_layer = 8 -collision_mask = 2147483648 -format = 1 -tile_data = PoolIntArray( 1900544, 0, 0, 1900545, 0, 0, 1900546, 0, 0, 1900547, 0, 0, 1900548, 0, 0, 1900549, 0, 0, 1900550, 0, 0, 1900551, 0, 0, 1900552, 0, 0, 1900553, 0, 0, 1900554, 0, 0, 1900555, 0, 0, 1900556, 0, 0, 1900557, 0, 0, 1900558, 0, 0, 1900559, 0, 0, 1900560, 0, 0, 1900561, 0, 0, 1900562, 0, 0, 1900563, 0, 0, 1900564, 0, 0, 1900565, 0, 0, 1900566, 0, 0, 1900567, 0, 0, 1900568, 0, 0, 1900569, 0, 0, 1966080, 0, 0, 1966105, 0, 0, 2031616, 0, 0, 2031641, 0, 0, 2097152, 0, 0, 2097177, 0, 0, 2162688, 0, 0, 2162713, 0, 0, 2228224, 0, 0, 2228249, 0, 0, 2293760, 0, 0, 2293785, 0, 0, 2359296, 0, 0, 2359321, 0, 0, 2424832, 0, 0, 2424857, 0, 0, 2490368, 0, 0, 2490393, 0, 0, 2555904, 0, 0, 2555905, 0, 0, 2555906, 0, 0, 2555907, 0, 0, 2555908, 0, 0, 2555909, 0, 0, 2555910, 0, 0, 2555911, 0, 0, 2555912, 0, 0, 2555913, 0, 0, 2555914, 0, 0, 2555915, 0, 0, 2555916, 0, 0, 2555917, 0, 0, 2555918, 0, 0, 2555919, 0, 0, 2555920, 0, 0, 2555921, 0, 0, 2555922, 0, 0, 2555923, 0, 0, 2555924, 0, 0, 2555925, 0, 0, 2555926, 0, 0, 2555927, 0, 0, 2555928, 0, 0, 2555929, 0, 0 ) - -[node name="Blobby" parent="." instance=ExtResource( 1 )] -position = Vector2( 50.7867, 604.063 ) - -[node name="Track" parent="." instance=ExtResource( 5 )] -position = Vector2( 34.7867, 501.525 ) -scale = Vector2( 2.83999, 0.56 ) - -[node name="KinematicBody2D" parent="Track" index="0"] -position = Vector2( 25.0812, 0 ) - -[node name="CollisionShape2D" parent="Track/KinematicBody2D" index="1"] -position = Vector2( -0.00534821, 0.0656128 ) - -[node name="Spring" parent="." instance=ExtResource( 3 )] -position = Vector2( 170, 603.063 ) - -[editable path="Track"] diff --git a/src/Levels/Old Levels/Simple Level.tscn b/src/Levels/Old Levels/Simple Level.tscn deleted file mode 100644 index 917da74..0000000 --- a/src/Levels/Old Levels/Simple Level.tscn +++ /dev/null @@ -1,77 +0,0 @@ -[gd_scene load_steps=10 format=2] - -[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=1] -[ext_resource path="res://assets/environment/blocks/Basic stone block.png" type="Texture" id=2] -[ext_resource path="res://src/Contraptions/Platform/FlyingPlatform.tscn" type="PackedScene" id=3] -[ext_resource path="res://assets/environment/background/background.png" type="Texture" id=4] -[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=5] - -[sub_resource type="NavigationPolygon" id=1] -vertices = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) -polygons = [ PoolIntArray( 0, 1, 2, 3 ) ] - -[sub_resource type="OccluderPolygon2D" id=2] -polygon = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) - -[sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) - -[sub_resource type="TileSet" id=4] -0/name = "Basic stone block.png 0" -0/texture = ExtResource( 2 ) -0/tex_offset = Vector2( 0, 0 ) -0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 0, 0, 16, 16 ) -0/tile_mode = 0 -0/occluder_offset = Vector2( 0, 0 ) -0/occluder = SubResource( 2 ) -0/navigation_offset = Vector2( 0, 0 ) -0/navigation = SubResource( 1 ) -0/shape_offset = Vector2( 0, 0 ) -0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -0/shape = SubResource( 3 ) -0/shape_one_way = false -0/shape_one_way_margin = 1.0 -0/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 3 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -0/z_index = 0 - -[node name="LevelTemplate" type="Node2D"] -__meta__ = { -"_edit_horizontal_guides_": [ 464.0 ], -"_edit_vertical_guides_": [ 2880.0 ] -} - -[node name="Portal" parent="." instance=ExtResource( 5 )] -position = Vector2( 40.0074, 395.986 ) -scale = Vector2( 0.5, 0.5 ) - -[node name="Blobby" parent="." instance=ExtResource( 1 )] -position = Vector2( 46.7551, 565.6 ) - -[node name="Track" parent="." instance=ExtResource( 3 )] -position = Vector2( 327.524, 546.169 ) - -[node name="CanvasLayer" type="CanvasLayer" parent="."] -layer = -1 - -[node name="background" type="TextureRect" parent="CanvasLayer"] -margin_right = 426.667 -margin_bottom = 240.0 -texture = ExtResource( 4 ) -expand = true -stretch_mode = 1 - -[node name="TileMap" type="TileMap" parent="."] -tile_set = SubResource( 4 ) -cell_size = Vector2( 16, 16 ) -cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 ) -collision_layer = 8 -collision_mask = 2147483648 -format = 1 -tile_data = PoolIntArray( 1114112, 0, 0, 1114113, 0, 0, 1114114, 0, 0, 1114115, 0, 0, 1114116, 0, 0, 1114117, 0, 0, 1114118, 0, 0, 1114119, 0, 0, 1114120, 0, 0, 1114121, 0, 0, 1114122, 0, 0, 1114123, 0, 0, 1114124, 0, 0, 1114125, 0, 0, 1114126, 0, 0, 1114127, 0, 0, 1114128, 0, 0, 1114129, 0, 0, 1114130, 0, 0, 1114131, 0, 0, 1114132, 0, 0, 1114133, 0, 0, 1114134, 0, 0, 1114135, 0, 0, 1114136, 0, 0, 1114137, 0, 0, 1114138, 0, 0, 1114139, 0, 0, 1114140, 0, 0, 1114141, 0, 0, 1114142, 0, 0, 1114143, 0, 0, 1114144, 0, 0, 1114145, 0, 0, 1114146, 0, 0, 1114147, 0, 0, 1114148, 0, 0, 1114149, 0, 0, 1114150, 0, 0, 1114151, 0, 0, 1114152, 0, 0, 1114153, 0, 0, 1114154, 0, 0, 1114155, 0, 0, 1114156, 0, 0, 1114157, 0, 0, 1114158, 0, 0, 1114159, 0, 0, 1114160, 0, 0, 1114161, 0, 0, 1114162, 0, 0, 1114163, 0, 0, 1114164, 0, 0, 1114165, 0, 0, 1114166, 0, 0, 1114167, 0, 0, 1114168, 0, 0, 1114169, 0, 0, 1114170, 0, 0, 1114171, 0, 0, 1114172, 0, 0, 1179648, 0, 0, 1179708, 0, 0, 1245184, 0, 0, 1245244, 0, 0, 1310720, 0, 0, 1310780, 0, 0, 1376256, 0, 0, 1376316, 0, 0, 1441792, 0, 0, 1441852, 0, 0, 1507328, 0, 0, 1507388, 0, 0, 1572864, 0, 0, 1572865, 0, 0, 1572866, 0, 0, 1572867, 0, 0, 1572924, 0, 0, 1638400, 0, 0, 1638401, 0, 0, 1638402, 0, 0, 1638460, 0, 0, 1703936, 0, 0, 1703937, 0, 0, 1703938, 0, 0, 1703943, 0, 0, 1703944, 0, 0, 1703996, 0, 0, 1769472, 0, 0, 1769473, 0, 0, 1769474, 0, 0, 1769479, 0, 0, 1769480, 0, 0, 1769481, 0, 0, 1769482, 0, 0, 1769483, 0, 0, 1769487, 0, 0, 1769488, 0, 0, 1769489, 0, 0, 1769495, 0, 0, 1769500, 0, 0, 1769501, 0, 0, 1769502, 0, 0, 1769503, 0, 0, 1769504, 0, 0, 1769526, 0, 0, 1769527, 0, 0, 1769532, 0, 0, 1835008, 0, 0, 1835009, 0, 0, 1835044, 0, 0, 1835045, 0, 0, 1835068, 0, 0, 1900544, 0, 0, 1900565, 0, 0, 1900566, 0, 0, 1900584, 0, 0, 1900585, 0, 0, 1900586, 0, 0, 1900587, 0, 0, 1900588, 0, 0, 1900604, 0, 0, 1966080, 0, 0, 1966139, 0, 0, 1966140, 0, 0, 2031616, 0, 0, 2031663, 0, 0, 2031664, 0, 0, 2031675, 0, 0, 2031676, 0, 0, 2097152, 0, 0, 2097201, 0, 0, 2097202, 0, 0, 2097208, 0, 0, 2097209, 0, 0, 2097210, 0, 0, 2097211, 0, 0, 2097212, 0, 0, 2162688, 0, 0, 2162744, 0, 0, 2162745, 0, 0, 2162746, 0, 0, 2162747, 0, 0, 2162748, 0, 0, 2228224, 0, 0, 2228241, 0, 0, 2228277, 0, 0, 2228278, 0, 0, 2228279, 0, 0, 2228280, 0, 0, 2228281, 0, 0, 2228282, 0, 0, 2228283, 0, 0, 2228284, 0, 0, 2293760, 0, 0, 2293771, 0, 0, 2293777, 0, 0, 2293778, 0, 0, 2293813, 0, 0, 2293814, 0, 0, 2293815, 0, 0, 2293816, 0, 0, 2293817, 0, 0, 2293818, 0, 0, 2293819, 0, 0, 2293820, 0, 0, 2359296, 0, 0, 2359297, 0, 0, 2359298, 0, 0, 2359299, 0, 0, 2359300, 0, 0, 2359301, 0, 0, 2359302, 0, 0, 2359303, 0, 0, 2359304, 0, 0, 2359305, 0, 0, 2359306, 0, 0, 2359307, 0, 0, 2359308, 0, 0, 2359309, 0, 0, 2359310, 0, 0, 2359311, 0, 0, 2359312, 0, 0, 2359313, 0, 0, 2359314, 0, 0, 2359315, 0, 0, 2359316, 0, 0, 2359317, 0, 0, 2359321, 0, 0, 2359322, 0, 0, 2359323, 0, 0, 2359324, 0, 0, 2359325, 0, 0, 2359326, 0, 0, 2359327, 0, 0, 2359328, 0, 0, 2359329, 0, 0, 2359330, 0, 0, 2359331, 0, 0, 2359332, 0, 0, 2359333, 0, 0, 2359334, 0, 0, 2359335, 0, 0, 2359336, 0, 0, 2359342, 0, 0, 2359343, 0, 0, 2359344, 0, 0, 2359345, 0, 0, 2359346, 0, 0, 2359347, 0, 0, 2359348, 0, 0, 2359349, 0, 0, 2359350, 0, 0, 2359351, 0, 0, 2359352, 0, 0, 2359353, 0, 0, 2359354, 0, 0, 2359355, 0, 0, 2359356, 0, 0, 2424832, 0, 0, 2424833, 0, 0, 2424834, 0, 0, 2424835, 0, 0, 2424836, 0, 0, 2424837, 0, 0, 2424838, 0, 0, 2424839, 0, 0, 2424840, 0, 0, 2424841, 0, 0, 2424842, 0, 0, 2424843, 0, 0, 2424844, 0, 0, 2424845, 0, 0, 2424846, 0, 0, 2424847, 0, 0, 2424848, 0, 0, 2424849, 0, 0, 2424850, 0, 0, 2424851, 0, 0, 2424852, 0, 0, 2424853, 0, 0, 2424854, 0, 0, 2424857, 0, 0, 2424858, 0, 0, 2424859, 0, 0, 2424860, 0, 0, 2424861, 0, 0, 2424862, 0, 0, 2424863, 0, 0, 2424864, 0, 0, 2424865, 0, 0, 2424866, 0, 0, 2424867, 0, 0, 2424868, 0, 0, 2424869, 0, 0, 2424870, 0, 0, 2424871, 0, 0, 2424872, 0, 0, 2424873, 0, 0, 2424874, 0, 0, 2424878, 0, 0, 2424879, 0, 0, 2424880, 0, 0, 2424881, 0, 0, 2424882, 0, 0, 2424883, 0, 0, 2424884, 0, 0, 2424885, 0, 0, 2424886, 0, 0, 2424887, 0, 0, 2424888, 0, 0, 2424889, 0, 0, 2424890, 0, 0, 2424891, 0, 0, 2424892, 0, 0, 2490368, 0, 0, 2490369, 0, 0, 2490370, 0, 0, 2490371, 0, 0, 2490372, 0, 0, 2490373, 0, 0, 2490374, 0, 0, 2490375, 0, 0, 2490376, 0, 0, 2490377, 0, 0, 2490378, 0, 0, 2490379, 0, 0, 2490380, 0, 0, 2490381, 0, 0, 2490382, 0, 0, 2490383, 0, 0, 2490384, 0, 0, 2490385, 0, 0, 2490386, 0, 0, 2490387, 0, 0, 2490388, 0, 0, 2490389, 0, 0, 2490390, 0, 0, 2490393, 0, 0, 2490394, 0, 0, 2490395, 0, 0, 2490396, 0, 0, 2490397, 0, 0, 2490398, 0, 0, 2490399, 0, 0, 2490400, 0, 0, 2490401, 0, 0, 2490402, 0, 0, 2490403, 0, 0, 2490404, 0, 0, 2490405, 0, 0, 2490406, 0, 0, 2490407, 0, 0, 2490408, 0, 0, 2490409, 0, 0, 2490410, 0, 0, 2490414, 0, 0, 2490415, 0, 0, 2490416, 0, 0, 2490417, 0, 0, 2490418, 0, 0, 2490419, 0, 0, 2490420, 0, 0, 2490421, 0, 0, 2490422, 0, 0, 2490423, 0, 0, 2490424, 0, 0, 2490425, 0, 0, 2490426, 0, 0, 2490427, 0, 0, 2490428, 0, 0, 2555904, 0, 0, 2555905, 0, 0, 2555906, 0, 0, 2555907, 0, 0, 2555908, 0, 0, 2555909, 0, 0, 2555910, 0, 0, 2555911, 0, 0, 2555912, 0, 0, 2555913, 0, 0, 2555914, 0, 0, 2555915, 0, 0, 2555916, 0, 0, 2555917, 0, 0, 2555918, 0, 0, 2555919, 0, 0, 2555920, 0, 0, 2555921, 0, 0, 2555922, 0, 0, 2555923, 0, 0, 2555924, 0, 0, 2555925, 0, 0, 2555926, 0, 0, 2555927, 0, 0, 2555928, 0, 0, 2555929, 0, 0, 2555930, 0, 0, 2555931, 0, 0, 2555932, 0, 0, 2555933, 0, 0, 2555934, 0, 0, 2555935, 0, 0, 2555936, 0, 0, 2555937, 0, 0, 2555938, 0, 0, 2555939, 0, 0, 2555940, 0, 0, 2555941, 0, 0, 2555942, 0, 0, 2555943, 0, 0, 2555944, 0, 0, 2555945, 0, 0, 2555946, 0, 0, 2555947, 0, 0, 2555948, 0, 0, 2555949, 0, 0, 2555950, 0, 0, 2555951, 0, 0, 2555952, 0, 0, 2555953, 0, 0, 2555954, 0, 0, 2555955, 0, 0, 2555956, 0, 0, 2555957, 0, 0, 2555958, 0, 0, 2555959, 0, 0, 2555960, 0, 0, 2555961, 0, 0, 2555962, 0, 0, 2555963, 0, 0, 2555964, 0, 0 ) diff --git a/src/Levels/Old Levels/Was First Level.tscn b/src/Levels/Old Levels/Was First Level.tscn deleted file mode 100644 index f8a54c4..0000000 --- a/src/Levels/Old Levels/Was First Level.tscn +++ /dev/null @@ -1,63 +0,0 @@ -[gd_scene load_steps=8 format=2] - -[ext_resource path="res://assets/environment/blocks/24BlockBasic.png" type="Texture" id=1] -[ext_resource path="res://src/Actors/Blobby/Blobby.tscn" type="PackedScene" id=2] -[ext_resource path="res://src/Contraptions/Portal/Portal.tscn" type="PackedScene" id=3] -[ext_resource path="res://src/ObstacleObjects/Spikes.tscn" type="PackedScene" id=6] -[ext_resource path="res://src/UserInterface/UserInterface.tscn" type="PackedScene" id=7] - -[sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( 0, 0, 24, 0, 24, 24, 0, 24 ) - -[sub_resource type="TileSet" id=2] -1/name = "24BlockBasic.png 1" -1/texture = ExtResource( 1 ) -1/tex_offset = Vector2( 0, 0 ) -1/modulate = Color( 1, 1, 1, 1 ) -1/region = Rect2( 0, 0, 24, 24 ) -1/tile_mode = 0 -1/occluder_offset = Vector2( 0, 0 ) -1/navigation_offset = Vector2( 0, 0 ) -1/shape_offset = Vector2( 0, 0 ) -1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -1/shape = SubResource( 3 ) -1/shape_one_way = false -1/shape_one_way_margin = 1.0 -1/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 3 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -1/z_index = 0 - -[node name="LevelTemplate" type="Node2D"] -__meta__ = { -"_edit_horizontal_guides_": [ 464.0 ], -"_edit_vertical_guides_": [ 2880.0 ] -} - -[node name="UserInterface" parent="." instance=ExtResource( 7 )] - -[node name="Blobby" parent="." instance=ExtResource( 2 )] -position = Vector2( -275.915, 737.547 ) - -[node name="TileMap" type="TileMap" parent="."] -tile_set = SubResource( 2 ) -cell_size = Vector2( 24, 24 ) -cell_quadrant_size = 48 -collision_use_kinematic = true -collision_friction = 0.0 -collision_layer = 8 -collision_mask = 8 -format = 1 -tile_data = PoolIntArray( 720882, 1, 0, 720883, 1, 0, 720884, 1, 0, 720885, 1, 0, 720886, 1, 0, 720887, 1, 0, 720888, 1, 0, 720889, 1, 0, 720890, 1, 0, 720891, 1, 0, 720892, 1, 0, 720893, 1, 0, 720894, 1, 0, 720895, 1, 0, 655360, 1, 0, 655361, 1, 0, 655362, 1, 0, 655363, 1, 0, 655364, 1, 0, 655365, 1, 0, 655366, 1, 0, 655367, 1, 0, 655368, 1, 0, 655369, 1, 0, 655370, 1, 0, 655371, 1, 0, 655372, 1, 0, 655373, 1, 0, 655374, 1, 0, 655375, 1, 0, 655376, 1, 0, 655377, 1, 0, 655378, 1, 0, 655379, 1, 0, 655380, 1, 0, 655381, 1, 0, 655382, 1, 0, 655383, 1, 0, 655384, 1, 0, 655385, 1, 0, 655386, 1, 0, 655387, 1, 0, 655388, 1, 0, 655389, 1, 0, 655390, 1, 0, 655391, 1, 0, 655392, 1, 0, 655393, 1, 0, 655394, 1, 0, 655395, 1, 0, 655396, 1, 0, 655397, 1, 0, 655398, 1, 0, 655399, 1, 0, 655400, 1, 0, 655401, 1, 0, 655402, 1, 0, 655403, 1, 0, 655404, 1, 0, 655405, 1, 0, 655406, 1, 0, 655407, 1, 0, 655408, 1, 0, 655409, 1, 0, 655410, 1, 0, 655411, 1, 0, 655412, 1, 0, 655413, 1, 0, 655414, 1, 0, 655415, 1, 0, 655416, 1, 0, 655417, 1, 0, 655418, 1, 0, 655419, 1, 0, 655420, 1, 0, 655421, 1, 0, 655422, 1, 0, 655423, 1, 0, 655424, 1, 0, 655425, 1, 0, 655426, 1, 0, 655427, 1, 0, 655428, 1, 0, 655429, 1, 0, 655430, 1, 0, 655431, 1, 0, 655432, 1, 0, 655433, 1, 0, 655434, 1, 0, 655435, 1, 0, 655436, 1, 0, 655437, 1, 0, 655438, 1, 0, 655439, 1, 0, 655440, 1, 0, 655441, 1, 0, 655442, 1, 0, 655443, 1, 0, 655444, 1, 0, 655445, 1, 0, 786418, 1, 0, 720981, 1, 0, 851954, 1, 0, 786517, 1, 0, 917490, 1, 0, 852053, 1, 0, 983026, 1, 0, 917589, 1, 0, 1048562, 1, 0, 983125, 1, 0, 1114098, 1, 0, 1048661, 1, 0, 1179634, 1, 0, 1114197, 1, 0, 1245170, 1, 0, 1179733, 1, 0, 1310706, 1, 0, 1245184, 1, 0, 1245185, 1, 0, 1245186, 1, 0, 1245187, 1, 0, 1245188, 1, 0, 1245189, 1, 0, 1245190, 1, 0, 1245193, 1, 0, 1245194, 1, 0, 1245198, 1, 0, 1245199, 1, 0, 1245203, 1, 0, 1245204, 1, 0, 1245205, 1, 0, 1245206, 1, 0, 1245211, 1, 0, 1245212, 1, 0, 1245215, 1, 0, 1245219, 1, 0, 1245220, 1, 0, 1245221, 1, 0, 1245225, 1, 0, 1245226, 1, 0, 1245229, 1, 0, 1245230, 1, 0, 1245233, 1, 0, 1245234, 1, 0, 1245269, 1, 0, 1376242, 536870913, 0, 1310720, 1, 0, 1310721, 1, 0, 1310722, 1, 0, 1310723, 1, 0, 1310724, 1, 0, 1310725, 1, 0, 1310726, 1, 0, 1310805, 1, 0, 1441778, 536870913, 0, 1376256, 1, 0, 1376257, 1, 0, 1376258, 1, 0, 1376259, 1, 0, 1376260, 1, 0, 1376261, 1, 0, 1376262, 1, 0, 1376309, 1, 0, 1376310, 1, 0, 1376311, 1, 0, 1376312, 1, 0, 1376313, 1, 0, 1376314, 1, 0, 1376315, 1, 0, 1376316, 1, 0, 1376317, 1, 0, 1376318, 1, 0, 1376319, 1, 0, 1376320, 1, 0, 1376321, 1, 0, 1376322, 1, 0, 1376323, 1, 0, 1376324, 1, 0, 1376325, 1, 0, 1376326, 1, 0, 1376327, 1, 0, 1376328, 1, 0, 1376329, 1, 0, 1376330, 1, 0, 1376331, 1, 0, 1376332, 1, 0, 1376333, 1, 0, 1376334, 1, 0, 1376335, 1, 0, 1376336, 1, 0, 1376337, 1, 0, 1376338, 1, 0, 1376339, 1, 0, 1376340, 1, 0, 1376341, 1, 0, 1507314, 536870913, 0, 1441792, 1, 0, 1441793, 1, 0, 1441794, 1, 0, 1441795, 1, 0, 1441796, 1, 0, 1441797, 1, 0, 1441798, 1, 0, 1441865, 1, 0, 1441866, 1, 0, 1441867, 1, 0, 1441868, 1, 0, 1441869, 1, 0, 1441877, 1, 0, 1572850, 536870913, 0, 1507328, 1, 0, 1507329, 1, 0, 1507330, 1, 0, 1507331, 1, 0, 1507332, 1, 0, 1507333, 1, 0, 1507334, 1, 0, 1507377, 1, 0, 1507378, 1, 0, 1507402, 1, 0, 1507403, 1, 0, 1507404, 1, 0, 1507405, 1, 0, 1507413, 1, 0, 1638386, 536870913, 0, 1572864, 1, 0, 1572865, 1, 0, 1572866, 1, 0, 1572867, 1, 0, 1572868, 1, 0, 1572869, 1, 0, 1572870, 1, 0, 1572914, 1, 0, 1572915, 1, 0, 1572938, 1, 0, 1572939, 1, 0, 1572940, 1, 0, 1572941, 1, 0, 1572949, 1, 0, 1703922, 536870913, 0, 1638400, 1, 0, 1638401, 1, 0, 1638402, 1, 0, 1638403, 1, 0, 1638404, 1, 0, 1638405, 1, 0, 1638406, 1, 0, 1638475, 1, 0, 1638476, 1, 0, 1638477, 1, 0, 1638485, 1, 0, 1769458, 536870913, 0, 1703936, 1, 0, 1703937, 1, 0, 1703938, 1, 0, 1703939, 1, 0, 1703940, 1, 0, 1703941, 1, 0, 1703942, 1, 0, 1703984, 1, 0, 1703985, 1, 0, 1703986, 1, 0, 1703987, 1, 0, 1703988, 1, 0, 1703989, 1, 0, 1704011, 1, 0, 1704012, 1, 0, 1704013, 1, 0, 1704016, 1, 0, 1704017, 1, 0, 1704018, 1, 0, 1704021, 1, 0, 1834994, 536870913, 0, 1769472, 1, 0, 1769473, 1, 0, 1769474, 1, 0, 1769475, 1, 0, 1769476, 1, 0, 1769477, 1, 0, 1769478, 1, 0, 1769549, 1, 0, 1769557, 1, 0, 1900530, 536870913, 0, 1835008, 1, 0, 1835009, 1, 0, 1835010, 1, 0, 1835011, 1, 0, 1835012, 1, 0, 1835031, 1, 0, 1835032, 1, 0, 1835052, 1, 0, 1835053, 1, 0, 1835093, 1, 0, 1966066, 536870913, 0, 1966069, 536870912, 0, 1900544, 1, 0, 1900545, 1, 0, 1900546, 1, 0, 1900547, 1, 0, 1900566, 1, 0, 1900567, 1, 0, 1900568, 1, 0, 1900569, 1, 0, 1900588, 1, 0, 1900589, 1, 0, 1900607, 1, 0, 1900608, 1, 0, 1900629, 1, 0, 2031602, 536870913, 0, 1966080, 0, 0, 1966090, 1, 0, 1966091, 1, 0, 1966092, 1, 0, 1966093, 1, 0, 1966094, 1, 0, 1966095, 1, 0, 1966096, 1, 0, 1966097, 1, 0, 1966098, 1, 0, 1966099, 1, 0, 1966100, 1, 0, 1966101, 1, 0, 1966102, 1, 0, 1966103, 1, 0, 1966104, 1, 0, 1966105, 1, 0, 1966106, 1, 0, 1966107, 1, 0, 1966108, 1, 0, 1966109, 1, 0, 1966110, 1, 0, 1966111, 1, 0, 1966112, 1, 0, 1966116, 1, 0, 1966117, 1, 0, 1966118, 1, 0, 1966119, 1, 0, 1966120, 1, 0, 1966121, 1, 0, 1966122, 1, 0, 1966123, 1, 0, 1966124, 1, 0, 1966125, 1, 0, 1966126, 1, 0, 1966127, 1, 0, 1966128, 1, 0, 1966129, 1, 0, 1966130, 1, 0, 1966131, 1, 0, 1966132, 1, 0, 1966133, 1, 0, 1966134, 1, 0, 1966135, 1, 0, 1966136, 1, 0, 1966137, 1, 0, 1966138, 1, 0, 1966143, 1, 0, 1966144, 1, 0, 1966149, 1, 0, 1966150, 1, 0, 1966151, 1, 0, 1966152, 1, 0, 1966153, 1, 0, 1966154, 1, 0, 1966155, 1, 0, 1966156, 1, 0, 1966157, 1, 0, 1966158, 1, 0, 1966159, 1, 0, 1966160, 1, 0, 1966161, 1, 0, 1966162, 1, 0, 1966163, 1, 0, 1966164, 1, 0, 1966165, 1, 0, 2097138, 536870913, 0, 2097139, 536870913, 0, 2097140, 536870913, 0, 2097141, 536870913, 0, 2097142, 1, 0, 2097143, 1, 0, 2097144, 1, 0, 2097145, 1, 0, 2097146, 1, 0, 2097147, 1, 0, 2097148, 1, 0, 2097149, 1, 0, 2097150, 1, 0, 2097151, 1, 0, 2031616, 1, 0, 2031617, 1, 0, 2031618, 1, 0, 2031619, 1, 0, 2031620, 1, 0, 2031621, 1, 0, 2031622, 1, 0, 2031623, 1, 0, 2031624, 1, 0, 2031625, 1, 0, 2031626, 1, 0, 2031627, 1, 0, 2031628, 1, 0, 2031629, 1, 0, 2031630, 1, 0, 2031631, 1, 0, 2031632, 1, 0, 2031633, 1, 0, 2031634, 1, 0, 2031635, 1, 0, 2031636, 1, 0, 2031637, 1, 0, 2031638, 1, 0, 2031639, 1, 0, 2031640, 1, 0, 2031641, 1, 0, 2031642, 1, 0, 2031643, 1, 0, 2031644, 1, 0, 2031645, 1, 0, 2031646, 1, 0, 2031647, 1, 0, 2031648, 1, 0, 2031649, 1, 0, 2031650, 1, 0, 2031651, 1, 0, 2031652, 1, 0, 2031653, 1, 0, 2031654, 1, 0, 2031655, 1, 0, 2031656, 1, 0, 2031657, 1, 0, 2031658, 1, 0, 2031659, 1, 0, 2031660, 1, 0, 2031661, 1, 0, 2031662, 1, 0, 2031663, 1, 0, 2031664, 1, 0, 2031665, 1, 0, 2031666, 1, 0, 2031667, 1, 0, 2031668, 1, 0, 2031669, 1, 0, 2031670, 1, 0, 2031671, 1, 0, 2031672, 1, 0, 2031673, 1, 0, 2031674, 1, 0, 2031675, 1, 0, 2031676, 1, 0, 2031677, 1, 0, 2031678, 1, 0, 2031679, 1, 0, 2031680, 1, 0, 2031681, 1, 0, 2031682, 1, 0, 2031683, 1, 0, 2031684, 1, 0, 2031685, 1, 0, 2031686, 1, 0, 2031687, 1, 0, 2031688, 1, 0, 2031689, 1, 0, 2031690, 1, 0, 2031691, 1, 0, 2031692, 1, 0, 2031693, 1, 0, 2031694, 1, 0, 2031695, 1, 0, 2031696, 1, 0, 2031697, 1, 0, 2031698, 1, 0, 2031699, 1, 0, 2031700, 1, 0, 2031701, 1, 0 ) - -[node name="Portal" parent="." instance=ExtResource( 3 )] -position = Vector2( 1989, 528 ) - -[node name="Collectibles" type="Node" parent="."] - -[node name="Spikes" parent="." instance=ExtResource( 6 )] -position = Vector2( 1572, 732 ) diff --git a/src/Levels/The Line Level.gd b/src/Levels/The Line Level.gd deleted file mode 100644 index 98ead8e..0000000 --- a/src/Levels/The Line Level.gd +++ /dev/null @@ -1,34 +0,0 @@ -extends Node2D - -var Rope = preload("res://src/Contraptions/Rope/Rope.tscn") -var start_pos := Vector2.ZERO -var end_pos := Vector2.ZERO -onready var rope: Node2D = null - -func _ready() -> void: - pass - # rope = Rope.instance() - # add_child(rope) - # rope.rope_start = get_node("BoundFrog/RopeAnchor") - # rope.rope_end = get_node("BoundFrog/WhatAreFrog") - # rope.rope_start_joint = get_node("BoundFrog/RopeAnchor/cshape/pjoint") - # rope.rope_end_joint = get_node("BoundFrog/WhatAreFrog/cshape/pjoint") - # rope.spawn_rope($BoundFrog/RopeAnchor.global_position, $BoundFrog.global_position, false) - -# func _input(event): -# if event is InputEventMouseButton && !event.is_pressed(): -# if start_pos == Vector2.ZERO: -# start_pos = get_global_mouse_position() -# elif end_pos == Vector2.ZERO: -# end_pos = get_global_mouse_position() -# rope = Rope.instance() -# add_child(rope) -# rope.spawn_rope(start_pos, end_pos) -# start_pos = Vector2.ZERO -# end_pos = Vector2.ZERO - # if rope != null && event.is_action_pressed("click"): - # rope.mouse_follow = true - # if event.is_action_released("click"): - # if rope != null: - # rope.mouse_follow = false - diff --git a/src/ObstacleObjects/Spikes.tscn b/src/ObstacleObjects/Spikes.tscn index b6357d8..e91dbe4 100644 --- a/src/ObstacleObjects/Spikes.tscn +++ b/src/ObstacleObjects/Spikes.tscn @@ -48,5 +48,5 @@ animations = [ { [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 1 ) -frame = 22 +frame = 28 playing = true