Changed the way the fades work, and brought back in the Player
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
extends Node2D
|
||||
|
||||
@export var dir: int
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
+24
-21
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bhoqj8b4oxyks"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://bhoqj8b4oxyks"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dn0lboldm331y" path="res://scenes/modules/platform_02.tscn" id="1_kka3y"]
|
||||
[ext_resource type="Script" path="res://scripts/null.gd" id="2_0yetm"]
|
||||
[ext_resource type="PackedScene" uid="uid://cuefds30ddne1" path="res://scenes/modules/platform_00.tscn" id="4_wje6l"]
|
||||
[ext_resource type="PackedScene" uid="uid://dn0lboldm331y" path="res://scenes/modules/platform_02.tscn" id="1_cbvrq"]
|
||||
[ext_resource type="Script" path="res://scenes/levels/Level.gd" id="1_qbkcb"]
|
||||
[ext_resource type="PackedScene" uid="uid://cuefds30ddne1" path="res://scenes/modules/platform_00.tscn" id="2_jkfr1"]
|
||||
[ext_resource type="Script" path="res://scripts/null.gd" id="3_m83jh"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7hfyn"]
|
||||
|
||||
@@ -11,57 +12,62 @@ size = Vector2(7318, 557)
|
||||
|
||||
[node name="Level" type="Node2D"]
|
||||
position = Vector2(0, 96)
|
||||
script = ExtResource("1_qbkcb")
|
||||
dir = 1
|
||||
|
||||
[node name="SpawnPoint" type="Node2D" parent="."]
|
||||
|
||||
[node name="Platforms" type="CanvasGroup" parent="."]
|
||||
|
||||
[node name="Platform_26" parent="Platforms" instance=ExtResource("1_kka3y")]
|
||||
[node name="Platform_26" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
position = Vector2(28, 60)
|
||||
|
||||
[node name="Platform_27" parent="Platforms" instance=ExtResource("1_kka3y")]
|
||||
[node name="Platform_27" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
position = Vector2(328, 60)
|
||||
|
||||
[node name="Platform_28" parent="Platforms" instance=ExtResource("1_kka3y")]
|
||||
[node name="Platform_28" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
position = Vector2(674, 60)
|
||||
|
||||
[node name="Platform_29" parent="Platforms" instance=ExtResource("1_kka3y")]
|
||||
[node name="Platform_29" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
position = Vector2(1079, 139)
|
||||
|
||||
[node name="Platform_31" parent="Platforms" instance=ExtResource("1_kka3y")]
|
||||
[node name="Platform_31" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
position = Vector2(1629, 139)
|
||||
|
||||
[node name="Platform_30" parent="Platforms" instance=ExtResource("1_kka3y")]
|
||||
[node name="Platform_30" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
position = Vector2(2870, 59)
|
||||
|
||||
[node name="Platform_25" parent="Platforms" instance=ExtResource("1_kka3y")]
|
||||
[node name="Platform_25" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
modulate = Color(0.00784314, 0.490196, 0, 1)
|
||||
position = Vector2(3755, 149)
|
||||
|
||||
[node name="Platform_00" parent="Platforms" instance=ExtResource("4_wje6l")]
|
||||
[node name="Platform_00" parent="Platforms" instance=ExtResource("2_jkfr1")]
|
||||
position = Vector2(1079, 60)
|
||||
|
||||
[node name="Platform_09" parent="Platforms" instance=ExtResource("4_wje6l")]
|
||||
[node name="Platform_09" parent="Platforms" instance=ExtResource("2_jkfr1")]
|
||||
position = Vector2(1629, 60)
|
||||
|
||||
[node name="Platform_10" parent="Platforms" instance=ExtResource("4_wje6l")]
|
||||
[node name="Platform_10" parent="Platforms" instance=ExtResource("2_jkfr1")]
|
||||
position = Vector2(1904, 60)
|
||||
|
||||
[node name="Platform_01" parent="Platforms" instance=ExtResource("4_wje6l")]
|
||||
[node name="Platform_01" parent="Platforms" instance=ExtResource("2_jkfr1")]
|
||||
position = Vector2(1354, 60)
|
||||
|
||||
[node name="Platform_06" parent="Platforms" instance=ExtResource("4_wje6l")]
|
||||
[node name="Platform_06" parent="Platforms" instance=ExtResource("2_jkfr1")]
|
||||
position = Vector2(2217, 59)
|
||||
|
||||
[node name="Platform_07" parent="Platforms" instance=ExtResource("4_wje6l")]
|
||||
[node name="Platform_07" parent="Platforms" instance=ExtResource("2_jkfr1")]
|
||||
position = Vector2(2492, 59)
|
||||
|
||||
[node name="Platform_32" parent="Platforms" instance=ExtResource("1_cbvrq")]
|
||||
position = Vector2(3287, 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")
|
||||
script = ExtResource("3_m83jh")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Checkpoints/End"]
|
||||
@@ -89,6 +95,3 @@ shape = SubResource("RectangleShape2D_0f50m")
|
||||
[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)
|
||||
|
||||
Reference in New Issue
Block a user