From 872d1f9200584973b2156102f0e7f03b3d271687 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 4 Dec 2025 22:04:59 +0200 Subject: Add initial dialogue system --- text_bubble.tscn | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 text_bubble.tscn (limited to 'text_bubble.tscn') 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 -- cgit v1.3