|
| 1 | +[gd_scene load_steps=7 format=3 uid="uid://u7oppwtmvmci"] |
| 2 | + |
| 3 | +[ext_resource type="Script" uid="uid://md1vhln8ji5h" path="res://Scenes/EventScene/EventScene.cs" id="1_x82kl"] |
| 4 | +[ext_resource type="AudioStream" uid="uid://be5ial13ynf3o" path="res://Audio/Song1.ogg" id="2_vywvm"] |
| 5 | +[ext_resource type="Texture2D" uid="uid://qhwve7fik4do" path="res://SharedAssets/BackGround_Full.png" id="4_l56en"] |
| 6 | +[ext_resource type="Texture2D" uid="uid://8u3xvcma81d" path="res://Scenes/UI/Assets/UI_CrystalFrame.png" id="5_erk58"] |
| 7 | +[ext_resource type="Script" uid="uid://cp6t6haqyef7o" path="res://Scenes/AreaBasedBackground.cs" id="5_v3lan"] |
| 8 | +[ext_resource type="Texture2D" uid="uid://burj10os057fx" path="res://Scenes/UI/Assets/UI_CrystalFrameInset.png" id="6_4prsq"] |
| 9 | + |
| 10 | +[node name="EventScene" type="Node2D" node_paths=PackedStringArray("PlayerMarker", "EventSprite", "_eventDescription", "_buttonContainer")] |
| 11 | +process_mode = 1 |
| 12 | +script = ExtResource("1_x82kl") |
| 13 | +PlayerMarker = NodePath("PlayerMarker") |
| 14 | +EventSprite = NodePath("EventSprite") |
| 15 | +_eventDescription = NodePath("Control/MarginContainer/PanelContainer/HBoxContainer/DescBox/DescMargin/Description") |
| 16 | +_buttonContainer = NodePath("Control/MarginContainer/PanelContainer/HBoxContainer/ButtonContainer/VBoxContainer") |
| 17 | + |
| 18 | +[node name="Audio" type="AudioStreamPlayer" parent="."] |
| 19 | +unique_name_in_owner = true |
| 20 | +stream = ExtResource("2_vywvm") |
| 21 | +autoplay = true |
| 22 | + |
| 23 | +[node name="PlayerMarker" type="Marker2D" parent="."] |
| 24 | +position = Vector2(158, 125) |
| 25 | + |
| 26 | +[node name="EventSprite" type="Sprite2D" parent="."] |
| 27 | +position = Vector2(385, 125) |
| 28 | + |
| 29 | +[node name="BackGround" type="TextureRect" parent="."] |
| 30 | +z_index = -1 |
| 31 | +offset_right = 640.0 |
| 32 | +offset_bottom = 178.0 |
| 33 | +texture = ExtResource("4_l56en") |
| 34 | +script = ExtResource("5_v3lan") |
| 35 | + |
| 36 | +[node name="Control" type="Control" parent="."] |
| 37 | +layout_mode = 3 |
| 38 | +anchors_preset = 0 |
| 39 | +offset_right = 650.0 |
| 40 | +offset_bottom = 40.0 |
| 41 | + |
| 42 | +[node name="MarginContainer" type="MarginContainer" parent="Control"] |
| 43 | +layout_mode = 1 |
| 44 | +anchors_preset = 15 |
| 45 | +anchor_right = 1.0 |
| 46 | +anchor_bottom = 1.0 |
| 47 | +offset_left = -50.0 |
| 48 | +offset_top = 160.0 |
| 49 | +offset_right = 40.0 |
| 50 | +offset_bottom = 340.0 |
| 51 | +grow_horizontal = 2 |
| 52 | +grow_vertical = 2 |
| 53 | +size_flags_horizontal = 3 |
| 54 | +size_flags_vertical = 3 |
| 55 | +theme_override_constants/margin_left = 50 |
| 56 | +theme_override_constants/margin_top = 20 |
| 57 | +theme_override_constants/margin_right = 50 |
| 58 | +theme_override_constants/margin_bottom = 20 |
| 59 | + |
| 60 | +[node name="PanelContainer" type="PanelContainer" parent="Control/MarginContainer"] |
| 61 | +layout_mode = 2 |
| 62 | + |
| 63 | +[node name="SelectionBG" type="NinePatchRect" parent="Control/MarginContainer/PanelContainer"] |
| 64 | +self_modulate = Color(1, 1, 1, 0.75) |
| 65 | +custom_minimum_size = Vector2(540, 105) |
| 66 | +layout_mode = 2 |
| 67 | +size_flags_horizontal = 3 |
| 68 | +size_flags_vertical = 3 |
| 69 | +texture = ExtResource("5_erk58") |
| 70 | +patch_margin_left = 30 |
| 71 | +patch_margin_top = 10 |
| 72 | +patch_margin_right = 20 |
| 73 | +patch_margin_bottom = 27 |
| 74 | + |
| 75 | +[node name="HBoxContainer" type="HBoxContainer" parent="Control/MarginContainer/PanelContainer"] |
| 76 | +layout_mode = 2 |
| 77 | + |
| 78 | +[node name="DescBox" type="MarginContainer" parent="Control/MarginContainer/PanelContainer/HBoxContainer"] |
| 79 | +layout_mode = 2 |
| 80 | +size_flags_horizontal = 3 |
| 81 | +size_flags_vertical = 3 |
| 82 | +theme_override_constants/margin_top = 7 |
| 83 | +theme_override_constants/margin_right = -10 |
| 84 | +theme_override_constants/margin_bottom = 7 |
| 85 | + |
| 86 | +[node name="DescBackground" type="NinePatchRect" parent="Control/MarginContainer/PanelContainer/HBoxContainer/DescBox"] |
| 87 | +layout_mode = 2 |
| 88 | +texture = ExtResource("6_4prsq") |
| 89 | +patch_margin_left = 7 |
| 90 | +patch_margin_top = 7 |
| 91 | +patch_margin_right = 7 |
| 92 | +patch_margin_bottom = 7 |
| 93 | + |
| 94 | +[node name="DescMargin" type="MarginContainer" parent="Control/MarginContainer/PanelContainer/HBoxContainer/DescBox"] |
| 95 | +layout_mode = 2 |
| 96 | +theme_override_constants/margin_left = 0 |
| 97 | +theme_override_constants/margin_top = 0 |
| 98 | +theme_override_constants/margin_right = 0 |
| 99 | +theme_override_constants/margin_bottom = 0 |
| 100 | + |
| 101 | +[node name="Description" type="Label" parent="Control/MarginContainer/PanelContainer/HBoxContainer/DescBox/DescMargin"] |
| 102 | +layout_mode = 2 |
| 103 | +size_flags_vertical = 1 |
| 104 | +text = ":HeathCliff:" |
| 105 | +horizontal_alignment = 1 |
| 106 | +vertical_alignment = 1 |
| 107 | +autowrap_mode = 2 |
| 108 | +clip_text = true |
| 109 | +text_overrun_behavior = 1 |
| 110 | + |
| 111 | +[node name="ButtonContainer" type="MarginContainer" parent="Control/MarginContainer/PanelContainer/HBoxContainer"] |
| 112 | +layout_mode = 2 |
| 113 | +theme_override_constants/margin_left = 10 |
| 114 | +theme_override_constants/margin_top = 7 |
| 115 | +theme_override_constants/margin_right = 10 |
| 116 | +theme_override_constants/margin_bottom = 7 |
| 117 | + |
| 118 | +[node name="VBoxContainer" type="VBoxContainer" parent="Control/MarginContainer/PanelContainer/HBoxContainer/ButtonContainer"] |
| 119 | +layout_mode = 2 |
0 commit comments