speed up pieces coming back from hints
This commit is contained in:
parent
80198db393
commit
23d75ab576
|
@ -452,7 +452,7 @@ func discard_hints() -> void:
|
||||||
for r in range(rows):
|
for r in range(rows):
|
||||||
var piece: Piece = pieces[c][r]
|
var piece: Piece = pieces[c][r]
|
||||||
if piece.taquin_current_index != piece.taquin_original_index:
|
if piece.taquin_current_index != piece.taquin_original_index:
|
||||||
hint_tween.interpolate_property(piece, "position", piece.position, piece.taquin_current_position, 1.0)
|
hint_tween.interpolate_property(piece, "position", piece.position, piece.taquin_current_position, 0.2)
|
||||||
hint_tween.start()
|
hint_tween.start()
|
||||||
_hint_active = false
|
_hint_active = false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue