Kept goiong, but not quite happy.

This commit is contained in:
2024-01-18 15:31:40 -08:00
parent 3a3b9b29db
commit 763ce182a4
15 changed files with 423 additions and 80 deletions
+95
View File
@@ -0,0 +1,95 @@
[gd_scene load_steps=6 format=3 uid="uid://bhoqj8b4oxyks"]
[ext_resource type="PackedScene" uid="uid://dn0lboldm331y" path="res://scenes/platform_01.tscn" id="1_kka3y"]
[ext_resource type="Script" path="res://scripts/checkpoint.gd" id="2_0yetm"]
[ext_resource type="PackedScene" uid="uid://cuefds30ddne1" path="res://scenes/platform_00.tscn" id="4_wje6l"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7hfyn"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0f50m"]
size = Vector2(7318, 557)
[node name="Level" type="Node2D"]
position = Vector2(0, 96)
[node name="SpawnPoint" type="Node2D" parent="."]
[node name="Platforms" type="CanvasGroup" parent="."]
[node name="Platform_26" parent="Platforms" instance=ExtResource("1_kka3y")]
position = Vector2(28, 60)
[node name="Platform_27" parent="Platforms" instance=ExtResource("1_kka3y")]
position = Vector2(328, 60)
[node name="Platform_28" parent="Platforms" instance=ExtResource("1_kka3y")]
position = Vector2(674, 60)
[node name="Platform_29" parent="Platforms" instance=ExtResource("1_kka3y")]
position = Vector2(1079, 139)
[node name="Platform_31" parent="Platforms" instance=ExtResource("1_kka3y")]
position = Vector2(1629, 139)
[node name="Platform_30" parent="Platforms" instance=ExtResource("1_kka3y")]
position = Vector2(2870, 59)
[node name="Platform_25" parent="Platforms" instance=ExtResource("1_kka3y")]
modulate = Color(0.00784314, 0.490196, 0, 1)
position = Vector2(3755, 149)
[node name="Platform_00" parent="Platforms" instance=ExtResource("4_wje6l")]
position = Vector2(1079, 60)
[node name="Platform_09" parent="Platforms" instance=ExtResource("4_wje6l")]
position = Vector2(1629, 60)
[node name="Platform_10" parent="Platforms" instance=ExtResource("4_wje6l")]
position = Vector2(1904, 60)
[node name="Platform_01" parent="Platforms" instance=ExtResource("4_wje6l")]
position = Vector2(1354, 60)
[node name="Platform_06" parent="Platforms" instance=ExtResource("4_wje6l")]
position = Vector2(2217, 59)
[node name="Platform_07" parent="Platforms" instance=ExtResource("4_wje6l")]
position = Vector2(2492, 59)
[node name="Checkpoints" type="CanvasGroup" parent="."]
[node name="End" type="Area2D" parent="Checkpoints"]
position = Vector2(3755, 128)
scale = Vector2(16.672, 1)
script = ExtResource("2_0yetm")
type = "end"
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Checkpoints/End"]
shape = SubResource("RectangleShape2D_7hfyn")
[node name="Abysses" type="CanvasGroup" parent="."]
[node name="Abyss" type="Area2D" parent="Abysses"]
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Abysses/Abyss"]
position = Vector2(951, 1182)
shape = SubResource("RectangleShape2D_0f50m")
[node name="Abyss2" type="Area2D" parent="Abysses"]
position = Vector2(0, -2964)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Abysses/Abyss2"]
position = Vector2(951, 1182)
shape = SubResource("RectangleShape2D_0f50m")
[node name="Switches" type="CanvasGroup" parent="."]
[node name="Direction" type="Node2D" parent="Switches"]
[node name="Gravity" type="Node2D" parent="Switches"]
[node name="Platform_30" parent="." instance=ExtResource("1_kka3y")]
position = Vector2(3287, 59)
+27 -30
View File
@@ -13,66 +13,62 @@ size = Vector2(7318, 557)
[sub_resource type="QuadMesh" id="QuadMesh_qcjog"]
[node name="Level" type="Node2D"]
position = Vector2(0, 96)
[node name="Platforms" type="CanvasGroup" parent="."]
[node name="Platform_01" parent="Platforms" instance=ExtResource("1_p1vy7")]
[node name="Platform_14" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(2986, 91)
scale = Vector2(16.672, 1)
position = Vector2(2861, 87)
[node name="Platform_15" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(1483, -696)
scale = Vector2(16.672, 1)
position = Vector2(1159, -700)
[node name="Platform_27" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(1556, -737)
[node name="Platform_16" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(1595, 188)
scale = Vector2(16.672, 1)
position = Vector2(1470, 184)
[node name="Platform_17" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(2068, 161)
scale = Vector2(16.672, 1)
position = Vector2(1943, 157)
[node name="Platform_18" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(1019, -452)
scale = Vector2(16.672, 1)
position = Vector2(1159, 121)
[node name="Platform_19" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(3629, 130)
position = Vector2(3504, 126)
rotation = 1.5708
scale = Vector2(16.672, 1)
[node name="Platform_20" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(2338, 297)
position = Vector2(2213, 293)
rotation = 1.5708
scale = Vector2(16.672, 1)
[node name="Platform_21" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(607, -296)
scale = Vector2(16.672, 1)
position = Vector2(393, 115)
[node name="Platform_26" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(28, 115)
[node name="Platform_22" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(1052, -220)
scale = Vector2(16.672, 1)
position = Vector2(791, 116)
[node name="Platform_23" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(2604, 159)
scale = Vector2(16.672, 1)
position = Vector2(2479, 155)
[node name="Platform_24" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(3363, 53)
scale = Vector2(16.672, 1)
position = Vector2(3238, 49)
[node name="Platform_25" parent="Platforms" instance=ExtResource("1_p1vy7")]
modulate = Color(0.00784314, 0.490196, 0, 1)
position = Vector2(3880, 153)
scale = Vector2(16.672, 1)
position = Vector2(3755, 149)
[node name="Platform_02" parent="Platforms" instance=ExtResource("1_p1vy7")]
position = Vector2(573, -293)
[node name="Checkpoints" type="CanvasGroup" parent="."]
[node name="End" type="Area2D" parent="Checkpoints"]
position = Vector2(3880, 133)
position = Vector2(3755, 128)
scale = Vector2(16.672, 1)
script = ExtResource("1_mogvd")
type = "end"
@@ -103,9 +99,10 @@ shape = SubResource("RectangleShape2D_0f50m")
[node name="Gravity" type="Node2D" parent="Switches"]
[node name="GravitySwitch01" parent="Switches/Gravity" instance=ExtResource("2_ufuu6")]
position = Vector2(254, -48)
[node name="GravitySwitch02" parent="Switches/Gravity" instance=ExtResource("2_ufuu6")]
position = Vector2(1344, -102)
position = Vector2(1355, -68)
[node name="GravitySwitch03" parent="Switches/Gravity" instance=ExtResource("2_ufuu6")]
position = Vector2(1743, -586)
@@ -114,7 +111,7 @@ position = Vector2(1743, -586)
[node name="DirectionSwitch01" type="Area2D" parent="Switches/Direction"]
self_modulate = Color(0, 0.737255, 0.745098, 0.423529)
position = Vector2(1017, -416)
position = Vector2(1289, -667)
collision_layer = 0
script = ExtResource("3_vaslk")
type = "gravity"
@@ -165,7 +162,7 @@ mesh = SubResource("QuadMesh_qcjog")
[node name="DirectionSwitch04" type="Area2D" parent="Switches/Direction"]
self_modulate = Color(0, 0.737255, 0.745098, 0.423529)
position = Vector2(2339, 104)
position = Vector2(2213, 120)
collision_layer = 0
script = ExtResource("3_vaslk")
type = "gravity"
+181
View File
@@ -0,0 +1,181 @@
[gd_scene load_steps=8 format=3 uid="uid://ctnhjgpqxjrw0"]
[ext_resource type="PackedScene" uid="uid://dn0lboldm331y" path="res://scenes/platform_01.tscn" id="1_30vdq"]
[ext_resource type="Script" path="res://scripts/checkpoint.gd" id="2_v00sg"]
[ext_resource type="PackedScene" uid="uid://cjpwcih4ro8gu" path="res://scenes/gravity_switch.tscn" id="3_fjevk"]
[ext_resource type="Script" path="res://scripts/switch.gd" id="4_64uew"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7hfyn"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0f50m"]
size = Vector2(7318, 557)
[sub_resource type="QuadMesh" id="QuadMesh_qcjog"]
[node name="Level" type="Node2D"]
[node name="Platforms" type="CanvasGroup" parent="."]
[node name="Platform_01" parent="Platforms" instance=ExtResource("1_30vdq")]
[node name="Platform_14" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(2986, 91)
scale = Vector2(16.672, 1)
[node name="Platform_15" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(1483, -696)
scale = Vector2(16.672, 1)
[node name="Platform_16" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(1595, 188)
scale = Vector2(16.672, 1)
[node name="Platform_17" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(2068, 161)
scale = Vector2(16.672, 1)
[node name="Platform_18" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(1019, -452)
scale = Vector2(16.672, 1)
[node name="Platform_19" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(3629, 130)
rotation = 1.5708
scale = Vector2(16.672, 1)
[node name="Platform_20" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(2338, 297)
rotation = 1.5708
scale = Vector2(16.672, 1)
[node name="Platform_21" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(607, -296)
scale = Vector2(16.672, 1)
[node name="Platform_22" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(1052, -220)
scale = Vector2(16.672, 1)
[node name="Platform_23" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(2604, 159)
scale = Vector2(16.672, 1)
[node name="Platform_24" parent="Platforms" instance=ExtResource("1_30vdq")]
position = Vector2(3363, 53)
scale = Vector2(16.672, 1)
[node name="Platform_25" parent="Platforms" instance=ExtResource("1_30vdq")]
modulate = Color(0.00784314, 0.490196, 0, 1)
position = Vector2(3880, 153)
scale = Vector2(16.672, 1)
[node name="Checkpoints" type="CanvasGroup" parent="."]
[node name="End" type="Area2D" parent="Checkpoints"]
position = Vector2(3880, 133)
scale = Vector2(16.672, 1)
script = ExtResource("2_v00sg")
type = "end"
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Checkpoints/End"]
shape = SubResource("RectangleShape2D_7hfyn")
[node name="Abysses" type="CanvasGroup" parent="."]
[node name="Abyss" type="Area2D" parent="Abysses"]
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Abysses/Abyss"]
position = Vector2(951, 1182)
shape = SubResource("RectangleShape2D_0f50m")
[node name="Abyss2" type="Area2D" parent="Abysses"]
position = Vector2(0, -2964)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Abysses/Abyss2"]
position = Vector2(951, 1182)
shape = SubResource("RectangleShape2D_0f50m")
[node name="Switches" type="CanvasGroup" parent="."]
[node name="Gravity" type="Node2D" parent="Switches"]
[node name="GravitySwitch01" parent="Switches/Gravity" instance=ExtResource("3_fjevk")]
[node name="GravitySwitch02" parent="Switches/Gravity" instance=ExtResource("3_fjevk")]
position = Vector2(1344, -102)
[node name="GravitySwitch03" parent="Switches/Gravity" instance=ExtResource("3_fjevk")]
position = Vector2(1743, -586)
[node name="Direction" type="Node2D" parent="Switches"]
[node name="DirectionSwitch01" type="Area2D" parent="Switches/Direction"]
self_modulate = Color(0, 0.737255, 0.745098, 0.423529)
position = Vector2(1017, -416)
collision_layer = 0
script = ExtResource("4_64uew")
type = "gravity"
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Switches/Direction/DirectionSwitch01"]
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_7hfyn")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Switches/Direction/DirectionSwitch01"]
self_modulate = Color(1, 1, 1, 0.0980392)
scale = Vector2(48, 48)
mesh = SubResource("QuadMesh_qcjog")
[node name="DirectionSwitch02" type="Area2D" parent="Switches/Direction"]
self_modulate = Color(0, 0.737255, 0.745098, 0.423529)
position = Vector2(703, -262)
collision_layer = 0
script = ExtResource("4_64uew")
type = "gravity"
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Switches/Direction/DirectionSwitch02"]
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_7hfyn")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Switches/Direction/DirectionSwitch02"]
self_modulate = Color(1, 1, 1, 0.0980392)
scale = Vector2(48, 48)
mesh = SubResource("QuadMesh_qcjog")
[node name="DirectionSwitch03" type="Area2D" parent="Switches/Direction"]
self_modulate = Color(0, 0.737255, 0.745098, 0.423529)
position = Vector2(1642, 153)
collision_layer = 0
script = ExtResource("4_64uew")
type = "gravity"
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Switches/Direction/DirectionSwitch03"]
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_7hfyn")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Switches/Direction/DirectionSwitch03"]
self_modulate = Color(1, 1, 1, 0.0980392)
scale = Vector2(48, 48)
mesh = SubResource("QuadMesh_qcjog")
[node name="DirectionSwitch04" type="Area2D" parent="Switches/Direction"]
self_modulate = Color(0, 0.737255, 0.745098, 0.423529)
position = Vector2(2339, 104)
collision_layer = 0
script = ExtResource("4_64uew")
type = "gravity"
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Switches/Direction/DirectionSwitch04"]
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_7hfyn")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Switches/Direction/DirectionSwitch04"]
self_modulate = Color(1, 1, 1, 0.0980392)
scale = Vector2(48, 48)
mesh = SubResource("QuadMesh_qcjog")