diff options
Diffstat (limited to 'client/player/chat_bubble.tscn')
-rw-r--r-- | client/player/chat_bubble.tscn | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/client/player/chat_bubble.tscn b/client/player/chat_bubble.tscn new file mode 100644 index 00000000..1a5f7dfc --- /dev/null +++ b/client/player/chat_bubble.tscn @@ -0,0 +1,29 @@ +[gd_scene load_steps=6 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 +albedo_texture = SubResource("ViewportTexture_mko8a") +billboard_mode = 2 + +[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="."] +transparent_bg = true +size = Vector2i(512, 128) + +[node name="ChatMessage" parent="SubViewport" instance=ExtResource("2_lyyq0")] |