diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-12-04 22:04:59 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-12-04 22:04:59 +0200 |
| commit | 872d1f9200584973b2156102f0e7f03b3d271687 (patch) | |
| tree | 0177cda13042d5e0b924d8dbe74f444a89034c27 /text_bubble.tscn | |
| parent | f97ee1d7c41e07296b6c31b9b85aa299805ba2f1 (diff) | |
Add initial dialogue system
Diffstat (limited to 'text_bubble.tscn')
| -rw-r--r-- | text_bubble.tscn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/text_bubble.tscn b/text_bubble.tscn new file mode 100644 index 0000000..42ead69 --- /dev/null +++ b/text_bubble.tscn @@ -0,0 +1,27 @@ +[gd_scene load_steps=2 format=3 uid="uid://dglar4tto3f1s"] + +[ext_resource type="Script" uid="uid://dubgnmdd6p1rs" path="res://text_bubble.gd" id="1_bo3s3"] + +[node name="TextBubble" type="Node2D"] +script = ExtResource("1_bo3s3") + +[node name="ColorRect" type="ColorRect" parent="."] +offset_left = -26.0 +offset_top = -6.0 +offset_right = 14.0 +offset_bottom = 34.0 +scale = Vector2(1.3009955, 0.30328855) +color = Color(1, 0.8980392, 0.7490196, 1) +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="."] +offset_left = -25.0 +offset_top = -3.0 +offset_right = 174.0 +offset_bottom = 20.0 +scale = Vector2(0.25, 0.25) +theme_override_colors/font_color = Color(0, 0, 0, 1) +text = "foo" +horizontal_alignment = 1 +vertical_alignment = 1 +metadata/_edit_use_anchors_ = true |
