Added chat bubbles
This commit is contained in:
46
client/player/chat/ChatBubble.tscn
Normal file
46
client/player/chat/ChatBubble.tscn
Normal file
@ -0,0 +1,46 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://epb22atgo7af"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/chat/ChatBubble.gd" id="1_dscmj"]
|
||||
[ext_resource type="LabelSettings" uid="uid://cvqtha83d263j" path="res://player/chat/LabelSettings.tres" id="1_u5tc1"]
|
||||
[ext_resource type="Texture2D" uid="uid://d22tgtevi4ukp" path="res://assets/ui/chat/speech-bubble-blur.png" id="2_e5alo"]
|
||||
|
||||
[node name="ChatBubble" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_dscmj")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -512.0
|
||||
offset_right = 512.0
|
||||
grow_vertical = 0
|
||||
texture = ExtResource("2_e5alo")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = -0.00520833
|
||||
anchor_top = 1.00556
|
||||
anchor_right = 0.00885417
|
||||
anchor_bottom = 0.991667
|
||||
offset_left = 82.0
|
||||
offset_top = -374.0
|
||||
offset_right = 427.0
|
||||
offset_bottom = -139.0
|
||||
grow_vertical = 0
|
||||
text = "I think we gotta do this in hard mode."
|
||||
label_settings = ExtResource("1_u5tc1")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
clip_text = true
|
||||
text_overrun_behavior = 3
|
||||
metadata/_edit_use_anchors_ = true
|
Reference in New Issue
Block a user