Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created June 12, 2019 20:10
Show Gist options
  • Save jcmiller11/9e8aed40e8ccc9d77910ce1ac9e12758 to your computer and use it in GitHub Desktop.
Save jcmiller11/9e8aed40e8ccc9d77910ce1ac9e12758 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
========
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.
RedBox
Red
00000
0...0
0...0
0...0
00000
YellowBox
Yellow
00000
0...0
0...0
0...0
00000
BlueBox
Blue
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
Box = RedBox or YellowBox or BlueBox
. = Background
P = Player
R = RedBox
Y = YellowBox
B = BlueBox
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Player, Box
======
RULES
======
[box ][ action player] -> [player ][ box]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
..........
......Y...
..P...R...
......B...
..........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment