mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2024-11-15 05:25:57 +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:
parent
7f0b58de70
commit
ecaa22771a
@ -68,6 +68,11 @@ ui_rotate={
|
||||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null)
|
||||
]
|
||||
}
|
||||
ui_fullscreen={
|
||||
"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,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[physics]
|
||||
|
||||
|
@ -109,10 +109,6 @@ margin_left = 216.0
|
||||
margin_top = 160.0
|
||||
margin_right = 424.0
|
||||
margin_bottom = 184.0
|
||||
focus_neighbour_left = NodePath("../Back")
|
||||
focus_neighbour_top = NodePath("../Sliders/Volume Setting/Volume Slider")
|
||||
focus_next = NodePath("../Back")
|
||||
focus_previous = NodePath("../Sliders/Volume Setting/Volume Slider")
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
@ -122,6 +118,11 @@ __meta__ = {
|
||||
margin_right = 102.0
|
||||
margin_bottom = 24.0
|
||||
rect_min_size = Vector2( 102, 0 )
|
||||
focus_neighbour_left = NodePath("../../Back")
|
||||
focus_neighbour_top = NodePath("../../Sliders/Volume Setting/Volume Slider")
|
||||
focus_neighbour_right = NodePath("../Dark")
|
||||
focus_next = NodePath("../Dark")
|
||||
focus_previous = NodePath("../../Sliders/Volume Setting/Volume Slider")
|
||||
text = "Light Mode"
|
||||
|
||||
[node name="Dark" type="Button" parent="Buttons"]
|
||||
@ -129,6 +130,10 @@ margin_left = 106.0
|
||||
margin_right = 208.0
|
||||
margin_bottom = 24.0
|
||||
rect_min_size = Vector2( 102, 0 )
|
||||
focus_neighbour_left = NodePath("../Light")
|
||||
focus_neighbour_top = NodePath("../../Sliders/Volume Setting/Volume Slider")
|
||||
focus_next = NodePath("../../Back")
|
||||
focus_previous = NodePath("../Light")
|
||||
text = "Dark Mode"
|
||||
|
||||
[node name="Back" type="Button" parent="."]
|
||||
@ -136,6 +141,10 @@ margin_left = 16.0
|
||||
margin_top = 16.0
|
||||
margin_right = 28.0
|
||||
margin_bottom = 36.0
|
||||
focus_neighbour_left = NodePath("../Sliders/SFX Setting/SFX Slider")
|
||||
focus_neighbour_top = NodePath(".")
|
||||
focus_neighbour_right = NodePath(".")
|
||||
focus_neighbour_bottom = NodePath("../Buttons/Light")
|
||||
text = "Back"
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user