The beginning of public history

This commit is contained in:
2019-09-16 02:07:41 -04:00
commit 64a2ffbc89
1104 changed files with 7534 additions and 0 deletions

122
Nodes/Victory.tscn Normal file
View File

@@ -0,0 +1,122 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://general_theme.tres" type="Theme" id=1]
[ext_resource path="res://Fonts/pixelmix/pixelmix_bold.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Scripts/Console.gd" type="Script" id=3]
[sub_resource type="DynamicFont" id=1]
size = 48
font_data = ExtResource( 2 )
[sub_resource type="GDScript" id=2]
script/source = "extends ColorRect
# Declare member variables here. Examples:
# var a = 2
# var b = \"text\"
# Called when the node enters the scene tree for the first time.
func _ready():
show()
fade_in()
pass # Replace with function body.
const VICTORY_SCREEN = \"res://Nodes/Victory.tscn\"
var progress = 255
var fade_timer
const FADE_SPEED = 0.0125
const FADE_RATE = 8
func fade_in():
modulate.a = progress/255.0
if progress > 0:
progress -= FADE_RATE
if(!fade_timer):
fade_timer = Timer.new()
add_child(fade_timer)
fade_timer.connect(\"timeout\", self, \"fade_in\")
fade_timer.start(FADE_SPEED)
else:
fade_timer.queue_free()
var prog_two = 0
func fade_out():
modulate.a = prog_two/255.0
if prog_two < 255:
prog_two += FADE_RATE
if(!fade_timer):
fade_timer = Timer.new()
add_child(fade_timer)
fade_timer.connect(\"timeout\", self, \"fade_out\")
fade_timer.start(FADE_SPEED)
else:
fade_timer.queue_free()"
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
[node name="Level Complete" type="Label" parent="CanvasLayer/Control"]
margin_left = 20.0
margin_top = 15.0
margin_right = 691.0
margin_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"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
[node name="Display" type="Label" parent="CanvasLayer/Control/Console"]
margin_left = 20.0
margin_top = 70.0
margin_right = 550.0
margin_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"]
margin_left = 20.0
margin_top = 480.0
margin_right = 550.0
margin_bottom = 520.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="Button2" type="Button" parent="CanvasLayer/Control/Console/Buttons"]
margin_left = 241.0
margin_right = 289.0
margin_bottom = 40.0
text = "Test"
[node name="ColorRect" type="ColorRect" parent="CanvasLayer/Control/Console"]
margin_left = 20.0
margin_top = 475.0
margin_right = 550.0
margin_bottom = 485.0
rect_scale = Vector2( 1, 0.5 )
color = Color( 0.6, 0.898039, 0.313726, 1 )
[node name="FadeRect" type="ColorRect" parent="CanvasLayer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color( 0, 0, 0, 1 )
script = SubResource( 2 )