bunch of new options, removed other project data

This commit is contained in:
Tabby 2026-06-01 12:45:42 +10:00
parent 733a8fd6c0
commit bfee9448f5
11 changed files with 96 additions and 225 deletions

View file

@ -5,6 +5,7 @@ var taskbar_height : int = 50
@export var bar: TextureProgressBar
@export var label: Label
@export var options_window: Window
@export var background: ColorRect
#
#@export var bar_position : Position
@ -47,6 +48,9 @@ func setup_window():
position.y = 0 # set position of bar to be where it should be (moves when we change the window size)
position.x = Data.save.size
rotation_degrees = 90
background.color = Data.save.background_color
modulate = Color(1,1,1,Data.save.bar_transparency)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
@ -100,9 +104,9 @@ func _process(delta: float) -> void:
#print(current_day)
if (seconds_left <= 3600):
bar.modulate = Color.RED
bar.modulate = Data.save.warning_color
else:
bar.modulate = Color.DODGER_BLUE
bar.modulate = Data.save.bar_color
#var screen_size : Vector2i = DisplayServer.screen_get_size()
#DisplayServer.window_set_size(Vector2i(screen_size.x, 10))