diff --git a/project.godot b/project.godot
index 4d4c3db..e9b86d8 100644
--- a/project.godot
+++ b/project.godot
@@ -38,42 +38,42 @@ fps=false
input_right={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
-, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
]
}
input_left={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
-, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
]
}
input_up={
"deadzone": 0.49,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
-, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
-, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
]
}
input_down={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
-, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
]
}
input_debug={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":96,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":96,"unicode":0,"echo":false,"script":null)
]
}
input_enter={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
]
}
input_shift={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"unicode":0,"echo":false,"script":null)
]
}
input_shoot={
@@ -83,42 +83,48 @@ input_shoot={
}
esc={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
]
}
rotation_increase={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":69,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":69,"unicode":0,"echo":false,"script":null)
]
}
rotation_decrease={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":81,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":81,"unicode":0,"echo":false,"script":null)
]
}
line={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777351,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777351,"unicode":0,"echo":false,"script":null)
]
}
sine={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777352,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777352,"unicode":0,"echo":false,"script":null)
]
}
hyper={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777353,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777353,"unicode":0,"echo":false,"script":null)
]
}
parab={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777354,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777354,"unicode":0,"echo":false,"script":null)
]
}
fullscreen_toggle={
"deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777254,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777254,"unicode":0,"echo":false,"script":null)
+ ]
+}
+enter={
+"deadzone": 0.5,
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null)
]
}
diff --git a/source/assets/scripts/server_handlers/global.gd b/source/assets/scripts/server_handlers/global.gd
index 2f53244..5e9f7c7 100644
--- a/source/assets/scripts/server_handlers/global.gd
+++ b/source/assets/scripts/server_handlers/global.gd
@@ -62,18 +62,16 @@ func phase_update_global():
pass
-func start_game(value):
+func start_game(value) -> void:
gameStart = value
- pass
func get_current_phase():
return clientPhase
-func set_current_phase(phase):
+func set_current_phase(phase) -> void:
clientPhase = phase
- pass
func instance_node_at_location(node: Object, parent: Object, location: Vector2) -> Object:
diff --git a/source/assets/scripts/server_handlers/network_processors/network_setup.gd b/source/assets/scripts/server_handlers/network_processors/network_setup.gd
index 81b3541..685fc0d 100644
--- a/source/assets/scripts/server_handlers/network_processors/network_setup.gd
+++ b/source/assets/scripts/server_handlers/network_processors/network_setup.gd
@@ -65,6 +65,8 @@ func _process(_delta: float) -> void:
if Input.is_action_just_pressed("esc") and username.is_visible_in_tree():
username.hide()
controls.show()
+ if Input.is_action_just_pressed("enter") and username.is_visible_in_tree():
+ _on_confirm_pressed()
if get_tree().network_peer != null:
if get_tree().get_network_connected_peers().size() >= player_amount and get_tree().is_network_server():
diff --git a/source/assets/scripts/server_handlers/network_processors/singleplayer_setup.gd b/source/assets/scripts/server_handlers/network_processors/singleplayer_setup.gd
index 1a53e9e..cececfb 100644
--- a/source/assets/scripts/server_handlers/network_processors/singleplayer_setup.gd
+++ b/source/assets/scripts/server_handlers/network_processors/singleplayer_setup.gd
@@ -3,11 +3,23 @@ extends Control
var player = load("res://source/entities/player/player_node.tscn")
func _ready() -> void:
- Global.alive_players.append(self)
- Network.current_player_username = "You"
- Network.create_server()
- instance_player(get_tree().get_network_unique_id())
- rpc("switch_to_game")
+ username_text_edit.call_deferred("grab_focus")
+
+
+func _process(_delta) -> void:
+ if Input.is_action_just_pressed("esc"):
+# warning-ignore:return_value_discarded
+ get_tree().change_scene("res://source/scenes/GUI/main_menu.tscn")
+ if Input.is_action_just_pressed("enter") and username_text_edit.is_visible_in_tree():
+ _on_confirm_pressed()
+
+func _on_confirm_pressed():
+ if username_text_edit.text != "":
+ Global.alive_players.append(self)
+ Network.current_player_username = username_text_edit.text
+ Network.create_server()
+ instance_player(get_tree().get_network_unique_id())
+ rpc("switch_to_game")
func instance_player(id) -> void:
@@ -21,4 +33,3 @@ sync func switch_to_game() -> void:
if child.is_in_group("Player"):
child.update_shoot_mode(true)
get_tree().change_scene("res://source/scenes/GAME/game_tutorial.tscn")
-
diff --git a/source/assets/scripts/server_handlers/server_processors/server_browser.gd b/source/assets/scripts/server_handlers/server_processors/server_browser.gd
index 6ef85e5..df6bb45 100644
--- a/source/assets/scripts/server_handlers/server_processors/server_browser.gd
+++ b/source/assets/scripts/server_handlers/server_processors/server_browser.gd
@@ -14,8 +14,8 @@ func _process(delta):
if Input.is_action_just_pressed("esc") and popup_screen.is_visible_in_tree():
popup_screen.hide()
$controls.show()
- elif Input.is_action_just_pressed("esc") and not popup_screen.is_visible_in_tree():\
- get_tree().change_scene("res://source/scenes/GUI/network_setup.tscn")
+ elif Input.is_action_just_pressed("esc") and not popup_screen.is_visible_in_tree():
+ _on_return_pressed()
func _on_server_listener_new_server(serverInfo):
diff --git a/source/assets/scripts/shooting/Parabola/Parabolic_Barrel.gd b/source/assets/scripts/shooting/Parabola/Parabolic_Barrel.gd
index d57c432..e3a364b 100644
--- a/source/assets/scripts/shooting/Parabola/Parabolic_Barrel.gd
+++ b/source/assets/scripts/shooting/Parabola/Parabolic_Barrel.gd
@@ -17,20 +17,20 @@ func _ready():
rot = Global.get("player").get_node('weaponHolder/Player-character-theme-gun').rotation
-func trajectory():
+func trajectory(delta):
while dot_position.x < 1000:
if pos.x > 0:
add_point(dot_position)
velocity.y = time*(a_parameter * time + b_parameter)
velocity.x = 5
- dot_position += velocity * speed_parab * 0.06944
- time += 0.06944
+ dot_position += velocity * speed_parab * delta
+ time += delta
if pos.x < 0:
add_point(dot_position)
velocity.y = -time*(a_parameter * time + b_parameter)
velocity.x = 5
- dot_position += velocity * speed_parab * 0.06944
- time += 0.06944
+ dot_position += velocity * speed_parab * delta
+ time += delta
func is_flipped():
@@ -44,11 +44,10 @@ func is_flipped():
if pos_diff[1].x/pos_diff[0].x < 0:
return true
-func _process(_delta):
+func _process(delta):
#if is_flipped():
#clear_points()
- print(rot)
- trajectory()
+ trajectory(delta)
update()
diff --git a/source/assets/scripts/shooting/Sine/Sine_Barrel.gd b/source/assets/scripts/shooting/Sine/Sine_Barrel.gd
index 58c7de8..e30c6ea 100644
--- a/source/assets/scripts/shooting/Sine/Sine_Barrel.gd
+++ b/source/assets/scripts/shooting/Sine/Sine_Barrel.gd
@@ -18,14 +18,14 @@ var frequency = Global.get('user_input').freq
# draw_circle(dot_position, 2, Color(225, 225, 225))
# time += 0.06944
-func trajectory():
+func trajectory(delta):
while dot_position.x < 1000:
add_point(dot_position)
velocity.y = amplitude * cos(time * frequency)
velocity.x = 5
- dot_position += velocity * speed * 0.06944
- time += 0.06944
+ dot_position += velocity * speed * delta
+ time += delta
-func _process(_delta):
- trajectory()
+func _process(delta):
+ trajectory(delta)
update()
diff --git a/source/scenes/OVERLAY/elements/Trajectory_Control.gd b/source/assets/scripts/shooting/Trajectories/Trajectory_Control.gd
similarity index 84%
rename from source/scenes/OVERLAY/elements/Trajectory_Control.gd
rename to source/assets/scripts/shooting/Trajectories/Trajectory_Control.gd
index be75fba..62d19d3 100644
--- a/source/scenes/OVERLAY/elements/Trajectory_Control.gd
+++ b/source/assets/scripts/shooting/Trajectories/Trajectory_Control.gd
@@ -3,44 +3,40 @@ extends Control
func _ready():
Global.set('control', self)
-
-func _on_line_pressed():
+func _on_line_pressed() -> void:
Global.get('user_input').get_node('line').visible = true
Global.get('user_input').get_node('parabol').visible = false
Global.get('user_input').get_node('hyperbol').visible = false
Global.get('user_input').get_node('sin').visible = false
Global.get('player').enable_trajectory_line('line')
Global.get('player').trajectory = 'line'
- pass # Replace with function body.
-func _on_parabol_pressed():
+func _on_parabol_pressed() -> void:
Global.get('user_input').get_node('parabol').visible = true
Global.get('user_input').get_node('line').visible = false
Global.get('user_input').get_node('hyperbol').visible = false
Global.get('user_input').get_node('sin').visible = false
Global.get('player').enable_trajectory_line('parab')
Global.get('player').trajectory = 'parab'
- pass # Replace with function body.
-func _on_hyperbol_pressed():
+func _on_hyperbol_pressed() -> void:
Global.get('user_input').get_node('hyperbol').visible = true
Global.get('user_input').get_node('sin').visible = false
Global.get('user_input').get_node('line').visible = false
Global.get('user_input').get_node('parabol').visible = false
Global.get('player').enable_trajectory_line('hyper')
Global.get('player').trajectory = 'hyper'
- pass # Replace with function body.
-func _on_sine_pressed():
+func _on_sine_pressed() -> void:
Global.get('user_input').get_node('sin').visible = true
Global.get('user_input').get_node('line').visible = false
Global.get('user_input').get_node('hyperbol').visible = false
Global.get('user_input').get_node('parabol').visible = false
Global.get('player').enable_trajectory_line('sine')
Global.get('player').trajectory = 'sine'
- pass # Replace with function body.
+
diff --git a/source/scenes/OVERLAY/elements/trajectories.gd b/source/assets/scripts/shooting/Trajectories/trajectories.gd
similarity index 54%
rename from source/scenes/OVERLAY/elements/trajectories.gd
rename to source/assets/scripts/shooting/Trajectories/trajectories.gd
index f8b4f42..07a00f7 100644
--- a/source/scenes/OVERLAY/elements/trajectories.gd
+++ b/source/assets/scripts/shooting/Trajectories/trajectories.gd
@@ -14,57 +14,62 @@ var amp = 5
# Called when the node enters the scene tree for the first time.
func _ready():
Global.set('user_input', self)
- pass # Replace with function body.
-
-
-func _on_LineEdit_text_entered(new_text):
- a_param_line = int(new_text)
+func _on_line_SpinBox_value_changed(value):
+ a_param_line = value
Global.get('player').enable_trajectory_line('line')
Global.get('player').trajectory = 'line'
- pass # Replace with function body.
-func _on_a_param_LineEdit_text_entered(new_text):
- a_param_parab = int(new_text)
+func _on_a_param_SpinBox_value_changed(value):
+ a_param_parab = value
Global.get('player').enable_trajectory_line('parab')
Global.get('player').trajectory = 'parab'
- pass # Replace with function body.
-func _on_b_param_LineEdit_text_entered(new_text):
- b_param_parab = int(new_text)
+func _on_b_param_SpinBox_value_changed(value):
+ b_param_parab = value
Global.get('player').enable_trajectory_line('parab')
Global.get('player').trajectory = 'parab'
- pass # Replace with function body.
-func _on_a_param_h_LineEdit_text_entered(new_text):
- a_param_hyper = int(new_text)
- Global.get('player').enable_trajectory_line('hyper')
- Global.get('player').trajectory = 'hyper'
- pass # Replace with function body.
-
-
-func _on_b_param_h_LineEdit_text_entered(new_text):
- b_param_hyper = int(new_text)
+func _on_b_param_h_SpinBox_value_changed(value):
+ b_param_hyper = value
if b_param_hyper != 0:
Global.get('player').enable_trajectory_line('hyper')
Global.get('player').trajectory = 'hyper'
- pass # Replace with function body.
-func _on_amp_text_entered(new_text):
- amp = int(new_text)
+func _on_a_param_h_SpinBox_value_changed(value):
+ a_param_hyper = value
+ Global.get('player').enable_trajectory_line('hyper')
+ Global.get('player').trajectory = 'hyper'
+
+
+func _on_amp_SpinBox_value_changed(value):
+ amp = value
Global.get('player').enable_trajectory_line('sine')
Global.get('player').trajectory = 'sine'
- pass # Replace with function body.
-func _on_freq_text_entered(new_text):
- freq = int(new_text)
+func _on_freq_SpinBox_value_changed(value):
+ freq = value
Global.get('player').enable_trajectory_line('sine')
Global.get('player').trajectory = 'sine'
- pass # Replace with function body.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/source/assets/scripts/ui_element_handlers/game_UI.gd b/source/assets/scripts/ui_element_handlers/game_UI.gd
index 40b92be..abc6bcb 100644
--- a/source/assets/scripts/ui_element_handlers/game_UI.gd
+++ b/source/assets/scripts/ui_element_handlers/game_UI.gd
@@ -3,21 +3,27 @@ extends CanvasLayer
# if 0, then singleplayer will work, if 1, then multiplayer only
var winner_amount = 1
-onready var win_timer = $winner/win_timer
-onready var winner = $winner
-onready var loser = $loser
+onready var win_timer = $win_lose_screen/win_timer
+onready var label = $win_lose_screen/Panel/Label
+onready var win_lose_screen = $win_lose_screen
+var green = Color("61d6a8")
+var red = Color("dd6673")
+
func _ready() -> void:
- winner.hide()
- loser.hide()
+ win_lose_screen.hide()
func _process(_delta: float) -> void:
if Global.alive_players.size() <= winner_amount and get_tree().has_network_peer():
if Global.alive_players[0].name == str(get_tree().get_network_unique_id()):
- winner.show()
+ label.text = "You won!"
+ label.add_color_override("font_color", green)
+ win_lose_screen.show()
else:
- loser.show()
+ label.text = "You died!"
+ label.add_color_override("font_color", red)
+ win_lose_screen.show()
if win_timer.time_left <= 0:
win_timer.start()
diff --git a/source/assets/scripts/ui_element_handlers/simple_prompt.gd b/source/assets/scripts/ui_element_handlers/simple_prompt.gd
index dc85557..1bb86d8 100644
--- a/source/assets/scripts/ui_element_handlers/simple_prompt.gd
+++ b/source/assets/scripts/ui_element_handlers/simple_prompt.gd
@@ -1,6 +1,11 @@
extends Control
+func _process(_delta) -> void:
+ if Input.is_action_just_pressed("enter"):
+ _on_ok_pressed()
+
+
func _on_ok_pressed():
get_tree().change_scene("res://source/scenes/GUI/main_menu.tscn")
diff --git a/source/assets/scripts/ui_element_handlers/winner.gd b/source/assets/scripts/ui_element_handlers/win_lose.gd
similarity index 92%
rename from source/assets/scripts/ui_element_handlers/winner.gd
rename to source/assets/scripts/ui_element_handlers/win_lose.gd
index cfdbf47..f43f185 100644
--- a/source/assets/scripts/ui_element_handlers/winner.gd
+++ b/source/assets/scripts/ui_element_handlers/win_lose.gd
@@ -1,4 +1,4 @@
-extends Label
+extends Node2D
sync func return_to_lobby():
get_tree().change_scene("res://source/scenes/GUI/network_setup.tscn")
diff --git a/source/assets/sprites/GUI/in_game/buttons/SpinBox/spinbox_up_active.svg b/source/assets/sprites/GUI/in_game/buttons/SpinBox/spinbox_up_active.svg
new file mode 100644
index 0000000..ac633e1
--- /dev/null
+++ b/source/assets/sprites/GUI/in_game/buttons/SpinBox/spinbox_up_active.svg
@@ -0,0 +1,11 @@
+
diff --git a/source/assets/sprites/GUI/in_game/buttons/SpinBox/spinbox_up_inactive.svg b/source/assets/sprites/GUI/in_game/buttons/SpinBox/spinbox_up_inactive.svg
new file mode 100644
index 0000000..eb29692
--- /dev/null
+++ b/source/assets/sprites/GUI/in_game/buttons/SpinBox/spinbox_up_inactive.svg
@@ -0,0 +1,11 @@
+
diff --git a/source/assets/sprites/GUI/in_game/buttons/SpinBox/updown.svg b/source/assets/sprites/GUI/in_game/buttons/SpinBox/updown.svg
new file mode 100644
index 0000000..c37b6cf
--- /dev/null
+++ b/source/assets/sprites/GUI/in_game/buttons/SpinBox/updown.svg
@@ -0,0 +1,111 @@
+
+
+
+
diff --git a/source/assets/sprites/GUI/logo_design/FB-GEO-GAME.svg b/source/assets/sprites/GUI/logo_design/FB-GEO-GAME.svg
new file mode 100644
index 0000000..85ea3a0
--- /dev/null
+++ b/source/assets/sprites/GUI/logo_design/FB-GEO-GAME.svg
@@ -0,0 +1,79 @@
+
+
diff --git a/source/assets/sprites/GUI/logo_design/FUNCit_game_logo_dark_transparent.svg b/source/assets/sprites/GUI/logo_design/FUNCit_game_logo_dark_transparent.svg
index 834b85e..ccb2edf 100644
--- a/source/assets/sprites/GUI/logo_design/FUNCit_game_logo_dark_transparent.svg
+++ b/source/assets/sprites/GUI/logo_design/FUNCit_game_logo_dark_transparent.svg
@@ -1,35 +1,154 @@
-