Files
pomchronicles/templates/notice_panel.tscn

34 lines
1.0 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://b3lle4eammcwp"]
[ext_resource type="Texture2D" uid="uid://b7yco5065s41n" path="res://graphics/notice-icon.png" id="1_1reoo"]
[ext_resource type="Script" uid="uid://bqah2tc3d5otk" path="res://scripts/notice_panel.gd" id="1_5lwqd"]
[node name="NoticePanel" type="PanelContainer"]
offset_right = 321.0
offset_bottom = 32.0
script = ExtResource("1_5lwqd")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = ExtResource("1_1reoo")
expand_mode = 1
stretch_mode = 4
[node name="Label" type="Label" parent="HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(300, 24)
layout_mode = 2
text = "Rania has joined the guild!"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="Timer" type="Timer" parent="."]
unique_name_in_owner = true
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]