UI geimplementeert

This commit is contained in:
KimdeVogel 2025-11-04 16:48:15 +01:00
parent 4c7b954aeb
commit 32db5782c3
12 changed files with 250 additions and 46 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 MiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://2cn7xvs6k1r5"
path="res://.godot/imported/Case_file.png-c033b45ff95fb204fe4382733db6c42a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/photo-images/Case_file.png"
dest_files=["res://.godot/imported/Case_file.png-c033b45ff95fb204fe4382733db6c42a.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ulj00tq5b0kx"
path="res://.godot/imported/Untitled_Artwork.png-03d4089fe414890001fa0d762796adac.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/photo-images/Untitled_Artwork.png"
dest_files=["res://.godot/imported/Untitled_Artwork.png-03d4089fe414890001fa0d762796adac.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 MiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c41vsa046lu2w"
path="res://.godot/imported/Victim_Page.png-9d164b0df52e5a06d310032c43141508.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/photo-images/Victim_Page.png"
dest_files=["res://.godot/imported/Victim_Page.png-9d164b0df52e5a06d310032c43141508.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 MiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cf3wnqu07awxe"
path="res://.godot/imported/Witness_Page.png-d610e82eba29a5b2f8a48ac087a90e9e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/photo-images/Witness_Page.png"
dest_files=["res://.godot/imported/Witness_Page.png-d610e82eba29a5b2f8a48ac087a90e9e.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

View file

@ -1,4 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://cjyr1b0fxfofx"]
[gd_scene load_steps=9 format=3 uid="uid://cjyr1b0fxfofx"]
[ext_resource type="Texture2D" uid="uid://cplpndk6qv7sx" path="res://assets/photo-images/Case_Button.png" id="1_3vy0q"]
[ext_resource type="Texture2D" uid="uid://2cn7xvs6k1r5" path="res://assets/photo-images/Case_file.png" id="2_vi7i2"]
[sub_resource type="QuadMesh" id="QuadMesh_7cefc"]
@ -31,22 +34,37 @@ colors = PackedColorArray(0, 0, 0, 1)
gradient = SubResource("Gradient_vo7lu")
[node name="CaseFile" type="FilePopup"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 0
auto_translate_mode = 0
editor_description = ""
script = null
[node name="MeshInstance2D2" type="MeshInstance2D" parent="."]
position = Vector2(21.5, 584.3357)
scale = Vector2(77, 222.67134)
position = Vector2(29.999994, 581.83563)
rotation = 1.5707964
scale = Vector2(-257.99997, 159.671)
mesh = SubResource("QuadMesh_7cefc")
texture = ExtResource("1_3vy0q")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
position = Vector2(-333.25, 486.25)
scale = Vector2(667.5, 973.5)
rotation = 3.1415927
scale = Vector2(-667.5, 973.5)
mesh = SubResource("QuadMesh_7cefc")
texture = ExtResource("2_vi7i2")
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(28.170658, 585.06274)
script = SubResource("GDScript_7cefc")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(-0.17065811, 0.93725586)
scale = Vector2(1.0000002, 1.0000002)
shape = SubResource("RectangleShape2D_vo7lu")

View file

@ -1,4 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://qmb60kjx6yoe"]
[gd_scene load_steps=9 format=3 uid="uid://qmb60kjx6yoe"]
[ext_resource type="Texture2D" uid="uid://bwu83rfxi4mmh" path="res://assets/photo-images/Victim_Button.png" id="1_ajbhq"]
[ext_resource type="Texture2D" uid="uid://c41vsa046lu2w" path="res://assets/photo-images/Victim_Page.png" id="2_oknob"]
[sub_resource type="QuadMesh" id="QuadMesh_7cefc"]
@ -31,16 +34,30 @@ colors = PackedColorArray(0, 0, 0, 1)
gradient = SubResource("Gradient_vo7lu")
[node name="VictimFile" type="FilePopup"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 0
auto_translate_mode = 0
editor_description = ""
script = null
[node name="MeshInstance2D2" type="MeshInstance2D" parent="."]
position = Vector2(22.500002, 142.6643)
scale = Vector2(77, 222.67134)
position = Vector2(27, 143.99998)
rotation = 1.5707964
scale = Vector2(-305, 159.671)
mesh = SubResource("QuadMesh_7cefc")
texture = ExtResource("1_ajbhq")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
position = Vector2(-333.25, 486.25)
scale = Vector2(667.5, 973.5)
rotation = 3.1415927
scale = Vector2(-667.5, 973.5)
mesh = SubResource("QuadMesh_7cefc")
texture = ExtResource("2_oknob")
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(29.17066, 143.39133)

View file

@ -1,4 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://drcl138k0gym0"]
[gd_scene load_steps=9 format=3 uid="uid://drcl138k0gym0"]
[ext_resource type="Texture2D" uid="uid://dravu5852jgek" path="res://assets/photo-images/Witness_Button.png" id="1_a8epn"]
[ext_resource type="Texture2D" uid="uid://cf3wnqu07awxe" path="res://assets/photo-images/Witness_Page.png" id="2_qp4tg"]
[sub_resource type="QuadMesh" id="QuadMesh_7cefc"]
@ -30,18 +33,31 @@ colors = PackedColorArray(0, 0, 0, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_wjago"]
gradient = SubResource("Gradient_vo7lu")
[node name="WitnessReport" type="FilePopup" node_paths=PackedStringArray("open_position")]
open_position = NodePath("")
[node name="WitnessReport" type="FilePopup"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 0
auto_translate_mode = 0
editor_description = ""
script = null
[node name="MeshInstance2D2" type="MeshInstance2D" parent="."]
position = Vector2(21.59444, 373.7876)
scale = Vector2(77, 222.67134)
position = Vector2(23.000008, 372.50003)
rotation = 1.5707964
scale = Vector2(-284.99997, 149.67097)
mesh = SubResource("QuadMesh_7cefc")
texture = ExtResource("1_a8epn")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
position = Vector2(-333.25, 486.25)
scale = Vector2(667.5, 973.5)
rotation = 3.1415927
scale = Vector2(-667.5, 973.5)
mesh = SubResource("QuadMesh_7cefc")
texture = ExtResource("2_qp4tg")
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(28.265099, 374.51465)

View file

@ -1,11 +1,16 @@
[gd_scene load_steps=16 format=3 uid="uid://o3ri154wpbrx"]
[gd_scene load_steps=21 format=3 uid="uid://o3ri154wpbrx"]
[ext_resource type="PackedScene" uid="uid://btcmnw6q6g0h0" path="res://objects/pinned_photo.tscn" id="1_7cefc"]
[ext_resource type="PackedScene" uid="uid://kk4ecpjc4puc" path="res://scenes/results_ui.tscn" id="1_thvsl"]
[ext_resource type="Texture2D" uid="uid://c1jidyrk1ogs5" path="res://assets/photo-images/Background_PCplayer.png" id="2_c1nar"]
[ext_resource type="PackedScene" uid="uid://qmb60kjx6yoe" path="res://objects/victim_file.tscn" id="2_vo7lu"]
[ext_resource type="Texture2D" uid="uid://c6inptmy6kxc1" path="res://assets/photo-images/Pin_Board.png" id="3_ffegw"]
[ext_resource type="PackedScene" uid="uid://drcl138k0gym0" path="res://objects/witness_report.tscn" id="3_wjago"]
[ext_resource type="PackedScene" uid="uid://cjyr1b0fxfofx" path="res://objects/case_file.tscn" id="4_cnvne"]
[ext_resource type="Texture2D" uid="uid://ccx5ly7y2tiuc" path="res://assets/photo-images/Envelope_Back.png" id="4_h7pmq"]
[ext_resource type="Texture2D" uid="uid://ulj00tq5b0kx" path="res://assets/photo-images/Untitled_Artwork.png" id="4_r41gl"]
[ext_resource type="Texture2D" uid="uid://dyagjhgq52sht" path="res://assets/photo-images/Envelope_Front.png" id="5_r41gl"]
[ext_resource type="Texture2D" uid="uid://be1xto717rt6n" path="res://assets/photo-images/Murder_Suspect_File.png" id="6_xic1t"]
[sub_resource type="GDScript" id="GDScript_thvsl"]
script/source = "extends Node2D
@ -87,18 +92,36 @@ scale = Vector2(1535.0001, 818)
mesh = SubResource("QuadMesh_usqe2")
texture = ExtResource("2_c1nar")
[node name="PinBoard" type="Sprite2D" parent="Pinboard"]
position = Vector2(652, 434.50003)
scale = Vector2(0.8171887, 0.8931035)
texture = ExtResource("3_ffegw")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Pinboard"]
position = Vector2(636.5, 431.5)
shape = SubResource("RectangleShape2D_87mh6")
[node name="UntitledArtwork" type="Sprite2D" parent="Pinboard"]
position = Vector2(1391, 172)
texture = ExtResource("4_r41gl")
[node name="EnvelopeBack" type="Sprite2D" parent="Pinboard"]
position = Vector2(1533, 852)
texture = ExtResource("4_h7pmq")
[node name="EnvelopeFront" type="Sprite2D" parent="Pinboard"]
position = Vector2(1534, 855)
texture = ExtResource("5_r41gl")
[node name="Handin" type="Node2D" parent="."]
position = Vector2(1899.9999, -15)
rotation = -0.042017065
[node name="MeshInstance2D" type="MeshInstance2D" parent="Handin"]
position = Vector2(-276.4963, 370.27814)
scale = Vector2(553.9857, 740.51447)
scale = Vector2(553.986, -740.514)
mesh = SubResource("QuadMesh_cnvne")
texture = ExtResource("6_xic1t")
[node name="TextEdit" type="TextEdit" parent="Handin"]
offset_left = -508.21082
@ -312,40 +335,10 @@ photo_scene = ExtResource("1_7cefc")
script = null
[node name="VictimFile" parent="." instance=ExtResource("2_vo7lu")]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 0
auto_translate_mode = 0
editor_description = ""
script = null
[node name="WitnessReport" parent="." instance=ExtResource("3_wjago")]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 0
auto_translate_mode = 0
editor_description = ""
script = null
[node name="CaseFile" parent="." instance=ExtResource("4_cnvne")]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
physics_interpolation_mode = 0
auto_translate_mode = 0
editor_description = ""
script = null
[node name="FilePositionTarget" type="Node2D" parent="."]
position = Vector2(678.00006, 63.999996)