Skip to content

Instantly share code, notes, and snippets.

@octoConnors
Created October 3, 2020 07:19
Show Gist options
  • Save octoConnors/75f1dfdf5e0acbd4d4bf19f0dbea4c2f to your computer and use it in GitHub Desktop.
Save octoConnors/75f1dfdf5e0acbd4d4bf19f0dbea4c2f to your computer and use it in GitHub Desktop.
LOOP SOKOBAN (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title LOOP SOKOBAN
author CONNORSES
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 Yellow
00000
0...0
0...0
0...0
00000
Edge
Black
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
% = edge
Solid = wall or crate or player
=======
SOUNDS
=======
Crate MOVE 36772507
================
COLLISIONLAYERS
================
Background
Edge
Target
Player, Wall, Crate
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ Edge | < Solid |...| Edge] -> [ Edge | |...|Edge < Solid ]
[ > Player | Crate ] -> [ > Player | > Crate ]
late [Edge Solid] -> cancel
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
%%%%%%
%#.#.%
%o.##%
%....%
%.##.%
%#.p#%
%*...%
%..##%
%%%%%%
message You done did it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment