[gd_scene load_steps=8 format=3] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/office-backdrop.png" id="1_backdrop"] [ext_resource type="Script" path="res://scripts/ui/ccs_cases_2/doctor_office.gd" id="2_script"] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/clock.png" id="3_face"] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/patient-44-white-male.png" id="4_patient"] [ext_resource type="Shader" path="res://shaders/ccs_cases_2/patient_idle.gdshader" id="5_patient_fit"] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/chat-bubble.png" id="6_chat_bubble"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_patient_fit"] shader = ExtResource("5_patient_fit") shader_parameter/patient_scale = 0.82 shader_parameter/anchor = Vector2(0.5, 0.985) shader_parameter/patient_offset = Vector2(0, 0) shader_parameter/breathing_speed = 1.0 shader_parameter/breathing_amount = 0.012 shader_parameter/blink_amount = 0.0 [node name="DoctorScene" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("2_script") [node name="Backdrop" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("1_backdrop") expand_mode = 1 stretch_mode = 6 [node name="Patient" type="TextureRect" parent="."] material = SubResource("ShaderMaterial_patient_fit") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("4_patient") expand_mode = 1 stretch_mode = 6 metadata/age = 44 metadata/sex = "male" metadata/ethnicity = "white" metadata/demographic_label = "44-year-old white male" [node name="ClockMount" type="Control" parent="."] z_index = 10 layout_mode = 1 anchors_preset = 0 scale = Vector2(0.75, 0.75) anchor_left = 0.695 anchor_top = 0.145 anchor_right = 0.695 anchor_bottom = 0.145 mouse_filter = 2 [node name="Face" type="Sprite2D" parent="ClockMount"] position = Vector2(0, 1.2) scale = Vector2(0.095, 0.095) texture = ExtResource("3_face") [node name="HourHand" type="Node2D" parent="ClockMount"] [node name="Shape" type="Polygon2D" parent="ClockMount/HourHand"] polygon = PackedVector2Array(-3.2, 5, -2.5, -23, 0, -29, 2.5, -23, 3.2, 5) color = Color(0.035, 0.055, 0.08, 1) antialiased = true [node name="MinuteHand" type="Node2D" parent="ClockMount"] [node name="Shape" type="Polygon2D" parent="ClockMount/MinuteHand"] polygon = PackedVector2Array(-2.4, 6, -1.7, -34, 0, -40, 1.7, -34, 2.4, 6) color = Color(0.035, 0.055, 0.08, 1) antialiased = true [node name="SecondHand" type="Node2D" parent="ClockMount"] [node name="Shape" type="Polygon2D" parent="ClockMount/SecondHand"] polygon = PackedVector2Array(-0.9, 8, -0.8, -38, 0, -43, 0.8, -38, 0.9, 8) color = Color(0.55, 0.09, 0.065, 1) antialiased = true [node name="CenterCap" type="Polygon2D" parent="ClockMount"] polygon = PackedVector2Array(3.8, 0, 3.29, 1.9, 1.9, 3.29, 0, 3.8, -1.9, 3.29, -3.29, 1.9, -3.8, 0, -3.29, -1.9, -1.9, -3.29, 0, -3.8, 1.9, -3.29, 3.29, -1.9) color = Color(0.04, 0.055, 0.075, 1) antialiased = true [node name="CenterPin" type="Polygon2D" parent="ClockMount"] polygon = PackedVector2Array(1.8, 0, 1.27, 1.27, 0, 1.8, -1.27, 1.27, -1.8, 0, -1.27, -1.27, 0, -1.8, 1.27, -1.27) color = Color(0.9, 0.64, 0.19, 1) antialiased = true [node name="DialogueBubble" type="Control" parent="."] z_index = 30 layout_mode = 1 anchors_preset = 0 anchor_left = 0.53 anchor_top = 0.04 anchor_right = 0.53 anchor_bottom = 0.04 offset_right = 650.0 offset_bottom = 220.0 mouse_default_cursor_shape = 2 focus_mode = 2 [node name="Background" type="TextureRect" parent="DialogueBubble"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 self_modulate = Color(0.92, 0.89, 0.82, 0.86) texture = ExtResource("6_chat_bubble") expand_mode = 1 stretch_mode = 0 [node name="Text" type="Label" parent="DialogueBubble"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 76.0 offset_top = 31.0 offset_right = -48.0 offset_bottom = -52.0 grow_horizontal = 2 grow_vertical = 2 theme_override_colors/font_color = Color(0.055, 0.105, 0.145, 1) theme_override_font_sizes/font_size = 20 text = "Hello, doctor." autowrap_mode = 2 vertical_alignment = 1 [node name="ContinueHint" type="Label" parent="DialogueBubble"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -255.0 offset_top = -54.0 offset_right = -52.0 offset_bottom = -25.0 grow_horizontal = 0 grow_vertical = 0 mouse_filter = 2 theme_override_colors/font_color = Color(0.12, 0.22, 0.28, 0.82) theme_override_font_sizes/font_size = 15 text = "Click to continue ▼" horizontal_alignment = 2 vertical_alignment = 1 [node name="DialogueChoiceArea" type="Control" parent="."] z_index = 29 layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 18.0 offset_top = -194.0 offset_right = -18.0 offset_bottom = -4.0 [node name="ChoicePager" type="HBoxContainer" parent="DialogueChoiceArea"] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_bottom = 42.0 grow_horizontal = 2 theme_override_constants/separation = 12 alignment = 1 [node name="Previous" type="Button" parent="DialogueChoiceArea/ChoicePager"] custom_minimum_size = Vector2(108, 38) layout_mode = 2 text = "Previous" [node name="Page" type="Label" parent="DialogueChoiceArea/ChoicePager"] custom_minimum_size = Vector2(100, 38) layout_mode = 2 theme_override_colors/font_color = Color(0.94, 0.95, 0.91, 1) theme_override_colors/font_shadow_color = Color(0.02, 0.035, 0.05, 0.9) theme_override_constants/shadow_offset_x = 1 theme_override_constants/shadow_offset_y = 2 theme_override_font_sizes/font_size = 17 text = "Page 1 of 2" horizontal_alignment = 1 vertical_alignment = 1 [node name="Next" type="Button" parent="DialogueChoiceArea/ChoicePager"] custom_minimum_size = Vector2(108, 38) layout_mode = 2 text = "Next" [node name="DialogueChoices" type="HBoxContainer" parent="DialogueChoiceArea"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 46.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 10 alignment = 1