Skip to content

Instantly share code, notes, and snippets.

@javier-rivera-deel
Created June 26, 2022 14:44
Show Gist options
  • Select an option

  • Save javier-rivera-deel/46d6d0c621077ad845506d7398723e1c to your computer and use it in GitHub Desktop.

Select an option

Save javier-rivera-deel/46d6d0c621077ad845506d7398723e1c 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 David Skinner
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
Target
darkblue
.....
.000.
.0.0.
.000.
.....
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
black red white orange
.000.
..1..
.222.
.3.3.
.3.3.
Crate
orange red
00000
01110
0.1.0
01110
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
=======
SOUNDS
=======
Crate move 36772507
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
####..
#.O#..
#..###
#@P..#
#..*.#
#..###
####..
######
#....#
#.#P.#
#.*@.#
#.O@.#
#....#
######
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment