summaryrefslogtreecommitdiffstats
path: root/map.tscn
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-21 16:37:45 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-21 16:37:45 +0200
commit31d7be95a48f3d36f2daac950dbc7cdaabeb5b86 (patch)
tree4481f2db453260cdad9273b70e5282cd51f9ec46 /map.tscn
parent413d219eba1157284a6a90ecb9f736058158bb5f (diff)
Add full screen map and pause
Diffstat (limited to 'map.tscn')
-rw-r--r--map.tscn50
1 files changed, 32 insertions, 18 deletions
diff --git a/map.tscn b/map.tscn
index 0d94613..2e98503 100644
--- a/map.tscn
+++ b/map.tscn
@@ -1,25 +1,26 @@
-[gd_scene load_steps=3 format=3 uid="uid://cseqghymhiyqo"]
+[gd_scene load_steps=4 format=3 uid="uid://cseqghymhiyqo"]
[ext_resource type="Script" uid="uid://dh0b4xa4f8h1o" path="res://map.gd" id="1_wijl4"]
[ext_resource type="PackedScene" uid="uid://clm2kocuhjqbb" path="res://map_room.tscn" id="2_e0an3"]
+[ext_resource type="Texture2D" uid="uid://c1h4ev7ma1neg" path="res://assets/kenney_1-bit-input-prompts-pixel-16/Tiles (White)/tile_0200.png" id="3_e0an3"]
[node name="Map" type="CanvasLayer"]
+process_mode = 3
script = ExtResource("1_wijl4")
inactive_color = Color(0.747755, 0.7671235, 0.89114594, 1)
active_color = Color(0, 0.77254903, 0.7764706, 1)
[node name="Bg" type="ColorRect" parent="."]
-offset_left = 3.0
-offset_top = 2.0
-offset_right = 29.0
-offset_bottom = 23.0
-color = Color(0, 0, 0, 0.5019608)
+offset_right = 192.0
+offset_bottom = 108.0
+mouse_filter = 2
+color = Color(0, 0.019607844, 0.039215688, 0.81960785)
[node name="RoomTest1" parent="." instance=ExtResource("2_e0an3")]
-offset_left = 7.0
-offset_top = 6.0
-offset_right = 15.0
-offset_bottom = 11.0
+offset_left = 84.0
+offset_top = 48.0
+offset_right = 92.0
+offset_bottom = 53.0
[node name="Line2D" type="Line2D" parent="RoomTest1"]
position = Vector2(7.275, 2.5)
@@ -32,13 +33,26 @@ points = PackedVector2Array(0.7251587, 0.15686035, 0.7249985, -2.5)
width = 1.0
[node name="RoomTest3" parent="." instance=ExtResource("2_e0an3")]
-offset_left = 7.0
-offset_top = 13.0
-offset_right = 15.0
-offset_bottom = 18.0
+offset_left = 84.0
+offset_top = 55.0
+offset_right = 92.0
+offset_bottom = 60.0
[node name="RoomTest2" parent="." instance=ExtResource("2_e0an3")]
-offset_left = 17.0
-offset_top = 6.0
-offset_right = 25.0
-offset_bottom = 11.0
+offset_left = 94.0
+offset_top = 48.0
+offset_right = 102.0
+offset_bottom = 53.0
+
+[node name="UnpauseButton" type="Button" parent="."]
+offset_left = 188.0
+offset_top = 105.0
+offset_right = 212.0
+offset_bottom = 129.0
+rotation = 3.1415927
+mouse_default_cursor_shape = 2
+action_mode = 0
+icon = ExtResource("3_e0an3")
+flat = true
+
+[connection signal="pressed" from="UnpauseButton" to="." method="_on_unpause_button_pressed"]