show sneak peek as hints

This commit is contained in:
Fabien Freling 2020-05-24 17:14:51 +02:00
parent 774ad1b565
commit 80198db393
5 changed files with 85 additions and 45 deletions

View file

@ -60,10 +60,10 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -512.0
margin_left = -300.0
margin_top = -300.0
margin_right = -512.0
margin_bottom = -300.0
margin_right = 300.0
margin_bottom = 300.0
color = Color( 0.12549, 0.235294, 0.337255, 1 )
__meta__ = {
"_edit_use_anchors_": false
@ -75,7 +75,6 @@ anims/MovingPiece = SubResource( 1 )
[node name="MockPiece" parent="AnimationPlayer" instance=ExtResource( 2 )]
visible = false
position = Vector2( 15, 15 )
size = 160
[node name="PlaceholderTexture" type="ColorRect" parent="AnimationPlayer/MockPiece"]
margin_right = 160.0
@ -100,5 +99,7 @@ one_shot = true
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
[node name="HintTween" type="Tween" parent="."]
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]