mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-18 12:16:33 -04:00
world scene
This commit is contained in:
parent
c6ba0bfd7d
commit
f46e46efd0
9 changed files with 77 additions and 394 deletions
|
@ -18,7 +18,7 @@ window = NodePath("Window")
|
|||
[node name="Window" type="Window" parent="."]
|
||||
disable_3d = true
|
||||
title = "Debug Log"
|
||||
position = Vector2i(560, 240)
|
||||
initial_position = 5
|
||||
size = Vector2i(800, 600)
|
||||
|
||||
[node name="Background" type="Panel" parent="Window"]
|
||||
|
@ -37,6 +37,7 @@ anchor_bottom = 1.0
|
|||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
focus_mode = 2
|
||||
theme_override_colors/selection_color = Color(0.419608, 0.231373, 0.929412, 0.588235)
|
||||
theme_override_fonts/normal_font = ExtResource("2_da5xc")
|
||||
theme_override_fonts/mono_font = ExtResource("6_vcylm")
|
||||
theme_override_fonts/italics_font = ExtResource("4_jcerd")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=28 format=3 uid="uid://5btb7nvgmfhl"]
|
||||
[gd_scene load_steps=23 format=3 uid="uid://5btb7nvgmfhl"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/menu_navigation.gd" id="1_7anvm"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/menu.gd" id="1_o6vga"]
|
||||
|
@ -8,7 +8,6 @@
|
|||
[ext_resource type="Texture2D" uid="uid://c80732g67qmvx" path="res://assets/textures/plus.svg" id="4_rdyyc"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctam0fxigbefk" path="res://scenes/components/search.tscn" id="5_li2do"]
|
||||
[ext_resource type="PackedScene" uid="uid://xagbhqfidf2" path="res://scenes/components/round_button.tscn" id="6_gxcmo"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/fullscreen_animation.gd" id="7_1hi62"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1ehc1xs5hwyn" path="res://assets/textures/minimize.svg" id="7_ab04l"]
|
||||
[ext_resource type="Resource" uid="uid://crjhix0osmtnf" path="res://resources/ui_events.res" id="8_8dnbq"]
|
||||
[ext_resource type="Texture2D" uid="uid://csjqc48oqb0kc" path="res://assets/textures/maximaze.svg" id="8_yoyw7"]
|
||||
|
@ -35,98 +34,6 @@ color = Color(0.12549, 0.133333, 0.172549, 1)
|
|||
grow_begin = 0.0
|
||||
grow_end = 0.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ydijj"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("VBoxContainer/Top:custom_minimum_size")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 101)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("VBoxContainer/Top:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_b8hjg"]
|
||||
resource_name = "fullscreen"
|
||||
length = 0.25
|
||||
step = 0.05
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("VBoxContainer/Top:custom_minimum_size")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 101), Vector2(0, 101), Vector2(0, 0)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("VBoxContainer/Top:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_yny1j"]
|
||||
resource_name = "initial"
|
||||
length = 0.25
|
||||
step = 0.05
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("VBoxContainer/Top:custom_minimum_size")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.15, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0), Vector2(0, 101), Vector2(0, 101)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("VBoxContainer/Top:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.15, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7jj8o"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_ydijj"),
|
||||
"fullscreen": SubResource("Animation_b8hjg"),
|
||||
"initial": SubResource("Animation_yny1j")
|
||||
}
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
|
@ -292,11 +199,3 @@ icon = ExtResource("13_ncruo")
|
|||
[node name="Body" type="Control" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_7jj8o")
|
||||
}
|
||||
script = ExtResource("7_1hi62")
|
||||
ui_events = ExtResource("8_8dnbq")
|
||||
gate_events = ExtResource("3_m632k")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=20 format=3 uid="uid://ca647gp63bshc"]
|
||||
[gd_scene load_steps=21 format=3 uid="uid://ca647gp63bshc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bw1cffhlt112i" path="res://assets/textures/icon-round.svg" id="1_dh3vr"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/bookmark_container.gd" id="1_g38mt"]
|
||||
|
@ -9,6 +9,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://82ca8so31njy" path="res://scenes/components/bookmark.tscn" id="3_isdis"]
|
||||
[ext_resource type="PackedScene" uid="uid://xagbhqfidf2" path="res://scenes/components/round_button.tscn" id="7_bbq84"]
|
||||
[ext_resource type="Texture2D" uid="uid://dy5lmm2egk4w1" path="res://assets/textures/help.svg" id="8_3cxe2"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/menu/help_button.gd" id="10_ant0e"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmpb2"]
|
||||
bg_color = Color(0.113725, 0.117647, 0.14902, 1)
|
||||
|
@ -178,9 +179,9 @@ size_flags_horizontal = 3
|
|||
[node name="MaxSizeContainer2" type="MarginContainer" parent="MarginContainer/ScrollContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(300, 44)
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_left = 393
|
||||
theme_override_constants/margin_top = 0
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_right = 393
|
||||
theme_override_constants/margin_bottom = 0
|
||||
script = ExtResource("2_ceb6w")
|
||||
limit = Vector2(720, -1)
|
||||
|
@ -197,9 +198,9 @@ custom_minimum_size = Vector2(180, 400)
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 2.0
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_left = 278
|
||||
theme_override_constants/margin_top = 0
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_right = 278
|
||||
theme_override_constants/margin_bottom = 0
|
||||
script = ExtResource("2_ceb6w")
|
||||
limit = Vector2(950, -1)
|
||||
|
@ -244,5 +245,6 @@ theme_override_styles/disabled = SubResource("StyleBoxFlat_2pbt7")
|
|||
theme_override_styles/hover = SubResource("StyleBoxFlat_p1ofm")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ae6qa")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_37fyt")
|
||||
disabled = true
|
||||
icon = ExtResource("8_3cxe2")
|
||||
script = ExtResource("10_ant0e")
|
||||
url = "https://forms.gle/1NmJeCQnQh7Yc1KP8"
|
||||
|
|
|
@ -76,7 +76,7 @@ size_flags_horizontal = 3
|
|||
size_flags_vertical = 3
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 0
|
||||
theme_override_constants/margin_right = 900
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 0
|
||||
script = ExtResource("1_scp2i")
|
||||
limit = Vector2(1014, -1)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=37 format=3 uid="uid://kywrsqro3d5i"]
|
||||
[gd_scene load_steps=27 format=3 uid="uid://kywrsqro3d5i"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/loading/gate_loader.gd" id="1_uxhy6"]
|
||||
[ext_resource type="Resource" uid="uid://b1xvdym0qh6td" path="res://resources/gate_events.res" id="2_q7cvi"]
|
||||
|
@ -18,16 +18,8 @@
|
|||
[ext_resource type="Script" path="res://scripts/sandbox/process_checker.gd" id="11_72cjp"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/world/world_ui.gd" id="12_jdwjt"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/world/splash_screen.gd" id="13_3b6nd"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/world/gate_info.gd" id="14_8hca5"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/world/loading_status.gd" id="14_jjuux"]
|
||||
[ext_resource type="FontFile" uid="uid://do40418waa8w3" path="res://assets/fonts/Inter-Regular.otf" id="15_1gk43"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/world/release_focus.gd" id="16_8emm0"]
|
||||
[ext_resource type="FontFile" uid="uid://c14w1y1r54wgi" path="res://assets/fonts/Inter-Bold.otf" id="16_m0ubw"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7571vjq7l0jp" path="res://scenes/components/not_responding.tscn" id="17_kwbm3"]
|
||||
[ext_resource type="FontFile" uid="uid://b3xb1fpllhnf4" path="res://assets/fonts/Inter-Italic.otf" id="17_s7ouj"]
|
||||
[ext_resource type="FontFile" uid="uid://tfj3o1e1wytn" path="res://assets/fonts/Inter-BoldItalic.otf" id="18_qgdgb"]
|
||||
[ext_resource type="Script" path="res://scripts/ui/fullscreen_animation.gd" id="18_sx3kr"]
|
||||
[ext_resource type="FontFile" uid="uid://bjeupg0ikc2kv" path="res://assets/fonts/Monospace.ttf" id="19_ntc6f"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_be6ex"]
|
||||
resource_local_to_scene = true
|
||||
|
@ -35,90 +27,34 @@ shader = ExtResource("10_2auwe")
|
|||
shader_parameter/ext_texture_is_bgra = null
|
||||
shader_parameter/show_render = null
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bm5nj"]
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_i1x1e"]
|
||||
font_size = 32
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_27sha"]
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ybg1t"]
|
||||
bg_color = Color(0, 0, 0, 0.470588)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_beyyv"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("HBoxContainer/GateInfo:modulate")
|
||||
tracks/0/path = NodePath("WorldCanvas/RenderResult/HideOnPress:disabled")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("HBoxContainer/Spacing:visible")
|
||||
tracks/1/path = NodePath("WorldCanvas/Blackout:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("HBoxContainer/GateInfo:visible")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("HBoxContainer/Spacing2:visible")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("HBoxContainer/WorldCanvas/RenderResult/HideOnPress:disabled")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("HBoxContainer/WorldCanvas:interpolate")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_tper3"]
|
||||
|
@ -128,74 +64,26 @@ step = 0.05
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("HBoxContainer/GateInfo:modulate")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/path = NodePath("WorldCanvas/RenderResult/HideOnPress:disabled")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("HBoxContainer/Spacing:visible")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("HBoxContainer/GateInfo:visible")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("HBoxContainer/Spacing2:visible")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("HBoxContainer/WorldCanvas/RenderResult/HideOnPress:disabled")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("HBoxContainer/WorldCanvas:interpolate")
|
||||
tracks/5/interp = 2
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0.1, 0.25),
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("WorldCanvas/Blackout:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 1.0]
|
||||
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_77flb"]
|
||||
|
@ -205,74 +93,26 @@ step = 0.05
|
|||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("HBoxContainer/GateInfo:modulate")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/path = NodePath("WorldCanvas/RenderResult/HideOnPress:disabled")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0.15, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("HBoxContainer/Spacing:visible")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.15, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("HBoxContainer/GateInfo:visible")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0.15, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("HBoxContainer/Spacing2:visible")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0.15, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("HBoxContainer/WorldCanvas/RenderResult/HideOnPress:disabled")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("HBoxContainer/WorldCanvas:interpolate")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0, 0.15),
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("WorldCanvas/Blackout:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.25),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [1.0, 0.0]
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_sld6k"]
|
||||
|
@ -295,7 +135,7 @@ script = ExtResource("12_jdwjt")
|
|||
ui_events = ExtResource("9_ir58h")
|
||||
gate_events = ExtResource("2_q7cvi")
|
||||
command_events = ExtResource("6_18mgg")
|
||||
render_result = NodePath("HBoxContainer/WorldCanvas/RenderResult")
|
||||
render_result = NodePath("WorldCanvas/RenderResult")
|
||||
|
||||
[node name="GateLoader" type="Node" parent="."]
|
||||
script = ExtResource("1_uxhy6")
|
||||
|
@ -305,7 +145,7 @@ connect_timeout = 10.0
|
|||
[node name="SandboxManager" type="Node" parent="." node_paths=PackedStringArray("render_result", "snbx_logger")]
|
||||
script = ExtResource("6_368sj")
|
||||
gate_events = ExtResource("2_q7cvi")
|
||||
render_result = NodePath("../HBoxContainer/WorldCanvas/RenderResult")
|
||||
render_result = NodePath("../WorldCanvas/RenderResult")
|
||||
snbx_logger = NodePath("../SandboxLogger")
|
||||
snbx_executable = ExtResource("4_shus3")
|
||||
snbx_env = ExtResource("8_a6dvr")
|
||||
|
@ -319,7 +159,7 @@ api = ExtResource("10_vhc7k")
|
|||
script = ExtResource("8_1blsi")
|
||||
gate_events = ExtResource("2_q7cvi")
|
||||
ui_events = ExtResource("9_ir58h")
|
||||
render_result = NodePath("../HBoxContainer/WorldCanvas/RenderResult")
|
||||
render_result = NodePath("../WorldCanvas/RenderResult")
|
||||
|
||||
[node name="CommandSync" type="CommandSync" parent="."]
|
||||
script = ExtResource("10_cqo55")
|
||||
|
@ -332,25 +172,20 @@ gate_events = ExtResource("2_q7cvi")
|
|||
command_events = ExtResource("6_18mgg")
|
||||
snbx_logger = NodePath("../SandboxLogger")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(0, 700)
|
||||
[node name="WorldCanvas" type="Control" parent="."]
|
||||
custom_minimum_size = Vector2(1300, 0)
|
||||
layout_mode = 1
|
||||
anchors_preset = 14
|
||||
anchor_top = 0.5
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="WorldCanvas" type="Control" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(1300, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
script = ExtResource("9_ncfxj")
|
||||
ui_events = ExtResource("9_ir58h")
|
||||
interpolate = 1.0
|
||||
|
||||
[node name="SplashScreen" type="TextureRect" parent="HBoxContainer/WorldCanvas"]
|
||||
[node name="SplashScreen" type="TextureRect" parent="WorldCanvas"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
@ -358,7 +193,7 @@ anchor_bottom = 1.0
|
|||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("10_23bjc")
|
||||
expand_mode = 5
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
script = ExtResource("13_3b6nd")
|
||||
gate_events = ExtResource("2_q7cvi")
|
||||
|
@ -366,15 +201,13 @@ command_events = ExtResource("6_18mgg")
|
|||
ui_events = ExtResource("9_ir58h")
|
||||
splash_screen = ExtResource("10_23bjc")
|
||||
|
||||
[node name="RenderResult" type="TextureRect" parent="HBoxContainer/WorldCanvas"]
|
||||
[node name="RenderResult" type="TextureRect" parent="WorldCanvas"]
|
||||
texture_filter = 2
|
||||
material = SubResource("ShaderMaterial_be6ex")
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -15.625
|
||||
offset_bottom = 15.625
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
expand_mode = 5
|
||||
|
@ -384,7 +217,7 @@ gate_events = ExtResource("2_q7cvi")
|
|||
command_events = ExtResource("6_18mgg")
|
||||
ui_events = ExtResource("9_ir58h")
|
||||
|
||||
[node name="HideOnPress" type="TextureButton" parent="HBoxContainer/WorldCanvas/RenderResult"]
|
||||
[node name="HideOnPress" type="TextureButton" parent="WorldCanvas/RenderResult"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
@ -393,81 +226,15 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
focus_mode = 0
|
||||
|
||||
[node name="Spacing" type="Control" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="GateInfo" type="VBoxContainer" parent="HBoxContainer" node_paths=PackedStringArray("image", "title", "description")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 30
|
||||
script = ExtResource("14_8hca5")
|
||||
gate_events = ExtResource("2_q7cvi")
|
||||
image = NodePath("HBoxContainer/ImageMask/TextureRect")
|
||||
title = NodePath("HBoxContainer/Title")
|
||||
description = NodePath("Description")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/GateInfo"]
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 30
|
||||
|
||||
[node name="ImageMask" type="Panel" parent="HBoxContainer/GateInfo/HBoxContainer"]
|
||||
clip_children = 1
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
mouse_filter = 1
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_bm5nj")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/GateInfo/HBoxContainer/ImageMask"]
|
||||
[node name="Blackout" type="Panel" parent="WorldCanvas"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("10_23bjc")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="Title" type="Label" parent="HBoxContainer/GateInfo/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "TheGates"
|
||||
label_settings = SubResource("LabelSettings_i1x1e")
|
||||
text_overrun_behavior = 3
|
||||
|
||||
[node name="Description" type="RichTextLabel" parent="HBoxContainer/GateInfo"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
focus_mode = 2
|
||||
theme_override_fonts/normal_font = ExtResource("15_1gk43")
|
||||
theme_override_fonts/mono_font = ExtResource("19_ntc6f")
|
||||
theme_override_fonts/italics_font = ExtResource("17_s7ouj")
|
||||
theme_override_fonts/bold_italics_font = ExtResource("18_qgdgb")
|
||||
theme_override_fonts/bold_font = ExtResource("16_m0ubw")
|
||||
theme_override_font_sizes/bold_italics_font_size = 24
|
||||
theme_override_font_sizes/italics_font_size = 24
|
||||
theme_override_font_sizes/mono_font_size = 24
|
||||
theme_override_font_sizes/normal_font_size = 24
|
||||
theme_override_font_sizes/bold_font_size = 24
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_27sha")
|
||||
bbcode_enabled = true
|
||||
context_menu_enabled = true
|
||||
selection_enabled = true
|
||||
script = ExtResource("16_8emm0")
|
||||
|
||||
[node name="LoadingStatus" type="Label" parent="HBoxContainer/GateInfo"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "Connecting..."
|
||||
horizontal_alignment = 1
|
||||
script = ExtResource("14_jjuux")
|
||||
gate_events = ExtResource("2_q7cvi")
|
||||
|
||||
[node name="Spacing2" type="Control" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_ybg1t")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
|
@ -481,4 +248,4 @@ gate_events = ExtResource("2_q7cvi")
|
|||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[connection signal="pressed" from="HBoxContainer/WorldCanvas/RenderResult/HideOnPress" to="." method="hide_ui"]
|
||||
[connection signal="pressed" from="WorldCanvas/RenderResult/HideOnPress" to="." method="hide_ui"]
|
||||
|
|
|
@ -42,8 +42,9 @@ func _input(_event: InputEvent) -> void:
|
|||
|
||||
|
||||
func get_scaled_mouse_pos(position : Vector2) -> Vector2:
|
||||
position.x *= scale_width
|
||||
position.y *= scale_height
|
||||
#position.x *= scale_width
|
||||
#position.y *= scale_height
|
||||
position.y -= 101
|
||||
return position
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ class_name RenderResult
|
|||
@export var ui_events: UiEvents
|
||||
|
||||
@onready var width: int = get_viewport().size.x
|
||||
@onready var height: int = get_viewport().size.y
|
||||
@onready var height: int = get_viewport().size.y - 101
|
||||
|
||||
var ext_texure: ExternalTexture
|
||||
var texture_rid: RID
|
||||
|
|
13
app/scripts/ui/menu/help_button.gd
Normal file
13
app/scripts/ui/menu/help_button.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
extends RoundButton
|
||||
|
||||
@export var url: String
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
|
||||
pressed.connect(open_help_url)
|
||||
|
||||
|
||||
func open_help_url() -> void:
|
||||
OS.shell_open(url)
|
|
@ -6,8 +6,8 @@ class_name SplashScreen
|
|||
@export var ui_events: UiEvents
|
||||
@export var splash_screen: Texture2D
|
||||
|
||||
@onready var width: int = int(ui_events.current_ui_size.x)
|
||||
@onready var height: int = int(ui_events.current_ui_size.y)
|
||||
@onready var width: int = int(size.x)
|
||||
@onready var height: int = int(size.y)
|
||||
|
||||
|
||||
func _ready():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue