moved one project into separate folder for now

This commit is contained in:
Jaap Marsman 2023-08-06 13:00:11 +08:00
parent 922805f3d4
commit 3f35af2be9
59 changed files with 220 additions and 5413 deletions

View File

@ -1,16 +0,0 @@
extends Panel
var style = StyleBoxFlat.new()
func _ready():
# The Panel doc tells you which style names there are
add_style_override("panel", style)
set_process(true)
func _process(delta):
# Some basic code animation
var color = Color(0.5*sin(OS.get_ticks_msec()/100.0)+0.5, 0, 0)
style.set_bg_color(color)
# Don't forget to update so the control will redraw
update()

View File

@ -1,90 +0,0 @@
extends CanvasLayer
@onready var booking_screen = $"%BookingScreen"
@onready var lesson_grid = $"%LessonGrid"
@onready var settings_button = $"%SettingsButton"
@onready var important_vars = $"%impvars"
@onready var booking_vars = $"%bookings"
@onready var timer = $"%time"
@onready var err_label = $"%ErrLabel"
@onready var clear_button = $"%ClearButton"
@onready var name1 = $"%Name1"
@onready var name2 = $"%Name2"
@onready var form1 = $"%Form1"
@onready var form2 = $"%Form2"
@onready var name3 = $"%Name3"
@onready var form3 = $"%Form3"
@onready var name4 = $"%Name4"
@onready var form4 = $"%Form4"
@onready var reason = $"%ReasonField"
@onready var book_pw = $"%BookPw"
func _clear_form():
name1.text = ""
name2.text = ""
form1.text = ""
form2.text = ""
name3.text = ""
name4.text = ""
form3.text = ""
form4.text = ""
reason.text = ""
book_pw.text = ""
func restore_names_to_four():
name3.visible = true
form3.visible = true
name4.visible = true
form4.visible = true
func _on_CancelButton_pressed():
booking_screen.visible = false
lesson_grid.visible = true
settings_button.visible = true
err_label.visible = false
clear_button.visible = false
restore_names_to_four()
_clear_form()
func _book_it():
booking_vars.set_values()
_clear_form()
func _on_BookButton_pressed():
if name1.text == "" or reason.text =="":
err_label.visible = true
else:
var namer = "/root/MainStartScreen/ButtonGrid/" + important_vars.pod + "L" + str(important_vars.time)
var sp = get_node(str(namer))
sp.text = "BOOKED"
_book_it()
_on_CancelButton_pressed()
func _on_ClearButton_pressed():
var namer = "/root/MainStartScreen/ButtonGrid/" + important_vars.pod + "L" + str(important_vars.time)
var sp = get_node(str(namer))
sp.text = ""
if $"%BookPw".text == "WhoIsJaap":
_clear_form()
_book_it()
_on_CancelButton_pressed()
func _on_change_button_pressed():
if $"%BookPw".text == "WhoIsJaap":
if name1.text == "" or reason.text =="":
err_label.visible = true
else:
var namer = "/root/MainStartScreen/ButtonGrid/" + important_vars.pod + "L" + str(important_vars.time)
var sp = get_node(str(namer))
sp.text = "BOOKED"
_book_it()
_on_CancelButton_pressed()

View File

