Skip to content

Instantly share code, notes, and snippets.

Created January 11, 2015 06:30
Show Gist options
  • Save anonymous/40a99f090f06f6379b3f to your computer and use it in GitHub Desktop.
Save anonymous/40a99f090f06f6379b3f to your computer and use it in GitHub Desktop.
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
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
=======
LEGEND
=======
. = Background
! = LeftView and Wall1
@ = UpView and Wall2B and Player
# = RightView and Wall1
$ = DownView and Wall2
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
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
Wall
Ceiling, Floor, Border
View, Blocker
Player
Unfixed
======
RULES
======
[moving Player] -> [Unfixed moving Player]
[View] -> [Unfixed View]
[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]
[right Player] [Unfixed LeftView] -> [right Player] [UpView]
[right Player] [Unfixed DownView] -> [right Player] [LeftView]
[right Player] [Unfixed RightView] -> [right Player] [DownView]
[right Player] [Unfixed UpView] -> [right Player] [RightView]
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 [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]
[Unfixed] -> []
[Player] -> []
[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