From f01b5316a7380abd1edfd08d6a93b113a8ab04b5 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Fri, 23 Jan 2026 11:08:42 +0300 Subject: [PATCH 1/3] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80.=20=D0=9D=D0=B5=D1=83=D0=BC=D0=B5=D1=81=D1=82=D0=BD?= =?UTF-8?q?=D1=8B=D0=B5=20=D0=B4=D0=B2=D0=BE=D0=B9=D0=BD=D1=8B=D0=B5=20?= =?UTF-8?q?=D0=BA=D0=B0=D0=B2=D1=8B=D1=87=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/tilemap/tilemap.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenes/tilemap/tilemap.gd b/scenes/tilemap/tilemap.gd index 99f75444..272e059b 100644 --- a/scenes/tilemap/tilemap.gd +++ b/scenes/tilemap/tilemap.gd @@ -30,8 +30,8 @@ const TILE_REQUEST_NAME: = 'tile_request_%d' @export var show_ship_radius: bool = true @export var ship_radius_km: float = 8.0 @onready var coordinates_label: String -@onready var threat_mark: PackedScene = load("res://scenes/tilemap/threat.tscn") -@onready var ship_mark: PackedScene = load("res://scenes/tilemap/ship-mark.tscn") +@onready var threat_mark: PackedScene = load('res://scenes/tilemap/threat.tscn') +@onready var ship_mark: PackedScene = load('res://scenes/tilemap/ship-mark.tscn') var ship_id := 9999 var ship_instance: Node2D = null const default_size: = 400.0 From 4ad565273714173dc9ac15d51e1900ce2d485c40 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Fri, 23 Jan 2026 11:09:29 +0300 Subject: [PATCH 2/3] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0.=20=D0=97=D0=B0=D0=B4=D0=B0=D1=82=D1=8C=20=D0=BC?= =?UTF-8?q?=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9=20=D1=83=D1=80=D0=BE=D0=B2=D0=B5=D0=BD=D1=8C=20=D0=BA?= =?UTF-8?q?=D0=B0=D1=80=D1=82=20=D0=BD=D0=B0=20=D1=81=D0=B5=D1=80=D0=B2?= =?UTF-8?q?=D0=B5=D1=80=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/tilemap/tilemap.tscn | 1 + 1 file changed, 1 insertion(+) diff --git a/scenes/tilemap/tilemap.tscn b/scenes/tilemap/tilemap.tscn index aee29512..ab492dd2 100644 --- a/scenes/tilemap/tilemap.tscn +++ b/scenes/tilemap/tilemap.tscn @@ -28,6 +28,7 @@ size = Vector2(400, 400) [node name="tilemap" type="CanvasGroup" groups=["gui_items"]] script = ExtResource("1_l64tp") +max_zoom_level_server = 11 [node name="canvas" type="TextureRect" parent="." groups=["gui_items"]] clip_contents = true From abfb98db46b7d597469a8976959a4ed199730e86 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Fri, 23 Jan 2026 14:33:56 +0300 Subject: [PATCH 3/3] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80.=20=D0=9D=D0=B5=D1=83=D0=BC=D0=B5=D1=81=D1=82=D0=BD?= =?UTF-8?q?=D1=8B=D0=B5=20=D0=B4=D0=B2=D0=BE=D0=B9=D0=BD=D1=8B=D0=B5=20?= =?UTF-8?q?=D0=BA=D0=B0=D0=B2=D1=8B=D1=87=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/tilemap/tilemap.gd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scenes/tilemap/tilemap.gd b/scenes/tilemap/tilemap.gd index 272e059b..244f6eb8 100644 --- a/scenes/tilemap/tilemap.gd +++ b/scenes/tilemap/tilemap.gd @@ -771,19 +771,19 @@ func zoom_out() -> void: func _on_zoom_plus_button_down() -> void: - zoom_action = "in" + zoom_action = 'in' perform_zoom() zoom_timer.start(0.3) func _on_zoom_minus_button_down() -> void: - zoom_action = "out" + zoom_action = 'out' perform_zoom() zoom_timer.start(0.3) func _on_zoom_button_up() -> void: - zoom_action = "" + zoom_action = '' zoom_timer.stop() @@ -793,8 +793,8 @@ func _on_zoom_timeout(): func perform_zoom(): - if zoom_action != "": - if zoom_action == "in": + if zoom_action != '': + if zoom_action == 'in': zoom_in() else: zoom_out()