1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
[gd_scene load_steps=7 format=3 uid="uid://cgi6vcfrnqp0i"]
[ext_resource type="Script" path="res://player/chat_bubble.gd" id="1_4v1cx"]
[ext_resource type="PackedScene" uid="uid://5rcfoyuiwuya" path="res://player/chat_message.tscn" id="2_lyyq0"]
[sub_resource type="QuadMesh" id="QuadMesh_tlsxo"]
size = Vector2(2, 0.5)
[sub_resource type="ViewportTexture" id="ViewportTexture_mko8a"]
viewport_path = NodePath("SubViewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5iy0t"]
resource_local_to_scene = true
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_texture = SubResource("ViewportTexture_mko8a")
billboard_mode = 1
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_byl28"]
[node name="ChatBubble" type="MeshInstance3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visible = false
mesh = SubResource("QuadMesh_tlsxo")
surface_material_override/0 = SubResource("StandardMaterial3D_5iy0t")
script = ExtResource("1_4v1cx")
[node name="SubViewport" type="SubViewport" parent="."]
disable_3d = true
transparent_bg = true
size = Vector2i(512, 128)
[node name="ChatMessage" parent="SubViewport" instance=ExtResource("2_lyyq0")]
[node name="LineEdit" type="LineEdit" parent="."]
modulate = Color(1, 1, 1, 0)
offset_right = 67.0625
offset_bottom = 31.0
theme_override_styles/normal = SubResource("StyleBoxEmpty_byl28")
theme_override_styles/focus = SubResource("StyleBoxEmpty_byl28")
theme_override_styles/read_only = SubResource("StyleBoxEmpty_byl28")
[connection signal="text_changed" from="LineEdit" to="." method="_on_line_edit_text_changed"]
|