Updated Startscreen and added second tutorial step

kziolkowski 7 months ago
parent d88812aacd
commit 89820529ee

@ -1,15 +1,15 @@
join Yeli center join Yeli center
Yeli (_part_side): Hi Vesna! Nice to see you! Yeli (_part_side): Hi Vesna! So nice to see you!
Yeli: It's been so long! Yeli: It's been so long!
[text_input text="How have you been?" var="PLAYERMOOD" placeholder="Awesome!" default="Good" allow_empty="true"] [text_input text="How have you been?" var="PLAYERMOOD" placeholder="good" default="good" allow_empty="true"]
Yeli: It's nice to hear that you've been {PLAYERMOOD}. Yeli: {PLAYERMOOD} huh? Nice!
Yeli: There is so much to do on the farm. Would you like to help me? Yeli: Well, enough chitchat! There is so much to do on the farm. Would you like to help me?
- Absolutely! - Absolutely!
Yeli: That's what I like to hear! Yeli: That's what I like to hear!
- Yes! - Yes!
Yeli: Very good! Yeli: Very good!
- When do I start? - For sure!
Yeli: Awesome! Yeli: Awesome!
Yeli: Ok then let's start with the tilling. In order to till the soil and plant something, you need a hoe. Yeli: Ok then let's start with the tilling. In order to till the soil and plant something, you need a hoe or rake.
Yeli: You can find it leaning against the back fence somewhere. Pick it up and come back to me. Yeli: You can find one leaning against the back fence somewhere. Pick it up and come back to me.
leave Yeli leave Yeli

@ -206,7 +206,7 @@ text = "[E] talk"
[node name="TalkingControl" type="Node2D" parent="." node_paths=PackedStringArray("_sprite")] [node name="TalkingControl" type="Node2D" parent="." node_paths=PackedStringArray("_sprite")]
script = ExtResource("1_hn8at") script = ExtResource("1_hn8at")
_sprite = NodePath("AnimatedSprite") _sprite = NodePath("AnimatedSprite")
_timelinesToPlay = PackedStringArray("yeli_intro_01") _timelinesToPlay = PackedStringArray("yeli_intro_01", "yeli_intro_02")
[node name="AnimatedSprite" type="AnimatedSprite2D" parent="TalkingControl"] [node name="AnimatedSprite" type="AnimatedSprite2D" parent="TalkingControl"]
y_sort_enabled = true y_sort_enabled = true

@ -32,7 +32,8 @@ directories/dch_directory={
directories/dtl_directory={ directories/dtl_directory={
"semi_cat": "res://dialog/semi_cat.dtl", "semi_cat": "res://dialog/semi_cat.dtl",
"test_time_line": "res://dialog/test_time_line.dtl", "test_time_line": "res://dialog/test_time_line.dtl",
"yeli_intro_01": "res://dialog/yeli_intro_01.dtl" "yeli_intro_01": "res://dialog/yeli_intro_01.dtl",
"yeli_intro_02": "res://dialog/yeli_intro_02.dtl"
} }
variables={ variables={
"PLAYERMOOD": "Good" "PLAYERMOOD": "Good"

@ -8,17 +8,24 @@
script = ExtResource("1_fj2fh") script = ExtResource("1_fj2fh")
_sceneToLoad = ExtResource("2_r0y6o") _sceneToLoad = ExtResource("2_r0y6o")
[node name="Background" type="Sprite2D" parent="."] [node name="CanvasLayer" type="CanvasLayer" parent="."]
position = Vector2(880, 524)
scale = Vector2(1.2, 1.2) [node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_qerdf") texture = ExtResource("1_qerdf")
expand_mode = 2
stretch_mode = 6
[node name="Start" type="Button" parent="Background"] [node name="Start" type="Button" parent="CanvasLayer/TextureRect"]
offset_left = 6.66665 offset_left = 571.0
offset_top = 304.167 offset_top = 559.0
offset_right = 52.6666 offset_right = 617.0
offset_bottom = 335.167 offset_bottom = 590.0
scale = Vector2(2, 2) scale = Vector2(2, 2)
text = "Start" text = "Start"
[connection signal="pressed" from="Background/Start" to="." method="LoadScene"] [connection signal="pressed" from="CanvasLayer/TextureRect/Start" to="." method="LoadScene"]

Loading…
Cancel
Save