Доработка. Плавное смещение карты на текущие координаты

This commit is contained in:
sasha80
2025-04-28 14:19:29 +03:00
parent 2e24683d26
commit cafa1f2ae7

View File

@@ -23,12 +23,12 @@ class_name MercatorTileMap
@export_color_no_alpha() var back_color: = Color.BLACK
const default_size: = 400.0
var is_centered: = false
var is_anim_playng: = false
@export var animation_time: float = 0.1:
set(val):
animation_time = val
$player.get_animation('goto').lenght = animation_time
@export var size: Vector2i = Vector2i(default_size, default_size):