mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
Further improvements to overall system stability and other minor adjustments have been made to enhance the user exprience.
This commit is contained in:
@@ -23,9 +23,18 @@ func _ready():
|
||||
gameplay = preload("res://scenes/Gameplay.tscn")
|
||||
options = preload("res://scenes/Options.tscn")
|
||||
debug_menu = preload("res://scenes/Debug Menu.tscn")
|
||||
# go fullscreen
|
||||
OS.window_fullscreen = true
|
||||
if debug_enabled:
|
||||
add_child(debug_menu.instance())
|
||||
|
||||
# Process global keybinds
|
||||
func _input(event):
|
||||
if event.is_action_pressed("ui_fullscreen"):
|
||||
# toggle_fullscreen
|
||||
OS.window_fullscreen = !OS.window_fullscreen
|
||||
|
||||
|
||||
# Ensure the scene doesn't become empty
|
||||
func _process(_delta):
|
||||
# Make sure there's something running
|
||||
|
||||
16
godot_ship/script/game/multiplayer/Multiplayer Controller.gd
Normal file
16
godot_ship/script/game/multiplayer/Multiplayer Controller.gd
Normal file
@@ -0,0 +1,16 @@
|
||||
extends Node
|
||||
|
||||
|
||||
# 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():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
Reference in New Issue
Block a user