[gd_scene load_steps=13 format=3 uid="uid://cey3jxnpmommt"] [ext_resource type="Material" uid="uid://bb4b8jm2tyy81" path="res://mat_palette.tres" id="1_edsjh"] [ext_resource type="Script" uid="uid://dxbspy72bg0db" path="res://top.gd" id="1_on2c2"] [ext_resource type="Script" uid="uid://cph2apstgper1" path="res://palette_shader.gd" id="5_ch5ua"] [ext_resource type="PackedScene" uid="uid://cciwccvljuuyq" path="res://touch_screen_ui.tscn" id="5_edsjh"] [ext_resource type="Script" uid="uid://civ5a43u5151a" path="res://transition_player.gd" id="6_ch5ua"] [ext_resource type="Script" uid="uid://dh0b4xa4f8h1o" path="res://pause_menu.gd" id="6_ql50d"] [ext_resource type="PackedScene" uid="uid://clm2kocuhjqbb" path="res://map_room.tscn" id="7_ql50d"] [ext_resource type="Script" uid="uid://bwdk675n1q0dh" path="res://debug_info.gd" id="8_7c27k"] [sub_resource type="Animation" id="Animation_58ij3"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("PaletteShader:brightness") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.0] } [sub_resource type="Animation" id="Animation_edsjh"] resource_name = "room_trans_end" length = 2.0 tracks/0/type = "method" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("TransitionPlayer") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(2), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"_transition_end" }] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("PaletteShader:brightness") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 2), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [-1.0, 0.19999999999999996] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("PaletteShader") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.5, 1, 1.5, 2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1), "values": [{ "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }] } [sub_resource type="Animation" id="Animation_2exal"] resource_name = "room_trans_start" length = 2.0 tracks/0/type = "method" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("TransitionPlayer") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(2), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"_transition_start" }] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("PaletteShader:brightness") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 2), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.19999999999999996, -1.0] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("PaletteShader") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.5, 1, 1.5, 2), "transitions": PackedFloat32Array(1, 1, 1, 1, 1), "values": [{ "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }, { "args": [], "method": &"notify_brightness_changed" }] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_2exal"] _data = { &"RESET": SubResource("Animation_58ij3"), &"room_trans_end": SubResource("Animation_edsjh"), &"room_trans_start": SubResource("Animation_2exal") } [node name="Top" type="Node2D"] process_mode = 3 material = ExtResource("1_edsjh") script = ExtResource("1_on2c2") [node name="TransitionPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_2exal") } speed_scale = 3.0 script = ExtResource("6_ch5ua") [node name="PauseMenu" type="CanvasLayer" parent="." node_paths=PackedStringArray("pages")] script = ExtResource("6_ql50d") pages = [NodePath("Map"), NodePath("Status"), NodePath("System")] [node name="Bg" type="ColorRect" parent="PauseMenu"] offset_right = 192.0 offset_bottom = 108.0 mouse_filter = 2 color = Color(0, 0.019607844, 0.039215688, 0.88235295) [node name="Map" type="CanvasGroup" parent="PauseMenu"] [node name="RoomTest1" parent="PauseMenu/Map" instance=ExtResource("7_ql50d")] offset_left = 63.0 offset_top = 41.0 offset_right = 79.0 offset_bottom = 51.0 metadata/_edit_use_anchors_ = true [node name="Line2D" type="Line2D" parent="PauseMenu/Map/RoomTest1"] z_index = -1 points = PackedVector2Array(8, 19, 8, 5, 30, 5) width = 2.0 default_color = Color(0.86000663, 0.84067386, 1.92523e-06, 1) [node name="RoomTest2" parent="PauseMenu/Map" instance=ExtResource("7_ql50d")] offset_left = 83.0 offset_top = 41.0 offset_right = 99.0 offset_bottom = 51.0 metadata/_edit_use_anchors_ = true [node name="RoomTest3" parent="PauseMenu/Map" instance=ExtResource("7_ql50d")] offset_left = 63.0 offset_top = 55.0 offset_right = 79.0 offset_bottom = 65.0 metadata/_edit_use_anchors_ = true [node name="Status" type="CanvasGroup" parent="PauseMenu"] visible = false scale = Vector2(0.25, 0.25) [node name="Label" type="Label" parent="PauseMenu/Status"] offset_left = 320.0 offset_top = 192.0 offset_right = 411.0 offset_bottom = 215.0 text = "Status page" [node name="System" type="CanvasGroup" parent="PauseMenu"] scale = Vector2(0.25, 0.25) [node name="QuitButton" type="Button" parent="PauseMenu/System"] offset_left = 300.0 offset_top = 172.0 offset_right = 455.0 offset_bottom = 203.0 text = "Quit to main menu" [node name="AutosavedAgoText" type="Label" parent="PauseMenu/System"] offset_left = 296.0 offset_top = 208.0 offset_right = 460.0 offset_bottom = 231.0 text = "Autosaved TODO ago" [node name="TouchScreenUI" parent="." instance=ExtResource("5_edsjh")] [node name="PaletteShader" type="CanvasLayer" parent="."] layer = 10 script = ExtResource("5_ch5ua") [node name="ColorRect" type="ColorRect" parent="PaletteShader"] material = ExtResource("1_edsjh") anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="DebugInfo" type="CanvasLayer" parent="."] scale = Vector2(0.125, 0.125) transform = Transform2D(0.125, 0, 0, 0.125, 0, 0) script = ExtResource("8_7c27k") [node name="Label" type="Label" parent="DebugInfo"] offset_right = 40.0 offset_bottom = 23.0 text = "debug info"