updates
This commit is contained in:
parent
276d43613d
commit
4298caf5cb
552 changed files with 42990 additions and 776 deletions
125
addons/GD-Sync/UI/ConfigMenu/ConfigMenu.gd
Normal file
125
addons/GD-Sync/UI/ConfigMenu/ConfigMenu.gd
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
@tool
|
||||
extends Control
|
||||
|
||||
#Copyright (c) 2023-present GD-Sync.
|
||||
#All rights reserved.
|
||||
#
|
||||
#Redistribution and use in source form, with or without modification,
|
||||
#are permitted provided that the following conditions are met:
|
||||
#
|
||||
#1. Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the following disclaimer.
|
||||
#
|
||||
#2. Neither the name of GD-Sync nor the names of its contributors may be used
|
||||
# to endorse or promote products derived from this software without specific
|
||||
# prior written permission.
|
||||
#
|
||||
#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
#EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
#OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
#SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
#TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
#BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
#CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
#ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
#SUCH DAMAGE.
|
||||
|
||||
const KeyStore = preload("res://addons/GD-Sync/Scripts/KeyStore.gd")
|
||||
|
||||
var plugin
|
||||
|
||||
var menu_open : bool = false
|
||||
|
||||
var updater : Updater
|
||||
|
||||
func _ready():
|
||||
if plugin == null: return
|
||||
|
||||
var keys : Dictionary = KeyStore.load_keys()
|
||||
%PublicKey.text = keys["PublicKey"]
|
||||
%PrivateKey.text = keys["PrivateKey"]
|
||||
|
||||
if ProjectSettings.has_setting("GD-Sync/protectedMode"):
|
||||
%Protected.button_pressed = ProjectSettings.get_setting("GD-Sync/protectedMode")
|
||||
if ProjectSettings.has_setting("GD-Sync/csharp"):
|
||||
%CSharpSupport.button_pressed = ProjectSettings.get_setting("GD-Sync/csharp")
|
||||
if ProjectSettings.has_setting("GD-Sync/uniqueUsername"):
|
||||
%UniqueUsernames.button_pressed = ProjectSettings.get_setting("GD-Sync/uniqueUsername")
|
||||
if ProjectSettings.has_setting("GD-Sync/scriptValidation"):
|
||||
%ScriptValidation.button_pressed = ProjectSettings.get_setting("GD-Sync/scriptValidation")
|
||||
|
||||
updater = Updater.new()
|
||||
updater.update_label = %UpdateLabel
|
||||
add_child(updater)
|
||||
|
||||
func update_ready() -> void:
|
||||
%DefaultPannel.visible = false
|
||||
%UpdatePanel.visible = true
|
||||
|
||||
func _input(event):
|
||||
if !menu_open: return
|
||||
if event is InputEventKey:
|
||||
if event.is_pressed() and event.keycode == KEY_ESCAPE:
|
||||
close()
|
||||
|
||||
func open():
|
||||
menu_open = true
|
||||
$AnimationPlayer.play("Open")
|
||||
|
||||
var scale : float = size.y/1080.0
|
||||
$CenterContainer/LogoAnchor/Logo.scale = Vector2.ONE*scale
|
||||
$CenterContainer/UIAnchor/UI.scale = Vector2.ONE*scale
|
||||
|
||||
func close():
|
||||
menu_open = false
|
||||
$AnimationPlayer.play_backwards("Open")
|
||||
|
||||
func _on_PublicKey_text_changed(new_text):
|
||||
KeyStore.ensure_gitignore()
|
||||
KeyStore.save_keys(new_text, %PrivateKey.text)
|
||||
|
||||
func _on_PrivateKey_text_changed(new_text):
|
||||
KeyStore.ensure_gitignore()
|
||||
KeyStore.save_keys(%PublicKey.text, new_text)
|
||||
|
||||
func _on_c_sharp_support_toggled(button_pressed):
|
||||
ProjectSettings.set_setting("GD-Sync/csharp", button_pressed)
|
||||
ProjectSettings.save()
|
||||
|
||||
if button_pressed:
|
||||
plugin.enable_csharp_api()
|
||||
else:
|
||||
plugin.disable_csharp_api()
|
||||
|
||||
func _on_protected_toggled(button_pressed):
|
||||
ProjectSettings.set_setting("GD-Sync/protectedMode", button_pressed)
|
||||
ProjectSettings.save()
|
||||
|
||||
func _on_unique_usernames_toggled(button_pressed):
|
||||
ProjectSettings.set_setting("GD-Sync/uniqueUsername", button_pressed)
|
||||
ProjectSettings.save()
|
||||
|
||||
func _on_script_validation_toggled(button_pressed) -> void:
|
||||
ProjectSettings.set_setting("GD-Sync/scriptValidation", button_pressed)
|
||||
ProjectSettings.save()
|
||||
|
||||
func _on_description_meta_clicked(meta):
|
||||
if meta == "log":
|
||||
meta = OS.get_user_data_dir()+"/GD-Sync/logs"
|
||||
OS.shell_open(meta)
|
||||
|
||||
func _on_update_button_pressed() -> void:
|
||||
%LoadIcon.play()
|
||||
$AnimationPlayer.play("Downloading")
|
||||
|
||||
var result : bool = await updater.update_repo()
|
||||
|
||||
%DefaultPannel.visible = true
|
||||
%UpdatePanel.visible = false
|
||||
$AnimationPlayer.play_backwards("Downloading")
|
||||
|
||||
if result:
|
||||
plugin.show_message("[color=#61ff71][b]The newest version of GD-Sync has been installed. Please restart the engine to complete the update.[/b][/color]", 10.0)
|
||||
else:
|
||||
plugin.show_message("[color=indianred][b]GD-Sync failed to update. Please try downloading it from the Godot Asset Library instead.[/b][/color]")
|
||||
1
addons/GD-Sync/UI/ConfigMenu/ConfigMenu.gd.uid
Normal file
1
addons/GD-Sync/UI/ConfigMenu/ConfigMenu.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://ctbm12j05lk6h
|
||||
916
addons/GD-Sync/UI/ConfigMenu/ConfigMenu.tscn
Normal file
916
addons/GD-Sync/UI/ConfigMenu/ConfigMenu.tscn
Normal file
|
|
@ -0,0 +1,916 @@
|
|||
[gd_scene format=3 uid="uid://1ho7vq1qum7y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ctbm12j05lk6h" path="res://addons/GD-Sync/UI/ConfigMenu/ConfigMenu.gd" id="1"]
|
||||
[ext_resource type="Theme" uid="uid://5whm1igkt23h" path="res://addons/GD-Sync/UI/ConfigMenu/GD-Theme.tres" id="2_wd24h"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2pl6xyfyub5k" path="res://addons/GD-Sync/UI/ConfigMenu/GDSLogo.png" id="3_eccmp"]
|
||||
[ext_resource type="Texture2D" uid="uid://o7408i2pu2eb" path="res://addons/GD-Sync/UI/Icons/LoadIcon.png" id="3_k7k3v"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_p5x7e"]
|
||||
resource_name = "Downloading"
|
||||
length = 1.8
|
||||
step = 0.1
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:position:y")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(-350, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0, 1)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:scale:x")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(0.5, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0, 1)
|
||||
}
|
||||
tracks/2/type = "bezier"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:scale:y")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(0.5, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0, 1)
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("CenterContainer/UIAnchor:modulate")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0.0333333, 0.366667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("CenterContainer/LogoAnchor/Logo/LoadIcon:modulate")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 1.76667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("CenterContainer/LogoAnchor/Logo/UpdateLabel:modulate")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 1.8),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_x05bw"]
|
||||
resource_name = "Open"
|
||||
length = 1.8
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Background:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.1, 0.3),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 0.78431374)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("CenterContainer/LogoAnchor:modulate")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0.2, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
tracks/3/type = "bezier"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:position:y")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, -350, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(1, 1.5)
|
||||
}
|
||||
tracks/4/type = "bezier"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:scale:x")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 0.5, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(1, 1.5)
|
||||
}
|
||||
tracks/5/type = "bezier"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:scale:y")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 0.5, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(1, 1.5)
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("CenterContainer/UIAnchor:modulate")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(1.3, 1.8),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_qx43o"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Background:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("CenterContainer/LogoAnchor:modulate")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/3/type = "bezier"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:position:y")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/4/type = "bezier"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:scale:x")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/5/type = "bezier"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("CenterContainer/LogoAnchor/Logo/Logo:scale:y")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("CenterContainer/UIAnchor:modulate")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("CenterContainer/LogoAnchor/Logo/LoadIcon:modulate")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/8/type = "value"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath("CenterContainer/LogoAnchor/Logo/UpdateLabel:modulate")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_d74rd"]
|
||||
_data = {
|
||||
&"Downloading": SubResource("Animation_p5x7e"),
|
||||
&"Open": SubResource("Animation_x05bw"),
|
||||
&"RESET": SubResource("Animation_qx43o")
|
||||
}
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gw5my"]
|
||||
bg_color = Color(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7n4q8"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 0, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cpyqf"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 0, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xrhuh"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 0, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yg1kq"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 0, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_q6pvr"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 0, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dr3eh"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 166, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_l308m"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 166, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bo1b1"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 166, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qnxdd"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 166, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1m25y"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 166, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3ir2b"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 332, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_psoh2"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 332, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_f7j2m"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 332, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ucpbx"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 332, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nbmvf"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 332, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_38ar6"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 498, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h5tbl"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 498, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ijnjl"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 498, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_u7mul"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 498, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vpehh"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 498, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4max4"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 664, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ud1gk"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 664, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1qysi"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 664, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1ygi4"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 664, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qtqjo"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 664, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bcmcd"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 830, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ukgla"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 830, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5m3dn"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 830, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pgi17"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 830, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o14da"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 830, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wnnec"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 996, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wm8ux"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 996, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fa2em"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 996, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2dq2p"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 996, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_p0gcl"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 996, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hd6io"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(0, 1162, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hrq83"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(166, 1162, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gvthg"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(332, 1162, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wkeq8"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(498, 1162, 166, 166)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_oxpxj"]
|
||||
atlas = ExtResource("3_k7k3v")
|
||||
region = Rect2(664, 1162, 166, 166)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_m25b5"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7n4q8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_cpyqf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_xrhuh")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yg1kq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_q6pvr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_dr3eh")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_l308m")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bo1b1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qnxdd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1m25y")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3ir2b")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_psoh2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_f7j2m")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ucpbx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nbmvf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_38ar6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_h5tbl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ijnjl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_u7mul")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vpehh")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_4max4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ud1gk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1qysi")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1ygi4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qtqjo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bcmcd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ukgla")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5m3dn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pgi17")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o14da")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wnnec")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wm8ux")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fa2em")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2dq2p")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_p0gcl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hd6io")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hrq83")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gvthg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wkeq8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_oxpxj")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 25.0
|
||||
}]
|
||||
|
||||
[node name="ConfigMenu" type="Control" unique_id=1575433482]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1828917672]
|
||||
libraries/ = SubResource("AnimationLibrary_d74rd")
|
||||
speed_scale = 2.0
|
||||
|
||||
[node name="Background" type="PanelContainer" parent="." unique_id=981966733]
|
||||
modulate = Color(0, 0, 0, 0)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_gw5my")
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=776130872]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="LogoAnchor" type="Control" parent="CenterContainer" unique_id=802190337]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Logo" type="Control" parent="CenterContainer/LogoAnchor" unique_id=169430659]
|
||||
anchors_preset = 0
|
||||
theme = ExtResource("2_wd24h")
|
||||
|
||||
[node name="Logo" type="Sprite2D" parent="CenterContainer/LogoAnchor/Logo" unique_id=1768483165]
|
||||
unique_name_in_owner = true
|
||||
texture = ExtResource("3_eccmp")
|
||||
|
||||
[node name="LoadIcon" type="AnimatedSprite2D" parent="CenterContainer/LogoAnchor/Logo" unique_id=981153261]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
position = Vector2(0, 172.975)
|
||||
scale = Vector2(0.5, 0.5)
|
||||
sprite_frames = SubResource("SpriteFrames_m25b5")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.471284
|
||||
|
||||
[node name="UpdateLabel" type="Label" parent="CenterContainer/LogoAnchor/Logo" unique_id=1648919198]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
custom_minimum_size = Vector2(400, 30)
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = 220.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 250.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Updating gd-sync"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="UIAnchor" type="Control" parent="CenterContainer" unique_id=72271274]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="UI" type="Control" parent="CenterContainer/UIAnchor" unique_id=1371490478]
|
||||
anchors_preset = 0
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="CenterContainer/UIAnchor/UI" unique_id=2130273074]
|
||||
layout_mode = 0
|
||||
offset_left = -475.0
|
||||
offset_top = -275.0
|
||||
offset_right = 475.0
|
||||
offset_bottom = 342.0
|
||||
theme = ExtResource("2_wd24h")
|
||||
|
||||
[node name="DefaultPannel" type="PanelContainer" parent="CenterContainer/UIAnchor/UI" unique_id=649474670]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = -450.0
|
||||
offset_top = -250.0
|
||||
offset_right = -50.0
|
||||
theme = ExtResource("2_wd24h")
|
||||
theme_type_variation = &"GDPanel"
|
||||
|
||||
[node name="Description" type="RichTextLabel" parent="CenterContainer/UIAnchor/UI/DefaultPannel" unique_id=644519758]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
bbcode_enabled = true
|
||||
text = "Welcome to the GD-Sync configuration menu. Here you can find basic settings and links to official resources.
|
||||
|
||||
- [url=https://www.gd-sync.com]Official Website[/url]
|
||||
- [url=https://www.gd-sync.com/documentation]Documentation[/url]
|
||||
- [url=https://www.gd-sync.com/app/api-keys-settings]API Key Generation[/url]
|
||||
|
||||
- [url=log]Log Directory[/url]"
|
||||
|
||||
[node name="UpdatePanel" type="PanelContainer" parent="CenterContainer/UIAnchor/UI" unique_id=162433719]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = -450.0
|
||||
offset_top = -250.0
|
||||
offset_right = -50.0
|
||||
theme = ExtResource("2_wd24h")
|
||||
theme_type_variation = &"GDPanel"
|
||||
|
||||
[node name="Description" type="RichTextLabel" parent="CenterContainer/UIAnchor/UI/UpdatePanel" unique_id=1740086594]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
bbcode_enabled = true
|
||||
text = "A new update for GD-Sync is available. Press the button below to automatically update to the newest version.
|
||||
|
||||
- [url=https://www.gd-sync.com]Official Website[/url]
|
||||
- [url=https://www.gd-sync.com/documentation]Documentation[/url]
|
||||
- [url=https://www.gd-sync.com/app/api-keys-settings]API Key Generation[/url]"
|
||||
|
||||
[node name="ButtonContainer" type="PanelContainer" parent="CenterContainer/UIAnchor/UI/UpdatePanel" unique_id=965317605]
|
||||
clip_children = 1
|
||||
clip_contents = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
focus_mode = 2
|
||||
theme_type_variation = &"EmptyPanel"
|
||||
|
||||
[node name="UpdateButton" type="Button" parent="CenterContainer/UIAnchor/UI/UpdatePanel/ButtonContainer" unique_id=1679435974]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
theme_type_variation = &"UpdateButton"
|
||||
text = "Update"
|
||||
|
||||
[node name="Panel2" type="PanelContainer" parent="CenterContainer/UIAnchor/UI" unique_id=221407985]
|
||||
layout_mode = 0
|
||||
offset_left = -450.0
|
||||
offset_top = 25.0
|
||||
offset_right = -50.0
|
||||
offset_bottom = 250.0
|
||||
theme = ExtResource("2_wd24h")
|
||||
theme_type_variation = &"GDPanel"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/UIAnchor/UI/Panel2" unique_id=196865433]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/UIAnchor/UI/Panel2/VBoxContainer" unique_id=437873018]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "Please fill in an API Key so the engine may connect to the GD-Sync network."
|
||||
fit_content = true
|
||||
|
||||
[node name="PublicLabel" type="Label" parent="CenterContainer/UIAnchor/UI/Panel2/VBoxContainer" unique_id=44499523]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "Public Key"
|
||||
|
||||
[node name="PublicKey" type="LineEdit" parent="CenterContainer/UIAnchor/UI/Panel2/VBoxContainer" unique_id=372373993]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
caret_blink = true
|
||||
|
||||
[node name="PrivateLabel" type="Label" parent="CenterContainer/UIAnchor/UI/Panel2/VBoxContainer" unique_id=206925556]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "Private Key"
|
||||
|
||||
[node name="PrivateKey" type="LineEdit" parent="CenterContainer/UIAnchor/UI/Panel2/VBoxContainer" unique_id=1449264830]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
caret_blink = true
|
||||
|
||||
[node name="Settings" type="PanelContainer" parent="CenterContainer/UIAnchor/UI" unique_id=1034112752]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = -250.0
|
||||
offset_right = 450.0
|
||||
offset_bottom = 250.0
|
||||
theme = ExtResource("2_wd24h")
|
||||
theme_type_variation = &"GDPanel"
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="CenterContainer/UIAnchor/UI/Settings" unique_id=453237216]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer" unique_id=1339546343]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="ProtectionMode2" type="VBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer" unique_id=596699874]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode2" unique_id=1142965809]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CSharpSupport" type="CheckButton" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode2/HBoxContainer" unique_id=1143148508]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode2/HBoxContainer" unique_id=2048167211]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "C# Support"
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode2" unique_id=2131636992]
|
||||
custom_minimum_size = Vector2(0, 125)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
bbcode_enabled = true
|
||||
text = "If enabled, the C# API of the GD-Sync plugin will be installed and enabled.
|
||||
|
||||
After enabling you need to restart and build your project."
|
||||
fit_content = true
|
||||
|
||||
[node name="Spacing1" type="Control" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer" unique_id=1495858133]
|
||||
custom_minimum_size = Vector2(0, 35)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ProtectionMode" type="VBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer" unique_id=951164412]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode" unique_id=2007314682]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Protected" type="CheckButton" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode/HBoxContainer" unique_id=1544686272]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
button_pressed = true
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode/HBoxContainer" unique_id=935600713]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "Protected Mode"
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode" unique_id=471701220]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
bbcode_enabled = true
|
||||
text = "Blocks remote calls on Nodes. Use [color=#408eab]GDSync.expose_func()[/color] and [color=#408eab]GDSync.expose_var()[/color] to allow the plugin to access Nodes remotely.
|
||||
|
||||
[color=indianred]WARNING: Disabling this will allow other clients to call any function on any Node. Use at your own risk and only during testing."
|
||||
fit_content = true
|
||||
|
||||
[node name="Spacing2" type="Control" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer" unique_id=1664573910]
|
||||
custom_minimum_size = Vector2(0, 35)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="UniqueUsernames" type="VBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer" unique_id=779527313]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/UniqueUsernames" unique_id=860810844]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="UniqueUsernames" type="CheckButton" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/UniqueUsernames/HBoxContainer" unique_id=1468164783]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/UniqueUsernames/HBoxContainer" unique_id=73397071]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "Unique Usernames"
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/UniqueUsernames" unique_id=134873602]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
bbcode_enabled = true
|
||||
text = "Tells the server whether it should allow duplicate usernames when joining a lobby. If enabled, a username can only appear once inside a lobby.
|
||||
|
||||
Usernames can be set using [color=#408eab]GDSync.player_set_username()[/color]."
|
||||
fit_content = true
|
||||
|
||||
[node name="Spacing3" type="Control" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer" unique_id=688157772]
|
||||
custom_minimum_size = Vector2(0, 35)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ScriptValidation" type="VBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer" unique_id=1790531497]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ScriptValidation" unique_id=1585099442]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ScriptValidation" type="CheckButton" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ScriptValidation/HBoxContainer" unique_id=1439107572]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
button_pressed = true
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ScriptValidation/HBoxContainer" unique_id=1198682568]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "Script Validation"
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ScriptValidation" unique_id=2054963013]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
bbcode_enabled = true
|
||||
text = "Script validation scans the script you are currently working on to detect possible mistakes and errors. If the plugin detects incorrect function usage or unexposed remote calls, a warning will be displayed in the Godot editor. This helps you catch common issues early, reducing debugging time and preventing runtime errors."
|
||||
fit_content = true
|
||||
|
||||
[node name="ButtonContainer" type="PanelContainer" parent="CenterContainer/UIAnchor/UI" unique_id=1736452814]
|
||||
clip_children = 1
|
||||
clip_contents = true
|
||||
layout_mode = 0
|
||||
offset_left = -135.0
|
||||
offset_top = 280.0
|
||||
offset_right = 115.0
|
||||
offset_bottom = 320.0
|
||||
focus_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
theme_type_variation = &"EmptyPanel"
|
||||
|
||||
[node name="Close" type="Button" parent="CenterContainer/UIAnchor/UI/ButtonContainer" unique_id=1256304310]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wd24h")
|
||||
text = "Close"
|
||||
|
||||
[connection signal="meta_clicked" from="CenterContainer/UIAnchor/UI/DefaultPannel/Description" to="." method="_on_description_meta_clicked"]
|
||||
[connection signal="meta_clicked" from="CenterContainer/UIAnchor/UI/UpdatePanel/Description" to="." method="_on_description_meta_clicked"]
|
||||
[connection signal="pressed" from="CenterContainer/UIAnchor/UI/UpdatePanel/ButtonContainer/UpdateButton" to="." method="_on_update_button_pressed"]
|
||||
[connection signal="text_changed" from="CenterContainer/UIAnchor/UI/Panel2/VBoxContainer/PublicKey" to="." method="_on_PublicKey_text_changed"]
|
||||
[connection signal="text_changed" from="CenterContainer/UIAnchor/UI/Panel2/VBoxContainer/PrivateKey" to="." method="_on_PrivateKey_text_changed"]
|
||||
[connection signal="toggled" from="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode2/HBoxContainer/CSharpSupport" to="." method="_on_c_sharp_support_toggled"]
|
||||
[connection signal="toggled" from="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ProtectionMode/HBoxContainer/Protected" to="." method="_on_protected_toggled"]
|
||||
[connection signal="toggled" from="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/UniqueUsernames/HBoxContainer/UniqueUsernames" to="." method="_on_unique_usernames_toggled"]
|
||||
[connection signal="toggled" from="CenterContainer/UIAnchor/UI/Settings/ScrollContainer/VBoxContainer/ScriptValidation/HBoxContainer/ScriptValidation" to="." method="_on_script_validation_toggled"]
|
||||
[connection signal="pressed" from="CenterContainer/UIAnchor/UI/ButtonContainer/Close" to="." method="close"]
|
||||
200
addons/GD-Sync/UI/ConfigMenu/GD-Theme.tres
Normal file
200
addons/GD-Sync/UI/ConfigMenu/GD-Theme.tres
Normal file
|
|
@ -0,0 +1,200 @@
|
|||
[gd_resource type="Theme" format=3 uid="uid://5whm1igkt23h"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://bnjmhin4fqi2u" path="res://addons/GD-Sync/UI/Fonts/Outfit-Regular.ttf" id="1_15q4e"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0vk81"]
|
||||
bg_color = Color(0.18431373, 0.18431373, 0.18431373, 0)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.3125, 0.3125, 0.3125, 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="StyleBoxFlat_ywbrc"]
|
||||
bg_color = Color(0.2509804, 0.5568628, 0.67058825, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 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="StyleBoxFlat_g3h2g"]
|
||||
bg_color = Color(0.2509804, 0.5568628, 0.67058825, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.2509804, 0.5568628, 0.67058825, 1)
|
||||
corner_radius_top_left = 10
|
||||
corner_radius_top_right = 10
|
||||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_egfui"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ltv7d"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_nr1xf"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ywlyk"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4x111"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ggeya"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d26q0"]
|
||||
bg_color = Color(1, 1, 1, 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="StyleBoxFlat_3a5b6"]
|
||||
content_margin_left = 15.0
|
||||
content_margin_top = 15.0
|
||||
content_margin_right = 15.0
|
||||
content_margin_bottom = 15.0
|
||||
bg_color = Color(0.08235294, 0.08235294, 0.08235294, 1)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rqrgd"]
|
||||
content_margin_left = 15.0
|
||||
content_margin_top = 8.0
|
||||
content_margin_right = 15.0
|
||||
content_margin_bottom = 8.0
|
||||
bg_color = Color(0.18028846, 0.18028846, 0.1875, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.25098, 0.556863, 0.670588, 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="StyleBoxFlat_w5agy"]
|
||||
content_margin_left = 15.0
|
||||
content_margin_top = 8.0
|
||||
content_margin_right = 15.0
|
||||
content_margin_bottom = 8.0
|
||||
bg_color = Color(0.13719513, 0.13719513, 0.140625, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.25098, 0.556863, 0.670588, 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="StyleBoxFlat_15q4e"]
|
||||
content_margin_left = 15.0
|
||||
content_margin_top = 15.0
|
||||
content_margin_right = 15.0
|
||||
content_margin_bottom = 15.0
|
||||
bg_color = Color(0.10980392, 0.10980392, 0.11372549, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.25098, 0.556863, 0.670588, 1)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7410l"]
|
||||
content_margin_left = 15.0
|
||||
content_margin_top = 15.0
|
||||
content_margin_right = 15.0
|
||||
content_margin_bottom = 15.0
|
||||
bg_color = Color(0.10980392, 0.10980392, 0.11372549, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.25098, 0.556863, 0.670588, 1)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_eb10s"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_tcim6"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_d26q0"]
|
||||
offsets = PackedFloat32Array(0.0016835016, 0.99579126)
|
||||
colors = PackedColorArray(0.16470589, 0.5254902, 0.21176471, 1, 0.3372549, 0.7882353, 0.27058825, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ywbrc"]
|
||||
gradient = SubResource("Gradient_d26q0")
|
||||
fill_from = Vector2(0, 1)
|
||||
fill_to = Vector2(0, 0)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_0vk81"]
|
||||
content_margin_top = 5.0
|
||||
content_margin_bottom = 5.0
|
||||
texture = SubResource("GradientTexture2D_ywbrc")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_oeli6"]
|
||||
offsets = PackedFloat32Array(0.0016835016, 0.99579126)
|
||||
colors = PackedColorArray(0.20796129, 0.6584021, 0.26671442, 1, 0.39228585, 0.9027938, 0.31681958, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_jlle7"]
|
||||
gradient = SubResource("Gradient_oeli6")
|
||||
fill_from = Vector2(0, 1)
|
||||
fill_to = Vector2(0, 0)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sr822"]
|
||||
content_margin_top = 5.0
|
||||
content_margin_bottom = 5.0
|
||||
texture = SubResource("GradientTexture2D_jlle7")
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource("1_15q4e")
|
||||
default_font_size = 16
|
||||
Button/colors/font_color = Color(0.87723213, 0.87723213, 0.87723213, 1)
|
||||
Button/colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
Button/colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
Button/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
Button/styles/disabled = SubResource("StyleBoxFlat_0vk81")
|
||||
Button/styles/hover = SubResource("StyleBoxFlat_ywbrc")
|
||||
Button/styles/normal = SubResource("StyleBoxFlat_g3h2g")
|
||||
Button/styles/pressed = SubResource("StyleBoxFlat_g3h2g")
|
||||
CheckButton/styles/disabled = SubResource("StyleBoxEmpty_egfui")
|
||||
CheckButton/styles/focus = SubResource("StyleBoxEmpty_ltv7d")
|
||||
CheckButton/styles/hover = SubResource("StyleBoxEmpty_nr1xf")
|
||||
CheckButton/styles/hover_pressed = SubResource("StyleBoxEmpty_ywlyk")
|
||||
CheckButton/styles/normal = SubResource("StyleBoxEmpty_4x111")
|
||||
CheckButton/styles/pressed = SubResource("StyleBoxEmpty_ggeya")
|
||||
EmptyPanel/base_type = &"PanelContainer"
|
||||
EmptyPanel/styles/panel = SubResource("StyleBoxFlat_d26q0")
|
||||
GDPanel/base_type = &"PanelContainer"
|
||||
GDPanel/styles/panel = SubResource("StyleBoxFlat_3a5b6")
|
||||
Label/colors/font_color = Color(1, 1, 1, 1)
|
||||
LineEdit/colors/font_color = Color(1, 1, 1, 1)
|
||||
LineEdit/styles/focus = SubResource("StyleBoxFlat_rqrgd")
|
||||
LineEdit/styles/normal = SubResource("StyleBoxFlat_w5agy")
|
||||
MessageLabel/base_type = &"RichTextLabel"
|
||||
MessageLabel/styles/normal = SubResource("StyleBoxFlat_15q4e")
|
||||
PanelContainer/styles/panel = SubResource("StyleBoxFlat_7410l")
|
||||
RichTextLabel/styles/focus = SubResource("StyleBoxEmpty_eb10s")
|
||||
RichTextLabel/styles/normal = SubResource("StyleBoxEmpty_tcim6")
|
||||
UpdateButton/base_type = &"Button"
|
||||
UpdateButton/styles/focus = SubResource("StyleBoxTexture_0vk81")
|
||||
UpdateButton/styles/hover = SubResource("StyleBoxTexture_sr822")
|
||||
UpdateButton/styles/normal = SubResource("StyleBoxTexture_0vk81")
|
||||
UpdateButton/styles/pressed = SubResource("StyleBoxTexture_0vk81")
|
||||
BIN
addons/GD-Sync/UI/ConfigMenu/GDSLogo.png
Normal file
BIN
addons/GD-Sync/UI/ConfigMenu/GDSLogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
40
addons/GD-Sync/UI/ConfigMenu/GDSLogo.png.import
Normal file
40
addons/GD-Sync/UI/ConfigMenu/GDSLogo.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d2pl6xyfyub5k"
|
||||
path="res://.godot/imported/GDSLogo.png-f71dad2ce9e497aa8e805547e20fd4d7.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/GD-Sync/UI/ConfigMenu/GDSLogo.png"
|
||||
dest_files=["res://.godot/imported/GDSLogo.png-f71dad2ce9e497aa8e805547e20fd4d7.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue