Unbork some very borked stuff
This commit is contained in:
@ -1,14 +1,9 @@
|
||||
[gd_scene load_steps=6 format=3]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dnicfvo878on7"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://cxgvk5h68qluc" path="res://general_theme.tres" id="1"]
|
||||
[ext_resource type="FontFile" uid="uid://5pudbq7h6eh7" path="res://assets/fonts/pixelmix/pixelmix_bold.ttf" id="2"]
|
||||
[ext_resource type="Theme" uid="uid://x4at2pluavto" path="res://general_theme.tres" id="1"]
|
||||
[ext_resource type="Script" path="res://scripts/Console.gd" id="3"]
|
||||
|
||||
[sub_resource type="FontFile" id=1]
|
||||
size = 48
|
||||
font_data = ExtResource( 2 )
|
||||
|
||||
[sub_resource type="GDScript" id=2]
|
||||
[sub_resource type="GDScript" id="2"]
|
||||
script/source = "extends ColorRect
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
@ -55,42 +50,47 @@ func fade_out():
|
||||
fade_timer.queue_free()"
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 1 )
|
||||
theme = ExtResource("1")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Control" type="Control" parent="CanvasLayer"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 1 )
|
||||
theme = ExtResource("1")
|
||||
|
||||
[node name="Level Complete" type="Label" parent="CanvasLayer/Control"]
|
||||
layout_mode = 0
|
||||
offset_left = 20.0
|
||||
offset_top = 15.0
|
||||
offset_right = 691.0
|
||||
offset_bottom = 88.0
|
||||
custom_fonts/font = SubResource( 1 )
|
||||
custom_colors/font_color = Color( 0.6, 0.898039, 0.313726, 1 )
|
||||
text = "LEVEL COMPLETE!"
|
||||
|
||||
[node name="Console" type="Control" parent="CanvasLayer/Control"]
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 3 )
|
||||
script = ExtResource("3")
|
||||
|
||||
[node name="Display" type="Label" parent="CanvasLayer/Control/Console"]
|
||||
layout_mode = 0
|
||||
offset_left = 20.0
|
||||
offset_top = 70.0
|
||||
offset_right = 550.0
|
||||
offset_bottom = 480.0
|
||||
custom_colors/font_color = Color( 0.6, 0.898039, 0.313726, 1 )
|
||||
text = "Running debugger...
|
||||
|
||||
Debugging complete!"
|
||||
|
||||
[node name="Buttons" type="HBoxContainer" parent="CanvasLayer/Control/Console"]
|
||||
layout_mode = 0
|
||||
offset_left = 20.0
|
||||
offset_top = 480.0
|
||||
offset_right = 550.0
|
||||
@ -100,23 +100,23 @@ grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Button2" type="Button" parent="CanvasLayer/Control/Console/Buttons"]
|
||||
offset_left = 241.0
|
||||
offset_right = 289.0
|
||||
offset_bottom = 40.0
|
||||
layout_mode = 2
|
||||
text = "Test"
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="CanvasLayer/Control/Console"]
|
||||
layout_mode = 0
|
||||
offset_left = 20.0
|
||||
offset_top = 475.0
|
||||
offset_right = 550.0
|
||||
offset_bottom = 485.0
|
||||
scale = Vector2( 1, 0.5 )
|
||||
color = Color( 0.6, 0.898039, 0.313726, 1 )
|
||||
scale = Vector2(1, 0.5)
|
||||
color = Color(0.6, 0.898039, 0.313726, 1)
|
||||
|
||||
[node name="FadeRect" type="ColorRect" parent="CanvasLayer"]
|
||||
visible = false
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
color = Color( 0, 0, 0, 1 )
|
||||
script = SubResource( 2 )
|
||||
color = Color(0, 0, 0, 1)
|
||||
script = SubResource("2")
|
||||
|
@ -1,39 +1,52 @@
|
||||
[gd_scene load_steps=9 format=3]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://cahrkuao8ip70"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Exit.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://mn17ql7wilx3" path="res://assets/art/Exit/Exit1.png" id="2"]
|
||||
[ext_resource type="PackedScene" uid="uid://dnicfvo878on7" path="res://nodes/Victory.tscn" id="2_i8a2h"]
|
||||
[ext_resource type="Texture2D" uid="uid://ca3q21m0btdrl" path="res://assets/art/Exit/Exit2.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbft4yscrmjw5" path="res://assets/art/Exit/Exit3.png" id="4"]
|
||||
[ext_resource type="Texture2D" uid="uid://8nubee34g3bl" path="res://assets/art/Exit/Exit4.png" id="5"]
|
||||
[ext_resource type="Texture2D" uid="uid://df3auvg5myvws" path="res://assets/art/light.png" id="6"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ) ],
|
||||
[sub_resource type="SpriteFrames" id="1"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"name": &"default",
|
||||
"speed": 12.0
|
||||
} ]
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
extents = Vector2( 7.00912, 7.45768 )
|
||||
[sub_resource type="RectangleShape2D" id="2"]
|
||||
size = Vector2(14.0182, 14.9154)
|
||||
|
||||
[node name="Exit" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
[node name="Exit" type="Node2D" node_paths=PackedStringArray("area")]
|
||||
script = ExtResource("1")
|
||||
area = NodePath("Area2D")
|
||||
victory_scene = ExtResource("2_i8a2h")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
z_index = -1
|
||||
frames = SubResource( 1 )
|
||||
sprite_frames = SubResource("1")
|
||||
frame = 2
|
||||
playing = true
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
editor/display_folded = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2( 0, 0.5 )
|
||||
shape = SubResource( 2 )
|
||||
position = Vector2(0, 0.5)
|
||||
shape = SubResource("2")
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="."]
|
||||
texture = ExtResource( 6 )
|
||||
color = Color( 0.486275, 1, 0.25098, 1 )
|
||||
color = Color(0.486275, 1, 0.25098, 1)
|
||||
texture = ExtResource("6")
|
||||
|
Reference in New Issue
Block a user