Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created September 9, 2021 13:18
Show Gist options
  • Select an option

  • Save jcmiller11/760f989e4fd849a823d57ff632dd8d4c to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/760f989e4fd849a823d57ff632dd8d4c to your computer and use it in GitHub Desktop.
Simulated Late Rule Execution (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Simulated Late Rule Execution
author jc
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 Orange White Blue
.000.
.111.
22222
.333.
.3.3.
Crate
Orange
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
BlocksStuff = Wall or Crate
Movers = Player or Crate
=======
SOUNDS
=======
Crate MOVE 36772507
Sfx0 30954505
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
(DoMovement)
[ > Movers | no BlocksStuff] -> [ | Movers ]
[Player Target] -> sfx0
==============
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