@ -1,406 +0,0 @@
extends GridContainer
@onready var booking_screen = $"%BookingScreen"
@onready var important_vars = $"%impvars"
@onready var booking_vars = $"%bookings"
@onready var lesson_grid = $"%LessonGrid"
@onready var times = $"%time"
@onready var settings_button = $"%SettingsButton"
@onready var name1 = $"%Name1"
@onready var name2 = $"%Name2"
@onready var form1 = $"%Form1"
@onready var form2 = $"%Form2"
@onready var reason = $"%ReasonField"
@onready var name3 = $"%Name3"
@onready var form3 = $"%Form3"
@onready var name4 = $"%Name4"
@onready var form4 = $"%Form4"
@onready var pod_name_label = $"%PodName"
@onready var lesson_name = $"%LessonName"
@onready var day_name = $"%DayName"
@onready var book_button = $"%BookButton"
@onready var clear_button = $"%ClearButton"
func _ready():
pass
func topbar_color():
if important_vars.pod == "A1":
$"%BookTopBar".color = Color.html("#baa7c2")
if important_vars.pod == "A2":
$"%BookTopBar".color = Color.html("#e5c67a")
if important_vars.pod == "B1":
$"%BookTopBar".color = Color.html("#3b719c")
if important_vars.pod == "B2":
$"%BookTopBar".color = Color.html("#3b719c")
if important_vars.pod == "C":
$"%BookTopBar".color = Color.html("#baa7c2")
if important_vars.pod == "D":
$"%BookTopBar".color = Color.html("#aec48c")
if important_vars.pod == "E":
$"%BookTopBar".color = Color.html("#6dc1f0")
if important_vars.pod == "F":
$"%BookTopBar".color = Color.html("#e5c67a")
func set_booking_screen_values():
pod_name_label.text = "Pod " + important_vars.pod
lesson_name.text = "Lesson " + str(important_vars.time)
if important_vars.time == 8:
lesson_name.text = "Lunch Time"
day_name.text = "Today is " + times.dayofweek_word
topbar_color()
booking_vars.read_values()
# if name1.text != "":
# book_button.text = "Save Changed Booking"
# else:
# book_button.text = "Book"
func drop_names_to_two():
print(important_vars.pod)
# or "A2" or "B1" or "B2"
if important_vars.pod == "A1":
name3.visible = false
form3.visible = false
name4.visible = false
form4.visible = false
if important_vars.pod == "A2":
name3.visible = false
form3.visible = false
name4.visible = false
form4.visible = false
if important_vars.pod == "B1":
name3.visible = false
form3.visible = false
name4.visible = false
form4.visible = false
if important_vars.pod == "B2":
name3.visible = false
form3.visible = false
name4.visible = false
form4.visible = false
# Let's agree that lesson 8 = lunch. No breaktime bookings anymore.
func book_button_pressed(pod_name, lesson):
# Only do anything if it's not empty
important_vars.pod = pod_name
important_vars.time = lesson
# This creates a variable called A1L1 etc
important_vars.current_pod = str(pod_name) + "L" + str(lesson)
set_booking_screen_values()
drop_names_to_two()
booking_screen.visible = true
# lesson_grid.visible = false
# settings_button.visible = false
if name1.text != "":
clear_button.visible = true
$"%ChangeButton".visible = true
$"%ClearBookPw".visible = true
$"%BookPw".visible = true
$"%BookButton".visible = false
if name1.text == "":
clear_button.visible = false
$"%ChangeButton".visible = false
$"%ClearBookPw".visible = false
$"%BookPw".visible = false
$"%BookButton".visible = true
func _on_A1L1_pressed():
book_button_pressed("A1", 1)
func _on_A2L1_pressed():
book_button_pressed("A2", 1)
func _on_B1L1_pressed():
book_button_pressed("B1", 1)
func _on_B2L1_pressed():
book_button_pressed("B2", 1)
func _on_CL1_pressed():
book_button_pressed("C", 1)
func _on_DL1_pressed():
book_button_pressed("D", 1)
func _on_EL1_pressed():
book_button_pressed("E", 1)
func _on_FL1_pressed():
book_button_pressed("F", 1)
func _on_GL1_pressed():
book_button_pressed("G", 1)
func _on_A1L2_pressed():
book_button_pressed("A1", 2)
func _on_A2L2_pressed():
book_button_pressed("A2", 2)
func _on_B1L2_pressed():
book_button_pressed("B1", 2)
func _on_B2L2_pressed():
book_button_pressed("B2", 2)
func _on_CL2_pressed():
book_button_pressed("C", 2)
func _on_DL2_pressed():
book_button_pressed("D", 2)
func _on_EL2_pressed():
book_button_pressed("E", 2)
func _on_FL2_pressed():
book_button_pressed("F", 2)
func _on_GL2_pressed():
book_button_pressed("G", 2)
func _on_A1L3_pressed():
book_button_pressed("A1", 3)
func _on_A2L3_pressed():
book_button_pressed("A2", 3)
func _on_B1L3_pressed():
book_button_pressed("B1", 3)
func _on_B2L3_pressed():
book_button_pressed("B2", 3)
func _on_CL3_pressed():
book_button_pressed("C", 3)
func _on_DL3_pressed():
book_button_pressed("D", 3)
func _on_EL3_pressed():
book_button_pressed("E", 3)
func _on_FL3_pressed():
book_button_pressed("F", 3)
func _on_GL3_pressed():
book_button_pressed("G", 3)
func _on_A1L4_pressed():
book_button_pressed("A1", 4)
func _on_A2L4_pressed():
book_button_pressed("A2", 4)
func _on_B1L4_pressed():
book_button_pressed("B1", 4)
func _on_B2L4_pressed():
book_button_pressed("B2", 4)
func _on_CL4_pressed():
book_button_pressed("C", 4)
func _on_DL4_pressed():
book_button_pressed("D", 4)
func _on_EL4_pressed():
book_button_pressed("E", 4)
func _on_FL4_pressed():
book_button_pressed("F", 4)
func _on_GL4_pressed():
book_button_pressed("G", 4)
func _on_A1L5_pressed():
book_button_pressed("A1", 5)
func _on_A2L5_pressed():
book_button_pressed("A2", 5)
func _on_B1L5_pressed():
book_button_pressed("B1", 5)
func _on_B2L5_pressed():
book_button_pressed("B2", 5)
func _on_CL5_pressed():
book_button_pressed("C", 5)
func _on_DL5_pressed():
book_button_pressed("D", 5)
func _on_EL5_pressed():
book_button_pressed("E", 5)
func _on_FL5_pressed():
book_button_pressed("F", 5)
func _on_GL5_pressed():
book_button_pressed("G", 5)
func _on_A1L6_pressed():
book_button_pressed("A1", 6)
func _on_A2L6_pressed():
book_button_pressed("A2", 6)
func _on_B1L6_pressed():
book_button_pressed("B1", 6)
func _on_B2L6_pressed():
book_button_pressed("B2", 6)
func _on_CL6_pressed():
book_button_pressed("C", 6)
func _on_DL6_pressed():
book_button_pressed("D", 6)
func _on_EL6_pressed():
book_button_pressed("E", 6)
func _on_FL6_pressed():
book_button_pressed("F", 6)
func _on_GL6_pressed():
book_button_pressed("G", 6)
func _on_A1L7_pressed():
book_button_pressed("A1", 7)
func _on_A2L7_pressed():
book_button_pressed("A2", 7)
func _on_B1L7_pressed():
book_button_pressed("B1", 7)
func _on_B2L7_pressed():
book_button_pressed("B2", 7)
func _on_CL7_pressed():
book_button_pressed("C", 7)
func _on_DL7_pressed():
book_button_pressed("D", 7)
func _on_EL7_pressed():
book_button_pressed("E", 7)
func _on_FL7_pressed():
book_button_pressed("F", 7)
func _on_GL7_pressed():
book_button_pressed("G", 7)
func _on_A1L8_pressed():
book_button_pressed("A1", 8)
func _on_A2L8_pressed():
book_button_pressed("A2", 8)
func _on_B1L8_pressed():
book_button_pressed("B1", 8)
func _on_B2L8_pressed():
book_button_pressed("B2", 8)
func _on_CL8_pressed():
book_button_pressed("C", 8)
func _on_DL8_pressed():
book_button_pressed("D", 8)
func _on_EL8_pressed():
book_button_pressed("E", 8)
func _on_FL8_pressed():
book_button_pressed("F", 8)
func _on_GL8_pressed():
book_button_pressed("G", 8)

