- Main menu "Maze" button opens a setup panel (width, height in screens; complexity 1-5) and generates a maze of rock chambers joined by tubes, with Start and End pads and a win panel. - New one-way tube kind: orange tiles that only let the slime in at their entrance, with motes drifting into it (OneWayTube, TubeVacuum). The auto-tube trace moved to PixelStream.trace_tube so the player and the maze validator share it. - Generation: chamber graph (spanning tree rooted at End, one-way tubes only towards End on the route, extra tubes), carved with AStarGrid2D. MazeValidator re-derives the chamber graph from the tiles and checks that End is reachable from every chamber reachable from Start. - tests/maze_check.gd: headless batch check (360 mazes) plus a known soft-lock the validator must reject. See docs/MAZE.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
269 lines
13 KiB
Text
Executable file
269 lines
13 KiB
Text
Executable file
[gd_resource type="TileSet" format=3 uid="uid://tuiytikmuvdy"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://be70rcnontnlp" path="res://Assets/LevelTiles.png" id="1_ufwbk"]
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_0cw2b"]
|
|
texture = ExtResource("1_ufwbk")
|
|
texture_region_size = Vector2i(32, 32)
|
|
0:0/0 = 0
|
|
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
|
|
1:0/next_alternative_id = 6
|
|
1:0/0 = 0
|
|
1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -16, -3)
|
|
1:0/0/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, 16, 3, 16, 16, -16, 16)
|
|
1:0/0/custom_data_0 = 10
|
|
1:0/0/custom_data_1 = true
|
|
1:0/1 = 1
|
|
1:0/1/modulate = Color(0.6, 1, 0.75, 1)
|
|
1:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -16, -3)
|
|
1:0/1/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, 16, 3, 16, 16, -16, 16)
|
|
1:0/1/custom_data_0 = 10
|
|
1:0/2 = 2
|
|
1:0/2/modulate = Color(1, 0.7, 0.95, 1)
|
|
1:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -16, -3)
|
|
1:0/2/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, 16, 3, 16, 16, -16, 16)
|
|
1:0/2/custom_data_0 = 10
|
|
1:0/2/custom_data_2 = true
|
|
1:0/3 = 3
|
|
1:0/3/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
1:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -16, -3)
|
|
1:0/3/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, 16, 3, 16, 16, -16, 16)
|
|
1:0/3/custom_data_0 = 10
|
|
1:0/3/custom_data_3 = true
|
|
1:0/4 = 4
|
|
1:0/4/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
1:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -16, -3)
|
|
1:0/4/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, 16, 3, 16, 16, -16, 16)
|
|
1:0/4/custom_data_0 = 10
|
|
1:0/4/custom_data_3 = true
|
|
1:0/4/custom_data_4 = 2
|
|
1:0/5 = 5
|
|
1:0/5/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
1:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -16, -3)
|
|
1:0/5/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, 16, 3, 16, 16, -16, 16)
|
|
1:0/5/custom_data_0 = 10
|
|
1:0/5/custom_data_3 = true
|
|
1:0/5/custom_data_4 = 8
|
|
2:0/next_alternative_id = 6
|
|
2:0/0 = 0
|
|
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 16, -16, 16)
|
|
2:0/0/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, 16, 3, 16)
|
|
2:0/0/custom_data_0 = 5
|
|
2:0/0/custom_data_1 = true
|
|
2:0/1 = 1
|
|
2:0/1/modulate = Color(0.6, 1, 0.75, 1)
|
|
2:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 16, -16, 16)
|
|
2:0/1/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, 16, 3, 16)
|
|
2:0/1/custom_data_0 = 5
|
|
2:0/2 = 2
|
|
2:0/2/modulate = Color(1, 0.7, 0.95, 1)
|
|
2:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 16, -16, 16)
|
|
2:0/2/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, 16, 3, 16)
|
|
2:0/2/custom_data_0 = 5
|
|
2:0/2/custom_data_2 = true
|
|
2:0/3 = 3
|
|
2:0/3/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
2:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 16, -16, 16)
|
|
2:0/3/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, 16, 3, 16)
|
|
2:0/3/custom_data_0 = 5
|
|
2:0/3/custom_data_3 = true
|
|
2:0/4 = 4
|
|
2:0/4/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
2:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 16, -16, 16)
|
|
2:0/4/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, 16, 3, 16)
|
|
2:0/4/custom_data_0 = 5
|
|
2:0/4/custom_data_3 = true
|
|
2:0/4/custom_data_4 = 1
|
|
2:0/5 = 5
|
|
2:0/5/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
2:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 16, -16, 16)
|
|
2:0/5/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, 16, 3, 16)
|
|
2:0/5/custom_data_0 = 5
|
|
2:0/5/custom_data_3 = true
|
|
2:0/5/custom_data_4 = 4
|
|
3:0/next_alternative_id = 3
|
|
3:0/0 = 0
|
|
3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
3:0/0/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
3:0/0/physics_layer_0/polygon_2/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
3:0/0/physics_layer_0/polygon_3/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
3:0/0/custom_data_0 = 15
|
|
3:0/0/custom_data_1 = true
|
|
3:0/1 = 1
|
|
3:0/1/modulate = Color(0.6, 1, 0.75, 1)
|
|
3:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
3:0/1/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
3:0/1/physics_layer_0/polygon_2/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
3:0/1/physics_layer_0/polygon_3/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
3:0/1/custom_data_0 = 15
|
|
3:0/2 = 2
|
|
3:0/2/modulate = Color(1, 0.7, 0.95, 1)
|
|
3:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
3:0/2/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
3:0/2/physics_layer_0/polygon_2/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
3:0/2/physics_layer_0/polygon_3/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
3:0/2/custom_data_0 = 15
|
|
3:0/2/custom_data_2 = true
|
|
4:0/next_alternative_id = 6
|
|
4:0/0 = 0
|
|
4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 3, 16, 3, 16, 16, -16, 16)
|
|
4:0/0/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
4:0/0/custom_data_0 = 3
|
|
4:0/0/custom_data_1 = true
|
|
4:0/1 = 1
|
|
4:0/1/modulate = Color(0.6, 1, 0.75, 1)
|
|
4:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 3, 16, 3, 16, 16, -16, 16)
|
|
4:0/1/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
4:0/1/custom_data_0 = 3
|
|
4:0/2 = 2
|
|
4:0/2/modulate = Color(1, 0.7, 0.95, 1)
|
|
4:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 3, 16, 3, 16, 16, -16, 16)
|
|
4:0/2/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
4:0/2/custom_data_0 = 3
|
|
4:0/2/custom_data_2 = true
|
|
4:0/3 = 3
|
|
4:0/3/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
4:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 3, 16, 3, 16, 16, -16, 16)
|
|
4:0/3/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
4:0/3/custom_data_0 = 3
|
|
4:0/3/custom_data_3 = true
|
|
4:0/4 = 4
|
|
4:0/4/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
4:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 3, 16, 3, 16, 16, -16, 16)
|
|
4:0/4/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
4:0/4/custom_data_0 = 3
|
|
4:0/4/custom_data_3 = true
|
|
4:0/4/custom_data_4 = 1
|
|
4:0/5 = 5
|
|
4:0/5/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
4:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, -3, -16, -3, 3, 16, 3, 16, 16, -16, 16)
|
|
4:0/5/physics_layer_0/polygon_1/points = PackedVector2Array(3, -16, 16, -16, 16, -3, 3, -3)
|
|
4:0/5/custom_data_0 = 3
|
|
4:0/5/custom_data_3 = true
|
|
4:0/5/custom_data_4 = 2
|
|
5:0/next_alternative_id = 6
|
|
5:0/0 = 0
|
|
5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(3, -16, 16, -16, 16, 16, -16, 16, -16, 3, 3, 3)
|
|
5:0/0/physics_layer_0/polygon_1/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
5:0/0/custom_data_0 = 9
|
|
5:0/0/custom_data_1 = true
|
|
5:0/1 = 1
|
|
5:0/1/modulate = Color(0.6, 1, 0.75, 1)
|
|
5:0/1/physics_layer_0/polygon_0/points = PackedVector2Array(3, -16, 16, -16, 16, 16, -16, 16, -16, 3, 3, 3)
|
|
5:0/1/physics_layer_0/polygon_1/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
5:0/1/custom_data_0 = 9
|
|
5:0/2 = 2
|
|
5:0/2/modulate = Color(1, 0.7, 0.95, 1)
|
|
5:0/2/physics_layer_0/polygon_0/points = PackedVector2Array(3, -16, 16, -16, 16, 16, -16, 16, -16, 3, 3, 3)
|
|
5:0/2/physics_layer_0/polygon_1/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
5:0/2/custom_data_0 = 9
|
|
5:0/2/custom_data_2 = true
|
|
5:0/3 = 3
|
|
5:0/3/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
5:0/3/physics_layer_0/polygon_0/points = PackedVector2Array(3, -16, 16, -16, 16, 16, -16, 16, -16, 3, 3, 3)
|
|
5:0/3/physics_layer_0/polygon_1/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
5:0/3/custom_data_0 = 9
|
|
5:0/3/custom_data_3 = true
|
|
5:0/4 = 4
|
|
5:0/4/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
5:0/4/physics_layer_0/polygon_0/points = PackedVector2Array(3, -16, 16, -16, 16, 16, -16, 16, -16, 3, 3, 3)
|
|
5:0/4/physics_layer_0/polygon_1/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
5:0/4/custom_data_0 = 9
|
|
5:0/4/custom_data_3 = true
|
|
5:0/4/custom_data_4 = 1
|
|
5:0/5 = 5
|
|
5:0/5/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
5:0/5/physics_layer_0/polygon_0/points = PackedVector2Array(3, -16, 16, -16, 16, 16, -16, 16, -16, 3, 3, 3)
|
|
5:0/5/physics_layer_0/polygon_1/points = PackedVector2Array(-16, -16, -3, -16, -3, -3, -16, -3)
|
|
5:0/5/custom_data_0 = 9
|
|
5:0/5/custom_data_3 = true
|
|
5:0/5/custom_data_4 = 8
|
|
0:1/next_alternative_id = 6
|
|
0:1/0 = 0
|
|
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 3, 16, 3, -3, -16, -3)
|
|
0:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
0:1/0/custom_data_0 = 12
|
|
0:1/0/custom_data_1 = true
|
|
0:1/1 = 1
|
|
0:1/1/modulate = Color(0.6, 1, 0.75, 1)
|
|
0:1/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 3, 16, 3, -3, -16, -3)
|
|
0:1/1/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
0:1/1/custom_data_0 = 12
|
|
0:1/2 = 2
|
|
0:1/2/modulate = Color(1, 0.7, 0.95, 1)
|
|
0:1/2/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 3, 16, 3, -3, -16, -3)
|
|
0:1/2/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
0:1/2/custom_data_0 = 12
|
|
0:1/2/custom_data_2 = true
|
|
0:1/3 = 3
|
|
0:1/3/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
0:1/3/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 3, 16, 3, -3, -16, -3)
|
|
0:1/3/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
0:1/3/custom_data_0 = 12
|
|
0:1/3/custom_data_3 = true
|
|
0:1/4 = 4
|
|
0:1/4/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
0:1/4/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 3, 16, 3, -3, -16, -3)
|
|
0:1/4/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
0:1/4/custom_data_0 = 12
|
|
0:1/4/custom_data_3 = true
|
|
0:1/4/custom_data_4 = 4
|
|
0:1/5 = 5
|
|
0:1/5/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
0:1/5/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, 3, 16, 3, -3, -16, -3)
|
|
0:1/5/physics_layer_0/polygon_1/points = PackedVector2Array(-16, 3, -3, 3, -3, 16, -16, 16)
|
|
0:1/5/custom_data_0 = 12
|
|
0:1/5/custom_data_3 = true
|
|
0:1/5/custom_data_4 = 8
|
|
1:1/next_alternative_id = 6
|
|
1:1/0 = 0
|
|
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -3, -3, -3, 16, -16, 16)
|
|
1:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
1:1/0/custom_data_0 = 6
|
|
1:1/0/custom_data_1 = true
|
|
1:1/1 = 1
|
|
1:1/1/modulate = Color(0.6, 1, 0.75, 1)
|
|
1:1/1/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -3, -3, -3, 16, -16, 16)
|
|
1:1/1/physics_layer_0/polygon_1/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
1:1/1/custom_data_0 = 6
|
|
1:1/2 = 2
|
|
1:1/2/modulate = Color(1, 0.7, 0.95, 1)
|
|
1:1/2/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -3, -3, -3, 16, -16, 16)
|
|
1:1/2/physics_layer_0/polygon_1/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
1:1/2/custom_data_0 = 6
|
|
1:1/2/custom_data_2 = true
|
|
1:1/3 = 3
|
|
1:1/3/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
1:1/3/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -3, -3, -3, 16, -16, 16)
|
|
1:1/3/physics_layer_0/polygon_1/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
1:1/3/custom_data_0 = 6
|
|
1:1/3/custom_data_3 = true
|
|
1:1/4 = 4
|
|
1:1/4/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
1:1/4/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -3, -3, -3, 16, -16, 16)
|
|
1:1/4/physics_layer_0/polygon_1/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
1:1/4/custom_data_0 = 6
|
|
1:1/4/custom_data_3 = true
|
|
1:1/4/custom_data_4 = 2
|
|
1:1/5 = 5
|
|
1:1/5/modulate = Color(1.7, 0.95, 0.3, 1)
|
|
1:1/5/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -3, -3, -3, -3, 16, -16, 16)
|
|
1:1/5/physics_layer_0/polygon_1/points = PackedVector2Array(3, 3, 16, 3, 16, 16, 3, 16)
|
|
1:1/5/custom_data_0 = 6
|
|
1:1/5/custom_data_3 = true
|
|
1:1/5/custom_data_4 = 4
|
|
|
|
[resource]
|
|
tile_size = Vector2i(32, 32)
|
|
physics_layer_0/collision_layer = 1
|
|
custom_data_layer_0/name = "tube_openings"
|
|
custom_data_layer_0/type = 2
|
|
custom_data_layer_1/name = "tube_manual"
|
|
custom_data_layer_1/type = 1
|
|
custom_data_layer_2/name = "tube_goo"
|
|
custom_data_layer_2/type = 1
|
|
custom_data_layer_3/name = "tube_one_way"
|
|
custom_data_layer_3/type = 1
|
|
custom_data_layer_4/name = "tube_one_way_entry"
|
|
custom_data_layer_4/type = 2
|
|
sources/0 = SubResource("TileSetAtlasSource_0cw2b")
|