Skip to content

Instantly share code, notes, and snippets.

@Zaydiscool777
Created February 9, 2025 18:44
Show Gist options
  • Save Zaydiscool777/a270ad7434d50aaa14cc403b29cf2902 to your computer and use it in GitHub Desktop.
Save Zaydiscool777/a270ad7434d50aaa14cc403b29cf2902 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.
.....
CTarget
brown
.....
.000.
.000.
.000.
.....
Wall
brown darkbrown
00010
11111
01000
11111
00010
Normal
black orange white blue
.000.
.111.
22222
.333.
.3.3.
Vector
yellow yellow yellow yellow
.000.
.111.
22222
.333.
.3.3.
Crate
orange
00000
0...0
0...0
0...0
00000
Back
blue
.000.
.000.
00000
.000.
.0.0.
=======
LEGEND
=======
. = Background
# = Wall
Player = Normal or Vector
; = Normal
P = Back
8 = Crate
2 = Crate and CTarget
O = Crate and Target
@ = CTarget and Target and Crate
* = CTarget
=======
SOUNDS
=======
startlevel 32887103
restart 32887103
undo 36772507
Crate move 73628104
================
COLLISIONLAYERS
================
Background
CTarget, Back
Target
Player, Wall, Crate
======
RULES
======
[ action Normal ] -> [ Vector ]
[ action Vector ] -> [ Normal ]
[ < Vector | Crate ] -> [ < Normal | < Crate ]
==============
WINCONDITIONS
==============
all Crate on CTarget
all Player on Back
=======
LEVELS
=======
####..
#.o#..
#.;###
#@p..#
#..*.#
#..###
####..
p....
.*...
..*@.
.**oo
.;oo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment