Skip to content

Instantly share code, notes, and snippets.

@sfiera
Forked from anonymous/readme.txt
Last active August 29, 2015 14:13
Show Gist options
  • Save sfiera/0f726904b9275fa8ef40 to your computer and use it in GitHub Desktop.
Save sfiera/0f726904b9275fa8ef40 to your computer and use it in GitHub Desktop.
Tunnel City Small (PuzzleScript tech demo, X-Ray version)
Play this game at http://www.puzzlescript.net/play.html?p=0f726904b9275fa8ef40
title Tunnel City Small
author Chris Pickel
homepage www.sfiera.net
run_rules_on_level_start
key_repeat_interval 0.25
(zoomscreen 7x6)
========
OBJECTS
========
Background
Transparent
Player
White
UpView
Blue
DownView
Blue
LeftView
Blue
RightView
Blue
Blocker *
Red
Floor 5
Brown Black
00010
00000
01000
00000
00000
Ceiling
DarkBrown
Wall1 3
DarkGrey Grey
00100
00100
00100
00100
00100
Wall1LeftEdge [
DarkGrey Grey Black
20100
20100
20100
20100
20100
Wall1RightEdge ]
DarkGrey Grey Black
00102
00102
00102
00102
00102
Wall1B W
DarkGrey Grey
01010
01010
01010
01010
01010
Wall1C X
DarkGrey Grey
10101
10101
10101
10101
10101
Wall2 7
#333 #555
00100
00100
00100
00100
00100
Wall2LeftEdge {
#333 #555 Black
20100
20100
20100
20100
20100
Wall2RightEdge }
#333 #555 Black
00102
00102
00102
00102
00102
Wall2B Y
#333 #555
01010
01010
01010
01010
01010
Wall2C Z
#333 #555
10101
10101
10101
10101
10101
TopRightSlopingWall
Transparent DarkBrown Black
11112
11120
11200
12000
20000
BottomRightSlopingWall
Transparent Brown Black
20000
12000
11200
11120
11112
TopLeftSlopingWall
Transparent DarkBrown Black
21111
02111
00211
00021
00002
BottomLeftSlopingWall
Transparent Brown Black
00002
00021
00211
02111
21111
CeilingEdge ,
DarkBrown Black
00000
00000
00000
00000
11111
FloorEdge "
Brown Black
11111
00000
01000
00000
00000
Unfixed
Transparent
MapPlayerUp
LightBlue Blue
.....
..0..
..1..
.....
.....
MapPlayerDown
LightBlue Blue
.....
.....
..1..
..0..
.....
MapPlayerLeft
LightBlue Blue
.....
.....
.01..
.....
.....
MapPlayerRight
LightBlue Blue
.....
.....
..10.
.....
.....
MapRight
Brown DarkGray #333
12222
10000
10000
10000
22222
MapTop
Brown DarkGray #333
10001
10001
10001
10001
22222
MapLeftBottom
Brown DarkGray #333
22221
00001
00001
00001
10001
=======
LEGEND
=======
. = Background
! = LeftView and Wall1
@ = UpView and Wall2B and Player
# = RightView and Wall1
$ = DownView and Wall2
+ = MapTop and MapPlayerUp
1 = Ceiling
2 = TopRightSlopingWall and Wall2
4 = BottomRightSlopingWall and Wall2
6 = BottomLeftSlopingWall and Wall2
8 = TopLeftSlopingWall and Wall2
A = TopRightSlopingWall and Wall1
B = BottomRightSlopingWall and Wall1
C = BottomLeftSlopingWall and Wall1
D = TopLeftSlopingWall and Wall1
╶ = MapRight
╵ = MapTop
┐ = MapLeftBottom
Map = MapRight or MapTop or MapLeftBottom
MapPlayer = MapPlayerUp or MapPlayerDown or MapPlayerLeft or MapPlayerRight
Wall = Wall1 or Wall2 or Wall1B or Wall2B or Wall1C or Wall2C or Wall1LeftEdge or Wall2LeftEdge or Wall1RightEdge or Wall2RightEdge
Border = TopRightSlopingWall or BottomRightSlopingWall or BottomLeftSlopingWall or TopLeftSlopingWall or FloorEdge or CeilingEdge
View = UpView or LeftView or RightView or DownView
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Map
MapPlayer
Wall
Ceiling, Floor, Border
View, Blocker
Player
Unfixed
======
RULES
======
[action Player Map] [UpView] -> [Map] [stationary Player UpView]
[Player Map] -> [stationary Player Map]
[action Player no Map] [MapPlayer] -> [] [Player MapPlayer]
[Player] -> [Unfixed Player]
[View] -> [Unfixed View]
[MapPlayer] -> [Unfixed MapPlayer]
[left Player] [Unfixed LeftView] -> [left Player] [DownView]
[left Player] [Unfixed DownView] -> [left Player] [RightView]
[left Player] [Unfixed RightView] -> [left Player] [UpView]
[left Player] [Unfixed UpView] -> [left Player] [LeftView]
[left Player] [Unfixed MapPlayerLeft] -> [left Player] [MapPlayerDown]
[left Player] [Unfixed MapPlayerDown] -> [left Player] [MapPlayerRight]
[left Player] [Unfixed MapPlayerRight] -> [left Player] [MapPlayerUp]
[left Player] [Unfixed MapPlayerUp] -> [left Player] [MapPlayerLeft]
[right Player] [Unfixed LeftView] -> [right Player] [UpView]
[right Player] [Unfixed UpView] -> [right Player] [RightView]
[right Player] [Unfixed RightView] -> [right Player] [DownView]
[right Player] [Unfixed DownView] -> [right Player] [LeftView]
[right Player] [Unfixed MapPlayerLeft] -> [right Player] [MapPlayerUp]
[right Player] [Unfixed MapPlayerUp] -> [right Player] [MapPlayerRight]
[right Player] [Unfixed MapPlayerRight] -> [right Player] [MapPlayerDown]
[right Player] [Unfixed MapPlayerDown] -> [right Player] [MapPlayerLeft]
left [up Player] [Unfixed LeftView |||||||no Blocker] -> [up Player] [|||||||LeftView]
down [up Player] [Unfixed DownView |||||||no Blocker] -> [up Player] [|||||||DownView]
right [up Player] [Unfixed RightView|||||||no Blocker] -> [up Player] [|||||||RightView]
up [up Player] [Unfixed UpView |||||||no Blocker] -> [up Player] [|||||||UpView]
left [up Player] [Unfixed MapPlayerLeft |Map] -> [up Player] [|MapPlayerLeft Map]
down [up Player] [Unfixed MapPlayerDown |Map] -> [up Player] [|MapPlayerDown Map]
right [up Player] [Unfixed MapPlayerRight|Map] -> [up Player] [|MapPlayerRight Map]
up [up Player] [Unfixed MapPlayerUp |Map] -> [up Player] [|MapPlayerUp Map]
left [down Player] [Unfixed RightView|||||||no Blocker] -> [down Player] [|||||||RightView]
down [down Player] [Unfixed UpView |||||||no Blocker] -> [down Player] [|||||||UpView]
right [down Player] [Unfixed LeftView |||||||no Blocker] -> [down Player] [|||||||LeftView]
up [down Player] [Unfixed DownView |||||||no Blocker] -> [down Player] [|||||||DownView]
left [down Player] [Unfixed MapPlayerRight|Map] -> [down Player] [|MapPlayerRight Map]
down [down Player] [Unfixed MapPlayerUp |Map] -> [down Player] [|MapPlayerUp Map]
right [down Player] [Unfixed MapPlayerLeft |Map] -> [down Player] [|MapPlayerLeft Map]
up [down Player] [Unfixed MapPlayerDown |Map] -> [down Player] [|MapPlayerDown Map]
[Unfixed] -> []
[Player] -> [stationary Player]
[Player no Map no UpView] [UpView] -> [] [Player UpView]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
D,,,,,,,,,,,,A..............8,,,,,2
]777777777777[..............}33333{
]777777777777[..............}33333{
]777777777777[...*......*...}33333{
]777777777777[..............}33333{
C""""""""""""B..............6"""""4
...................................
.......D11111A.......8,,,,,,,111112
.......],,,,A3.......}333333]8,,,27
.......]YZYZ[3.......}333333]}WXW{7
...*...]YZ@Z[3...*...}33#333]}WXW{7
.......]""""B3.......}333333]6"""47
.......C55555B.......6"""""""555554
...................................
...................................
...................................
...................................
...*......*.....╶┐......*......*...
.................+.................
...................................
...................................
8,,,,,,,,,,,,2.......D,,,,,A.......
}333333333333{.......]77777[.......
}333333333333{.......]77777[.......
}333333333!33{...*...]77$77[...*...
}333333333333{.......]77777[.......
6""""""""""""4.......C"""""B.......
...................................
8111112..............D11111,,,,,,,A
78,,,,{..............3D,,,A{777777[
7}WXWX{..............3]YZY[{777777[
7}WXWX{...*......*...3]YZY[{777777[
76""""{..............3C"""B{777777[
6555554..............C55555"""""""B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment