add report bug button
This commit is contained in:
parent
5fc788d1e3
commit
ebc7982482
|
@ -55,6 +55,7 @@ material_override = SubResource("ShaderMaterial_ov0gt")
|
|||
mesh = ExtResource("5_3o4gy")
|
||||
|
||||
[node name="Grid" type="MeshInstance3D" parent="."]
|
||||
visible = false
|
||||
material_override = ExtResource("7_tnbkv")
|
||||
mesh = SubResource("PlaneMesh_cq16e")
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
[ext_resource type="Shader" path="res://content/ui/components/panel/glass.gdshader" id="3_8yxox"]
|
||||
[ext_resource type="FontVariation" uid="uid://sshfnckriqxn" path="res://assets/icons/icons.tres" id="4_61i7u"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_o58sw"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_81jws"]
|
||||
resource_local_to_scene = true
|
||||
render_priority = 10
|
||||
shader = ExtResource("3_8yxox")
|
||||
|
@ -20,14 +20,14 @@ shader_parameter/corner_radius = 0.2
|
|||
shader_parameter/roughness = 0.3
|
||||
shader_parameter/grain_amount = 0.02
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_xblx4"]
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_3uyfs"]
|
||||
size = Vector2(0.2, 0.04)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_uwnbp"]
|
||||
resource_local_to_scene = true
|
||||
size = Vector3(0.2, 0.04, 0.01)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_fnoxg"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_t7hp2"]
|
||||
resource_local_to_scene = true
|
||||
render_priority = 10
|
||||
shader = ExtResource("3_8yxox")
|
||||
|
@ -42,7 +42,7 @@ shader_parameter/corner_radius = 0.2
|
|||
shader_parameter/roughness = 0.3
|
||||
shader_parameter/grain_amount = 0.02
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_6v0t1"]
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_b0yu6"]
|
||||
size = Vector2(0.02, 0.01)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_cv4hj"]
|
||||
|
@ -63,8 +63,8 @@ collision_mask = 0
|
|||
|
||||
[node name="Panel" parent="Body" instance=ExtResource("2_5mspw")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.01)
|
||||
material_override = SubResource("ShaderMaterial_o58sw")
|
||||
mesh = SubResource("QuadMesh_xblx4")
|
||||
material_override = SubResource("ShaderMaterial_81jws")
|
||||
mesh = SubResource("QuadMesh_3uyfs")
|
||||
skeleton = NodePath("../..")
|
||||
size = Vector2(0.2, 0.04)
|
||||
|
||||
|
@ -101,8 +101,8 @@ collision_mask = 0
|
|||
|
||||
[node name="Panel" parent="Options" instance=ExtResource("2_5mspw")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.01, -0.005, 0)
|
||||
material_override = SubResource("ShaderMaterial_fnoxg")
|
||||
mesh = SubResource("QuadMesh_6v0t1")
|
||||
material_override = SubResource("ShaderMaterial_t7hp2")
|
||||
mesh = SubResource("QuadMesh_b0yu6")
|
||||
skeleton = NodePath("../..")
|
||||
size = Vector2(0.02, 0.01)
|
||||
|
||||
|
|
|
@ -3,12 +3,17 @@ extends Node3D
|
|||
@onready var credits = $Content/Credits/Clickable
|
||||
@onready var background = $Background
|
||||
@onready var version_label = $Content/LabelVersion
|
||||
@onready var report_bug_button = $Content/ReportBugButton
|
||||
|
||||
func _ready():
|
||||
_load_game_version()
|
||||
|
||||
background.visible = false
|
||||
|
||||
report_bug_button.on_button_up.connect(func():
|
||||
OS.shell_open("https://github.com/Nitwel/Immersive-Home/issues")
|
||||
)
|
||||
|
||||
func _load_game_version():
|
||||
var presets = ConfigFile.new()
|
||||
presets.load("res://export_presets.cfg")
|
||||
|
|
|
@ -78,6 +78,23 @@ font_size = 10
|
|||
outline_size = 0
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="ReportBugLabel" type="Label3D" parent="Content"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.31, -0.285, 0)
|
||||
pixel_size = 0.001
|
||||
render_priority = 15
|
||||
outline_render_priority = 14
|
||||
text = "Report a Bug"
|
||||
font_size = 10
|
||||
outline_size = 0
|
||||
horizontal_alignment = 0
|
||||
|
||||
[node name="ReportBugButton" parent="Content" instance=ExtResource("1_faxng")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.395, -0.285, 0)
|
||||
font_size = 18
|
||||
label = "bug_report"
|
||||
icon = true
|
||||
size = Vector3(0.03, 0.03, 0.01)
|
||||
|
||||
[node name="Background" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 1.06581e-14, 0, -1.06581e-14, 1, 0.21, -0.16, 0)
|
||||
material_override = SubResource("ShaderMaterial_3iv64")
|
||||
|
@ -112,6 +129,7 @@ script = ExtResource("8_ctbdo")
|
|||
tabs = NodePath("../Tabs")
|
||||
|
||||
[node name="ApiMenu" parent="TabsContent3D" instance=ExtResource("8_jicvf")]
|
||||
visible = false
|
||||
|
||||
[node name="FeaturesMenu" parent="TabsContent3D" instance=ExtResource("9_k7004")]
|
||||
visible = false
|
||||
|
|
Loading…
Reference in New Issue
Block a user