Added chat bubbles
This commit is contained in:
28
client/player/chat/ChatComponent.tscn
Normal file
28
client/player/chat/ChatComponent.tscn
Normal file
@ -0,0 +1,28 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://urt8b7grv0qq"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/chat/ChatComponent.gd" id="1_3o8hk"]
|
||||
[ext_resource type="PackedScene" uid="uid://epb22atgo7af" path="res://player/chat/ChatBubble.tscn" id="2_yfr7m"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_426w0"]
|
||||
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.05, 1), 0.0, 0.0, 0, 0, Vector2(0.8, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 4
|
||||
|
||||
[node name="Chat" type="Sprite3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.83994, 0)
|
||||
centered = false
|
||||
offset = Vector2(400, -30)
|
||||
pixel_size = 0.001
|
||||
billboard = 1
|
||||
render_priority = 1
|
||||
region_rect = Rect2(0, 0, 84, 26)
|
||||
script = ExtResource("1_3o8hk")
|
||||
duration = 3.5
|
||||
alpha_curve = SubResource("Curve_426w0")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="."]
|
||||
unique_name_in_owner = true
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
|
||||
[node name="ChatBubble" parent="SubViewport" instance=ExtResource("2_yfr7m")]
|
||||
unique_name_in_owner = true
|
Reference in New Issue
Block a user