Created
December 10, 2018 01:59
-
-
Save danielbenmergui/48a481efb712fe31e308cfe1584b63a4 to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Simple Block Pushing Game | |
author Stephen Lavelle | |
homepage www.puzzlescript.net | |
require_player_movement | |
======== | |
OBJECTS | |
======== | |
Background | |
brown | |
BrokenFloor | |
gray | |
..0.. | |
..0.. | |
00000 | |
..0.. | |
..0.. | |
Extinguisher | |
gray blue | |
.000. | |
0...0 | |
01110 | |
00000 | |
00000 | |
OuterWall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
InnerWall | |
BROWN DARKBROWN | |
..... | |
..11. | |
11111 | |
11111 | |
1...1 | |
Player3 | |
Black Orange Gray Blue Red | |
3.3.3 | |
.444. | |
4444. | |
.1102 | |
.333. | |
Player2 | |
Black Orange Gray Blue Red | |
.3.3. | |
.444. | |
4444. | |
.1102 | |
.333. | |
Player1 | |
Black Orange Gray Blue Red | |
..3.. | |
.444. | |
4444. | |
.1102 | |
.333. | |
Player0 | |
Black Orange Gray Blue Red | |
..... | |
.444. | |
4444. | |
.110. | |
.333. | |
Fire | |
Orange Yellow Red | |
..... | |
..0.. | |
.010. | |
.111. | |
.121. | |
Door | |
lightgray | |
0...0 | |
00000 | |
0...0 | |
00000 | |
0...0 | |
DoorFire | |
Red | |
0...0 | |
00000 | |
0...0 | |
00000 | |
0...0 | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = OuterWall | |
@ = InnerWall | |
P = Player3 | |
* = Fire | |
b = BrokenFloor | |
e = Extinguisher | |
d = DoorFire | |
o = Door | |
Player = Player0 or Player1 or Player2 or Player3 | |
Wall = OuterWall or InnerWall | |
======= | |
SOUNDS | |
======= | |
Fire MOVE 36772507 | |
sfx0 55716102 | |
sfx1 24740703 | |
sfx2 28889104 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Extinguisher, Door | |
BrokenFloor | |
Player, Wall, Fire, DoorFire | |
====== | |
RULES | |
====== | |
[ > Player0 | Fire ] -> [ Player0 | Fire ] | |
[ > Player1 | Fire ] -> [ > Player0 | ] sfx0 | |
[ > Player2 | Fire ] -> [ > Player1 | ] sfx0 | |
[ > Player3 | Fire ] -> [ > Player2 | ] sfx0 | |
[ > Player | BrokenFloor] -> [ Player | BrokenFloor] | |
[Player no BrokenFloor] -> [Player BrokenFloor] sfx2 | |
(late [Player no BrokenFloor] -> [Player BrokenFloor] sfx2) | |
late [Player Extinguisher] -> [Player3] sfx1 | |
late [DoorFire] -> [Door] | |
late [Door][Fire] -> [DoorFire][Fire] | |
============== | |
WINCONDITIONS | |
============== | |
All Player on Door | |
======= | |
LEVELS | |
======= | |
message Estamos en llamas! Si este edificio cae, aplastaria todo el mundo. Llamen a los bomberos! | |
#####d##### | |
#*........# | |
#.....*.*.# | |
#e..*.....# | |
#.*.......# | |
#......*..# | |
#####p##### | |
message Primer Piso: Oficina de Administracion de Recibos en Papel | |
##################### | |
#......#.....#..@...# | |
#..@*..#.@*..#..*...# | |
#.d**e.e.**e.e.**e.p# | |
#..@*..#.@*..#..*...# | |
#......#.....#..@...# | |
##################### | |
message Tercer Piso: Capilla de Nuestra Señora del Páuper | |
###########d# | |
#e*.#.*e#.*.# | |
#.*.#.*.#.*.# | |
#***#***#***# | |
#.*.#.*.#.*e# | |
#p..e...e...# | |
############# | |
message Cuarto Piso: Departamento de Imperfecciones | |
.@##d##.. | |
..#*.*#@. | |
.@#*e*#.. | |
..#*.*#@. | |
.@#*e*#.. | |
..#...#@. | |
.@#...#.. | |
####.#### | |
#.......# | |
#.#####.# | |
#*.....*# | |
#*..e..*# | |
#*..e..*# | |
#*.....*# | |
####.#### | |
.@.#...*# | |
...#...*# | |
...#...*# | |
...#p.e*# | |
...###### | |
message Séptimo Piso: Infierno | |
######### | |
#..***..# | |
#..***..# | |
d...e...# | |
#.......# | |
#...p...# | |
######### | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment