Skip to content

Instantly share code, notes, and snippets.

@ncrecc
Created October 14, 2018 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncrecc/368f17549cb27217855002ce0c6437d3 to your computer and use it in GitHub Desktop.
Save ncrecc/368f17549cb27217855002ce0c6437d3 to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Simple Block Pushing Game
author Stephen Lavelle
homepage www.puzzlescript.net
verbose_logging
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
person1
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
person2
lightbrown orange white red
.000.
.111.
22222
.333.
.3.3.
Crate
Orange Yellow
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Person1
d = Person2
* = Crate
@ = Crate and Target
O = Target
Player = Person1 or person2
=======
SOUNDS
=======
Crate MOVE 36772507
================
COLLISIONLAYERS
================
Background
Target, Wall
Player, Crate
======
RULES
======
(^ COMMENT ME OUT/DELETE ME)
[ | < Person1 | Crate ] -> [ Person1 | Crate | Crate ]
[ Crate | > Person2 | ] -> [ Crate | Crate | Person2 ]
late [Player Wall] -> cancel
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
......#......
......#......
......#......
......#......
.*p*..#.*d*..
......#......
o.....#o.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment