Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 David Skinner
homepage www.puzzlescript.net
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
Crate
Gray Yellow
00000
00000
00000
00000
00000
TrackUp
Black
..0..
..0..
..0..
.....
.....
TrackDown
Black
.....
.....
..0..
..0..
..0..
TrackLeft
Black
.....
.....
000..
.....
.....
TrackRight
Black
.....
.....
..000
.....
.....
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
=======
SOUNDS
=======
Crate MOVE 36772507
================
COLLISIONLAYERS
================
Background
TrackUp
TrackDown
TrackLeft
TrackRight
Player, Wall, Crate
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ left crate ] -> [ left crate TrackLeft ]
[ right crate ] -> [ right crate TrackRight ]
[ up crate ] -> [ up crate TrackUp ]
[ down crate ] -> [ down crate TrackDown ]
right [ | left crate ] -> [ TrackRight | left crate ]
left [ | right crate ] -> [ TrackLeft | right crate ]
up [ | down crate ] -> [ TrackUp | down crate ]
down [ | up crate ] -> [ TrackDown | up crate ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
##########
##########
..........
..........
.......*..
..*.......
..........
......P...
..........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment