wip: adding prompt to card picker

This commit is contained in:
betalars 2023-08-30 11:05:07 +02:00
parent 11570409b5
commit f962cdfe7a
2 changed files with 15 additions and 1 deletions

View File

@ -32,7 +32,10 @@ var selection_state = INI:
selection_state = state selection_state = state
_input_locked = !(state == CARDS or state == POSTS) _input_locked = !(state == CARDS or state == POSTS)
if state == DONE: if state == CARDS_SELECTED:
var tween = get_tree().create_tween()
tween.tween_property($thought_prompt, "modulate", Color(1, 1, 1, 0), 0.5)
elif state == DONE:
reset() reset()
var anim_players:Array = [] var anim_players:Array = []

View File

@ -1627,3 +1627,14 @@ text = "Post 4"
[node name="board of devs" parent="." instance=ExtResource("4_1kvte")] [node name="board of devs" parent="." instance=ExtResource("4_1kvte")]
visible = false visible = false
layout_mode = 2 layout_mode = 2
[node name="thought_prompt" type="Control" parent="."]
layout_mode = 2
[node name="Label" type="Label" parent="thought_prompt"]
layout_mode = 2
offset_left = -225.0
offset_top = -196.0
offset_right = 225.0
offset_bottom = -158.0
text = "Why does that story mean so much to me?"