View File

@ -1,71 +0,0 @@
extends CanvasLayer
@onready var timer = get_node("%time")
@onready var important_vars = $"%impvars"
@onready var booking_screen = $"%BookingScreen"
@onready var lesson_grid = $"%LessonGrid"
@onready var button_grid = $"%ButtonGrid"
@onready var reset_menu = $"%ResetMenu"
@onready var lunch_label = $"%Lesson8"
@onready var a1l8 = $"%A1L8"
@onready var a2l8 = $"%A2L8"
@onready var b1l8 = $"%B1L8"
@onready var b2l8 = $"%B2L8"
@onready var cl8 = $"%CL8"
@onready var dl8 = $"%DL8"
@onready var el8 = $"%EL8"
@onready var fl8 = $"%FL8"
@onready var gl8 = $"%GL8"
var lunch_enabled = false
func create_ini_file():
var ini_title = important_vars.day_uid + ".ini"
print(ini_title)
# Called when the node enters the scene tree for the first time.
func _ready():
create_ini_file()
$"%DayLabel".text = timer.dayofweek_word + " " + str(timer.day_number) + " " + timer.month_word
booking_screen.visible = false
lesson_grid.visible = true
reset_menu.visible = false
# print(lunch_enabled)
func toggle_lunch():
if lunch_enabled == false:
lunch_label.visible = true
a1l8.visible = true
a2l8.visible = true
b1l8.visible = true
b2l8.visible = true
cl8.visible = true
dl8.visible = true
el8.visible = true
fl8.visible = true
gl8.visible = true
lunch_enabled = true
else:
lunch_label.visible = false
a1l8.visible = false
a2l8.visible = false
b1l8.visible = false
b2l8.visible = false
cl8.visible = false
dl8.visible = false
el8.visible = false
fl8.visible = false
gl8.visible = false
lunch_enabled = false
func show_reset_menu():
reset_menu.visible = true
lesson_grid.visible = false
button_grid.visible = false
func _on_SettingsButton_pressed():
# toggle_lunch()
show_reset_menu()

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
extends Panel
@onready var timer = get_node("%time")
@onready var important_vars = $"%impvars"
@onready var booking_screen = $"%BookingScreen"
@onready var lesson_grid = $"%LessonGrid"
@onready var button_grid = $"%ButtonGrid"
@onready var reset_menu = $"%ResetMenu"
@onready var password_field = $"%PasswordField"
func _on_ResetButton_pressed():
if password_field.text == "Heather":
get_tree().reload_current_scene()
func _on_CancelReset_pressed():
reset_menu.visible = false
lesson_grid.visible = true
button_grid.visible = true

