From 08ae1a42c694ec409921225daa59ab42fac75d58 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 9 Aug 2020 16:29:26 +0300 Subject: Allow options in dialogue --- scenes/DialogueOptionButton.tscn | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scenes/DialogueOptionButton.tscn (limited to 'scenes/DialogueOptionButton.tscn') diff --git a/scenes/DialogueOptionButton.tscn b/scenes/DialogueOptionButton.tscn new file mode 100644 index 0000000..033bbba --- /dev/null +++ b/scenes/DialogueOptionButton.tscn @@ -0,0 +1,33 @@ +[gd_scene load_steps=4 format=2] + +[sub_resource type="StyleBoxFlat" id=3] +bg_color = Color( 0.368627, 0.0352941, 0.313726, 1 ) +border_width_left = 6 +border_width_right = 6 + +[sub_resource type="StyleBoxFlat" id=2] +bg_color = Color( 0.484375, 0.110941, 0.422868, 1 ) +border_width_left = 6 +border_width_right = 6 +border_color = Color( 0.486275, 0.109804, 0.423529, 1 ) + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0.368627, 0.0352941, 0.313726, 1 ) +border_width_left = 6 +border_width_right = 6 +border_color = Color( 0.368627, 0.0352941, 0.313726, 1 ) + +[node name="DialogueOptionButton" type="Button"] +margin_left = 88.0 +margin_right = 128.0 +margin_bottom = 20.0 +rect_min_size = Vector2( 40, 20 ) +size_flags_horizontal = 3 +custom_styles/hover = SubResource( 3 ) +custom_styles/pressed = SubResource( 2 ) +custom_styles/focus = SubResource( 3 ) +custom_styles/normal = SubResource( 1 ) +text = "Long text" +__meta__ = { +"_edit_use_anchors_": false +} -- cgit v1.3