primitive working dialog bubble
This commit is contained in:
@@ -26,16 +26,17 @@ anchor_left = 0.218
|
||||
anchor_top = 0.812
|
||||
anchor_right = 0.837
|
||||
anchor_bottom = 0.972
|
||||
offset_left = 0.319977
|
||||
offset_top = -19.64
|
||||
offset_right = 0.380005
|
||||
offset_bottom = -4.84003
|
||||
offset_left = -15.066
|
||||
offset_top = 8.43201
|
||||
offset_right = -16.469
|
||||
offset_bottom = -9.80798
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("1_vlvkg")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "This is test text"
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="NameLabel" type="Label" parent="."]
|
||||
anchors_preset = -1
|
||||
@@ -43,10 +44,10 @@ anchor_left = 0.164
|
||||
anchor_top = 0.782
|
||||
anchor_right = 0.197
|
||||
anchor_bottom = 0.808
|
||||
offset_left = 0.259995
|
||||
offset_top = -0.430054
|
||||
offset_right = -0.39502
|
||||
offset_bottom = 0.0799561
|
||||
offset_left = 7.93199
|
||||
offset_top = 4.35199
|
||||
offset_right = 7.27698
|
||||
offset_bottom = 4.888
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("1_vlvkg")
|
||||
theme_override_font_sizes/font_size = 16
|
||||
|
@@ -9,5 +9,7 @@
|
||||
[node name="first_world" parent="." instance=ExtResource("2_x8nyb")]
|
||||
|
||||
[node name="player" parent="." instance=ExtResource("1_p5d84")]
|
||||
playerName = "vaporvee"
|
||||
|
||||
[node name="dialog_bubble" parent="." instance=ExtResource("3_ohogx")]
|
||||
visible = false
|
||||
|
@@ -19,6 +19,7 @@ shape = SubResource("RectangleShape2D_pchpi")
|
||||
|
||||
[node name="dialog_trigger_area" parent="." instance=ExtResource("2_blpmd")]
|
||||
dialogFile = "res://dialog/npcs/villager_normal.json"
|
||||
dialogTitle = "Talking Cupcake"
|
||||
|
||||
[node name="collision_shape_2d" parent="dialog_trigger_area" index="0"]
|
||||
shape = SubResource("RectangleShape2D_d78tr")
|
||||
|
Reference in New Issue
Block a user