Binary file not shown.

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://cp5oelmse6f5x"
path="res://.godot/imported/FutuBk.ttf-f9fcb5a3eda1a7b7d341f42d436d1872.fontdata"
[deps]
source_file="res://assets/FutuBk.ttf"
dest_files=["res://.godot/imported/FutuBk.ttf-f9fcb5a3eda1a7b7d341f42d436d1872.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,98 +0,0 @@
extends Node
var pod
var time
var day_uid
var day_uid2
var current_pod : String
var a1l1_booked : bool
var a2l1_booked : bool
var b1l1_booked : bool
var b2l1_booked : bool
var cl1_booked : bool
var dl1_booked : bool
var el1_booked : bool
var fl1_booked : bool
var gl1_booked : bool
var a1l2_booked : bool
var a2l2_booked : bool
var b1l2_booked : bool
var b2l2_booked : bool
var cl2_booked : bool
var dl2_booked : bool
var el2_booked : bool
var fl2_booked : bool
var gl2_booked : bool
var a1l3_booked : bool
var a2l3_booked : bool
var b1l3_booked : bool
var b2l3_booked : bool
var cl3_booked : bool
var dl3_booked : bool
var el3_booked : bool
var fl3_booked : bool
var gl3_booked : bool
var a1l4_booked : bool
var a2l4_booked : bool
var b1l4_booked : bool
var b2l4_booked : bool
var cl4_booked : bool
var dl4_booked : bool
var el4_booked : bool
var fl4_booked : bool
var gl4_booked : bool
var a1l5_booked : bool
var a2l5_booked : bool
var b1l5_booked : bool
var b2l5_booked : bool
var cl5_booked : bool
var dl5_booked : bool
var el5_booked : bool
var fl5_booked : bool
var gl5_booked : bool
var a1l6_booked : bool
var a2l6_booked : bool
var b1l6_booked : bool
var b2l6_booked : bool
var cl6_booked : bool
var dl6_booked : bool
var el6_booked : bool
var fl6_booked : bool
var gl6_booked : bool
var a1l7_booked : bool
var a2l7_booked : bool
var b1l7_booked : bool
var b2l7_booked : bool
var cl7_booked : bool
var dl7_booked : bool
var el7_booked : bool
var fl7_booked : bool
var gl7_booked : bool
var a1l8_booked : bool
var a2l8_booked : bool
var b1l8_booked : bool
var b2l8_booked : bool
var cl8_booked : bool
var dl8_booked : bool
var el8_booked : bool
var fl8_booked : bool
var gl8_booked : bool
# Called when the node enters the scene tree for the first time.
func _ready():
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://cme3uxsbxwqno"
path="res://.godot/imported/NotoSansDisplay-Medium.ttf-9c6e3c4eb829bd7a7faa80176a128e10.fontdata"
[deps]
source_file="res://assets/NotoSansDisplay-Medium.ttf"
dest_files=["res://.godot/imported/NotoSansDisplay-Medium.ttf-9c6e3c4eb829bd7a7faa80176a128e10.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

View File

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://doi7bajq7few6"
path="res://.godot/imported/logo.png-e2220799298e3631eb0e245316e0501a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/logo.png"
dest_files=["res://.godot/imported/logo.png-e2220799298e3631eb0e245316e0501a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ccue7ssal6n3g"
path="res://.godot/imported/noun-grand-central-terminal-2828893.png-32d9b297bbaa83d2ddd483e2810ca9ce.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/noun-grand-central-terminal-2828893.png"
dest_files=["res://.godot/imported/noun-grand-central-terminal-2828893.png-32d9b297bbaa83d2ddd483e2810ca9ce.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -1,7 +0,0 @@
[gd_resource type="Environment" load_steps=2 format=3 uid="uid://c2kf16aunbcaf"]
[sub_resource type="Sky" id="1"]
[resource]
background_mode = 2
sky = SubResource("1")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b4pb8an3rqsoo"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -1,59 +0,0 @@
[gd_resource type="Theme" load_steps=7 format=3 uid="uid://c3niwfgfe0ji"]
[ext_resource type="FontFile" uid="uid://cme3uxsbxwqno" path="res://assets/NotoSansDisplay-Medium.ttf" id="1"]
[sub_resource type="FontFile" id="1"]
fallbacks = Array[Font]([ExtResource("1")])
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
cache/0/16/0/kerning_overrides/18/0 = Vector2(0, 0)
cache/0/16/0/kerning_overrides/20/0 = Vector2(0, 0)
cache/0/18/0/ascent = 0.0
cache/0/18/0/descent = 0.0
cache/0/18/0/underline_position = 0.0
cache/0/18/0/underline_thickness = 0.0
cache/0/18/0/scale = 1.0
cache/0/18/0/kerning_overrides/16/0 = Vector2(0, 0)
cache/0/18/0/kerning_overrides/18/0 = Vector2(0, 0)
cache/0/18/0/kerning_overrides/20/0 = Vector2(0, 0)
cache/0/20/0/ascent = 0.0
cache/0/20/0/descent = 0.0
cache/0/20/0/underline_position = 0.0
cache/0/20/0/underline_thickness = 0.0
cache/0/20/0/scale = 1.0
cache/0/20/0/kerning_overrides/16/0 = Vector2(0, 0)
cache/0/20/0/kerning_overrides/18/0 = Vector2(0, 0)
cache/0/20/0/kerning_overrides/20/0 = Vector2(0, 0)
[sub_resource type="StyleBoxFlat" id="3"]
bg_color = Color(0.427451, 0.431373, 0.443137, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="2"]
bg_color = Color(0, 0.0431373, 0.294118, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="4"]
bg_color = Color(0.647059, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="5"]
[resource]
default_font = SubResource("1")
Button/colors/font_color_hover = Color(0.94, 0.94, 0.94, 1)
Button/fonts/font = SubResource("1")
Button/styles/hover = SubResource("3")
Button/styles/normal = SubResource("2")
Button/styles/pressed = SubResource("4")
Label/colors/font_color = Color(0, 0, 0, 1)
Panel/styles/panel = SubResource("5")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

View File

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bxm4opuvj1fkv"
path="res://.godot/imported/noun-cogs-1959786.png-346f5ef56cede1c10eebb97222280b34.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://noun-cogs-1959786.png"
dest_files=["res://.godot/imported/noun-cogs-1959786.png-346f5ef56cede1c10eebb97222280b34.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -1,12 +0,0 @@
[gd_resource type="StyleBoxTexture" load_steps=3 format=3 uid="uid://djbfd8e7imm2p"]
[sub_resource type="Gradient" id="Gradient_3rkwm"]
colors = PackedColorArray(0.709804, 0.592157, 0.67451, 1, 0.792157, 0.756863, 0.796078, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_w4na2"]
gradient = SubResource("Gradient_3rkwm")
fill_from = Vector2(2.08165e-12, 2.08165e-12)
fill_to = Vector2(2.08165e-12, 1)
[resource]
texture = SubResource("GradientTexture2D_w4na2")

View File

@ -1,8 +0,0 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://co7uo0oepmwup"]
[resource]
bg_color = Color(0.729412, 0.654902, 0.760784, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10

View File

@ -1,8 +0,0 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://qivmmxhwd2lc"]
[resource]
bg_color = Color(0.898039, 0.776471, 0.478431, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10

View File

@ -1,14 +0,0 @@
- A1 and C:
- #baa7c2
- A2 and F:
- #e5c67a
- B1 and B2:
- #3b719c
- D:
- #aec48c
- E:
- #6dc1f0

View File

@ -1,47 +0,0 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="PodBooker"
run/main_scene="res://MainStartScreen.tscn"
config/features=PackedStringArray("4.1")
run/low_processor_mode=true
boot_splash/bg_color=Color(0, 0.0431373, 0.294118, 1)
boot_splash/show_image=false
config/icon="res://assets/logo.png"
config/macos_native_icon="res://assets/logo.icns"
[display]
window/size/mode=3
window/stretch/mode="canvas_items"
window/size/fullscreen=true
[filesystem]
import/blender/enabled=false
import/fbx/enabled=false
[gui]
common/drop_mouse_on_gui_input_disabled=true
[physics]
common/enable_pause_aware_picking=true
[rendering]
renderer/rendering_method="gl_compatibility"
environment/defaults/default_environment="res://default_env.tres"
quality/driver/driver_name="GLES2"
2d/snapping/use_gpu_pixel_snap=true
vram_compression/import_etc=true

View File

@ -1,102 +0,0 @@
extends Node
@onready var important_vars = $"/root/MainStartScreen/impvars"
var time = Time.get_datetime_dict_from_system()
var dayofweek = time["weekday"]
var day_number = time["day"]
var month_number = time["month"]
var year_number = time["year"]
var dayofweek_word
var month_word
var clock = Time.get_time_dict_from_system()
var refresh_timer = 0
var waiting_timer = 10000
signal timer_beat
# Called when the node enters the scene tree for the first time.
func _ready():
# warning-ignore:return_value_discarded
connect("timer_beat",Callable(self,"on_timer_beat"))
# Give the day a unique number
important_vars.day_uid = str(day_number) + str(month_number) + str(year_number)
important_vars.day_uid2 = str(day_number) + str(month_number) + str(year_number)
# A really long-winded way to convert an array. There is a better way to map it. Will update
# once I know.
if dayofweek == 0:
dayofweek_word = "Sunday"
if dayofweek == 1:
dayofweek_word = "Monday"
if dayofweek == 2:
dayofweek_word = "Tuesday"
if dayofweek == 3:
dayofweek_word = "Wednesday"
if dayofweek == 4:
dayofweek_word = "Thursday"
if dayofweek == 5:
dayofweek_word = "Friday"
if dayofweek == 6:
dayofweek_word = "Saturday"
if month_number == 1:
month_word = "January"
if month_number == 2:
month_word = "February"
if month_number == 3:
month_word = "March"
if month_number == 4:
month_word = "April"
if month_number == 5:
month_word = "May"
if month_number == 6:
month_word = "June"
if month_number == 7:
month_word = "July"
if month_number == 8:
month_word = "August"
if month_number == 9:
month_word = "September"
if month_number == 10:
month_word = "October"
if month_number == 11:
month_word = "November"
if month_number == 12:
month_word = "December"
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
refresh_timer += 1
if refresh_timer > waiting_timer:
refresh_timer = 0
emit_signal("timer_beat")
print("Beat!")
func on_timer_beat():
important_vars.day_uid2 = str(day_number) + str(month_number) + str(year_number)
print("Yup! We're changing days if we need to")
if important_vars.day_uid != important_vars.day_uid2:
get_tree().reload_current_scene()

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://dgol18pnn3d7c"
path="res://.godot/imported/AvenirLTStd-Medium.otf-1b7d83c1861d42cdde4d966a0d89de47.fontdata"
[deps]
source_file="res://AvenirLTStd-Medium.otf"
dest_files=["res://.godot/imported/AvenirLTStd-Medium.otf-1b7d83c1861d42cdde4d966a0d89de47.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 KiB

View File

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cnbw6prptb6qh"
path="res://.godot/imported/KellettDragon_Red_On_Blue.png-51426dc98c823608e52a2f67dd39df02.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://KellettDragon_Red_On_Blue.png"
dest_files=["res://.godot/imported/KellettDragon_Red_On_Blue.png-51426dc98c823608e52a2f67dd39df02.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -13,7 +13,7 @@ var dynamic_font = FontFile.new()
# Called when the node enters the scene tree for the first time. # Called when the node enters the scene tree for the first time.
func _ready() -> void: func _ready() -> void:
line_text.text = "This presentation will begin shortly" line_text.text = "This presentation will begin shortly"
dynamic_font.font_data = load("res://futura_font/FutuBk.ttf") # dynamic_font.font_data = load("res://futura_font/FutuBk.ttf")
# dynamic_font.size = 64 # dynamic_font.size = 64
center_text.set("theme_override_fonts/font", dynamic_font) center_text.set("theme_override_fonts/font", dynamic_font)

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://cxly1yijhc5ap"
path="res://.godot/imported/FUTURAB.TTF-2f0491066663946ee4eb8ffa7a681e18.fontdata"
[deps]
source_file="res://futura_font/FUTURAB.TTF"
dest_files=["res://.godot/imported/FUTURAB.TTF-2f0491066663946ee4eb8ffa7a681e18.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://b50rbpmbp31py"
path="res://.godot/imported/FUTURAN.TTF-3cc1c3934ce8942f366c3afd2aeec193.fontdata"
[deps]
source_file="res://futura_font/FUTURAN.TTF"
dest_files=["res://.godot/imported/FUTURAN.TTF-3cc1c3934ce8942f366c3afd2aeec193.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://y2c1b01why6e"
path="res://.godot/imported/FutuBk.ttf-84e3efeeeb0e204a5c81e70869cb99a5.fontdata"
[deps]
source_file="res://futura_font/FutuBk.ttf"
dest_files=["res://.godot/imported/FutuBk.ttf-84e3efeeeb0e204a5c81e70869cb99a5.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://bcfekpdy8oc3"
path="res://.godot/imported/FutuBkIt.ttf-8160c68c2df5e96691253cc34665b52b.fontdata"
[deps]
source_file="res://futura_font/FutuBkIt.ttf"
dest_files=["res://.godot/imported/FutuBkIt.ttf-8160c68c2df5e96691253cc34665b52b.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://c8dyj42iyauiv"
path="res://.godot/imported/FutuMdIt.ttf-414aa792aef49d65d86b5e6230bad3ed.fontdata"
[deps]
source_file="res://futura_font/FutuMdIt.ttf"
dest_files=["res://.godot/imported/FutuMdIt.ttf-414aa792aef49d65d86b5e6230bad3ed.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://dbr1xnimkg48c"
path="res://.godot/imported/FuturaBoldBT.ttf-55d53e37e9e9a4b6aedd8ea2a9e48d89.fontdata"
[deps]
source_file="res://futura_font/FuturaBoldBT.ttf"
dest_files=["res://.godot/imported/FuturaBoldBT.ttf-55d53e37e9e9a4b6aedd8ea2a9e48d89.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://3i7xalsvvv7j"
path="res://.godot/imported/FuturaBoldItalicBT.ttf-a1071065eda3442a6eaa12fc3aae1f3c.fontdata"
[deps]
source_file="res://futura_font/FuturaBoldItalicBT.ttf"
dest_files=["res://.godot/imported/FuturaBoldItalicBT.ttf-a1071065eda3442a6eaa12fc3aae1f3c.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://j6vhijt16jgm"
path="res://.godot/imported/FuturaBookBT.ttf-0536979540c878760b958c0cb17f2863.fontdata"
[deps]
source_file="res://futura_font/FuturaBookBT.ttf"
dest_files=["res://.godot/imported/FuturaBookBT.ttf-0536979540c878760b958c0cb17f2863.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://dn7o0k2fjxnmr"
path="res://.godot/imported/FuturaBookItalicBT.ttf-bebd248ac52754af7a6056dcd2f43e6d.fontdata"
[deps]
source_file="res://futura_font/FuturaBookItalicBT.ttf"
dest_files=["res://.godot/imported/FuturaBookItalicBT.ttf-bebd248ac52754af7a6056dcd2f43e6d.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,33 +0,0 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://bnev27po303np"
path="res://.godot/imported/Futura_20Medium_20BT.ttf-1120a44815aa40622df6d09ef7731dc6.fontdata"
[deps]
source_file="res://futura_font/Futura_20Medium_20BT.ttf"
dest_files=["res://.godot/imported/Futura_20Medium_20BT.ttf-1120a44815aa40622df6d09ef7731dc6.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View File

@ -1,89 +0,0 @@
[gd_resource type="Theme" load_steps=5 format=3 uid="uid://xg5fa2cs6b84"]
[ext_resource type="FontFile" uid="uid://dgol18pnn3d7c" path="res://AvenirLTStd-Medium.otf" id="1"]
[sub_resource type="FontFile" id="1"]
fallbacks = Array[Font]([ExtResource("1")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
[sub_resource type="FontFile" id="3"]
fallbacks = Array[Font]([ExtResource("1")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
[sub_resource type="FontFile" id="2"]
fallbacks = Array[Font]([ExtResource("1")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
[resource]
Button/colors/font_color = Color(0.88, 0.88, 0.88, 1)
Button/colors/font_color_disabled = Color(0.9, 0.9, 0.9, 0.2)
Button/colors/font_color_focus = Color(0.94, 0.94, 0.94, 1)
Button/colors/font_color_hover = Color(0.94, 0.94, 0.94, 1)
Button/colors/font_color_pressed = Color(1, 1, 1, 1)
Button/constants/hseparation = 2
Button/fonts/font = SubResource("1")
Button/styles/disabled = null
Button/styles/focus = null
Button/styles/hover = null
Button/styles/normal = null
Button/styles/pressed = null
CheckBox/colors/font_color = Color(0.88, 0.88, 0.88, 1)
CheckBox/colors/font_color_disabled = Color(0.9, 0.9, 0.9, 0.2)
CheckBox/colors/font_color_focus = Color(0.94, 0.94, 0.94, 1)
CheckBox/colors/font_color_hover = Color(0.94, 0.94, 0.94, 1)
CheckBox/colors/font_color_hover_pressed = Color(1, 1, 1, 1)
CheckBox/colors/font_color_pressed = Color(1, 1, 1, 1)
CheckBox/constants/check_vadjust = 0
CheckBox/constants/hseparation = 4
CheckBox/fonts/font = SubResource("3")
CheckBox/icons/checked = null
CheckBox/icons/checked_disabled = null
CheckBox/icons/radio_checked = null
CheckBox/icons/radio_checked_disabled = null
CheckBox/icons/radio_unchecked = null
CheckBox/icons/radio_unchecked_disabled = null
CheckBox/icons/unchecked = null
CheckBox/icons/unchecked_disabled = null
CheckBox/styles/disabled = null
CheckBox/styles/focus = null
CheckBox/styles/hover = null
CheckBox/styles/hover_pressed = null
CheckBox/styles/normal = null
CheckBox/styles/pressed = null
LineEdit/colors/clear_button_color = Color(0.88, 0.88, 0.88, 1)
LineEdit/colors/clear_button_color_pressed = Color(1, 1, 1, 1)
LineEdit/colors/cursor_color = Color(0.94, 0.94, 0.94, 1)
LineEdit/colors/font_color = Color(0.88, 0.88, 0.88, 1)
LineEdit/colors/font_color_selected = Color(0, 0, 0, 1)
LineEdit/colors/font_color_uneditable = Color(0.88, 0.88, 0.88, 0.5)
LineEdit/colors/selection_color = Color(0.49, 0.49, 0.49, 1)
LineEdit/constants/minimum_spaces = 12
LineEdit/fonts/font = SubResource("2")
LineEdit/icons/clear = null
LineEdit/styles/focus = null
LineEdit/styles/normal = null
LineEdit/styles/read_only = null

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

View File

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://balnxkh0yqsnp"
path="res://.godot/imported/logo.png-cca8726399059c8d4f806e28e356b14d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://logo.png"
dest_files=["res://.godot/imported/logo.png-cca8726399059c8d4f806e28e356b14d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

File diff suppressed because one or more lines are too long

View File

@ -10,13 +10,12 @@ config_version=5
[application] [application]
config/name="Kellett Screen Starter" config/name="Presentation Starter"
config/description="This Screen Starter can be used on any computer before you are about to run a presentation and you're waiting for people to come into the room. config/description="This Screen Starter can be used on any computer before you are about to run a presentation and you're waiting for people to come into the room.
The screen effects are designed to be soothing yet provide some visual interest." The screen effects are designed to be soothing yet provide some visual interest."
run/main_scene="res://main_scene.tscn" run/main_scene="res://main_scene.tscn"
config/features=PackedStringArray("4.0") config/features=PackedStringArray("4.1")
config/icon="res://logo.png"
config/macos_native_icon="res://logo.icns" config/macos_native_icon="res://logo.icns"
[display] [display]