Skip to content

Instantly share code, notes, and snippets.

@mechturk
Forked from anonymous/readme.txt
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save mechturk/9345539 to your computer and use it in GitHub Desktop.

Select an option

Save mechturk/9345539 to your computer and use it in GitHub Desktop.
Warp Door
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Warp Door
homepage warpdoor.com
author @dennishcau
run_rules_on_level_start
========
OBJECTS
========
W
White LightGrey
0.0.0
0.0.0
0.0.0
0.0.0
.111.
A
White LightGrey
.00..
0..0.
0000.
0..0.
1..1.
R
White LightGrey
000..
0..0.
000..
0..0.
1..1.
P
White LightGrey
0000.
0..0.
0000.
0....
1....
D
White LightGrey
000..
0..0.
0..0.
0..0.
111..
O
White LightGrey
0000.
0..0.
0..0.
0..0.
1111.
Background
DarkGrey
WarpSpelt
Black
DoorSpelt
Black
WrapSpelt
Black
Border
Black
WrapBorder
Black LightGreen
00000
00000
11111
00000
00000
Wall
DarkGreen Black
00000
01010
00000
01010
00000
PlayerWarp0
black
.....
.....
..0..
.....
.....
PlayerWarp1
black
.....
.....
..0..
.....
.....
PlayerWarp2
black
.....
..0..
.000.
.0.0.
.....
PlayerR
Black Red
.000.
.011.
00000
.000.
.0.0.
PlayerL
Black Red
.000.
.110.
00000
.000.
.0.0.
Accessible
Red
0....
.....
.....
.....
.....
WarpDoor
LightGreen DarkGreen Black
00000
01110
01210
01110
00000
=======
LEGEND
=======
. = Background
@ = PlayerWarp0
# = Wall
| = Border
! = WarpDoor
Player = PlayerL or PlayerR
PlayerWarp = PlayerWarp0 or PlayerWarp1 or PlayerWarp2
Letter = W or A or R or P or D or O
Spelt = WarpSpelt or DoorSpelt or WrapSpelt
=======
SOUNDS
=======
(endlevel 3453103)
sfx0 53193703 (warp door spawned)
sfx1 40439306 (unused)
sfx2 61276107 (wrap)
sfx3 2171109 (wrap enabled)
sfx4 35134106 (warp0)
sfx5 69669506 (warp1)
sfx6 19505306 (warp2)
================
COLLISIONLAYERS
================
Spelt
Background
WarpDoor
Letter, Player, PlayerWarp, Wall, Border, WrapBorder,
Accessible
======
RULES
======
[PlayerWarp2 no WarpDoor] -> [random Player] sfx6 again
[PlayerWarp1 no WarpDoor] -> [PlayerWarp2] sfx5 again
[PlayerWarp0 no WarpDoor] -> [PlayerWarp1] sfx4 again
[PlayerWarp0 WarpDoor] -> win
[PlayerWarp1 WarpDoor] -> [PlayerWarp0 WarpDoor] sfx4 again
[PlayerWarp2 WarpDoor] -> [PlayerWarp1 WarpDoor] sfx5 again
[Player WarpDoor] -> [PlayerWarp2 WarpDoor] sfx6 again
Right [> Player] -> [> PlayerR]
Left [> Player] -> [> PlayerL]
[> Player | Letter] -> [> Player | > Letter]
[WrapBorder| < Player | ... | No Letter | Letter | WrapBorder] -> [WrapBorder || ... | Letter | Player | WrapBorder] sfx2
[WrapBorder| < Player | ... | No Letter No Wall | WrapBorder] -> [WrapBorder || ... | Player | WrapBorder] sfx2
[WrapBorder| < Letter | ... | No Letter | WrapBorder] -> [WrapBorder || ... | Letter | WrapBorder] sfx2
Late [Player WarpDoor] -> again
Late [Player] -> [Player Accessible]
Late [Accessible | No Wall No Letter No Border No WrapBorder] -> [Accessible | Accessible]
Late Right [W|A|R|P] -> [W|A|R|P WarpSpelt]
Late Down [W|A|R|P] -> [W|A|R|P WarpSpelt]
Late Right [D|O|O|R] -> [D|O|O|R DoorSpelt]
Late Down [D|O|O|R] -> [D|O|O|R DoorSpelt]
Late Random [DoorSpelt][WarpSpelt][Accessible No Player No WarpDoor] -> [][][WarpDoor] sfx0
Late Right [W|R|A|P] -> [W|R|A|P WrapSpelt]
Late Down [W|R|A|P] -> [W|R|A|P WrapSpelt]
Late [WrapSpelt][Border] -> sfx3
Late [WrapBorder] -> [Border]
Late [WrapSpelt][Border] -> [WrapSpelt][WrapBorder]
Late [Spelt] -> []
Late [Accessible] -> []
==============
WINCONDITIONS
==============
=======
LEVELS
=======
message Words have a great power;
message As we name things, so they become.
message Welcome to the world of Warp Door.
(intro level - easy)
###########
#@......###
#.ARROW..##
#.....POD.#
###.......#
###########
(shared letter - easy/medium)
##########
#@...#####
#DROOP...#
#....A...#
#....W.###
###..#####
##########
(wrap intro - easy/medium)
#||||#
#....#
#.O..#
#.D..#
#.O.@#
#WRAP#
#....#
#||||#
(wrap - medium)
#############
|....@#.....|
|.WA..#.DO..|
|..RP.#..OR.|
|.....#.....|
#############
(push & break wrap - easy/medium)
||||||||||
||||DO.OR|
||||.....|
##########
#||W...##|
#||@.....|
#..RAP.##|
|........|
||||||||||
(4way wrap & push - hard)
||||#|||||
|.O.#.DO.|
#######..|
|.#####..|
|.#.@#####
|.#.P....|
###.RAW..|
|........|
||||||||||
message Coming Soon...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment