Skip to content

Instantly share code, notes, and snippets.

@ClementSparrow
Created July 12, 2019 21:37
Show Gist options
  • Save ClementSparrow/631b7cedb7bbd1f19cbf8f1be1b7a484 to your computer and use it in GitHub Desktop.
Save ClementSparrow/631b7cedb7bbd1f19cbf8f1be1b7a484 to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
========
OBJECTS
========
OPlayer
Orange YELLOW BLACK
.222.
.000.
22122
.222.
.2.2.
BPlayer
blue Purple BLACK
.222.
.000.
22122
.222.
.2.2.
Owall
BROWN orange
00000
11010
00000
01011
00000
Wall
Black gray
00000
11010
00000
01011
00000
Bwall
purple Blue
00000
11010
00000
01011
00000
background
white
=======
LEGEND
=======
P = OPlayer and Bwall
* = Wall
B = Bwall
O = Owall
. = background
Player = OPlayer or BPlayer
Oblocking = Owall or Wall
Bblocking = Bwall or Wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
background
Wall,Owall,Bwall
Player,OPlayer,BPlayer
======
RULES
======
(action)
[Action BPlayer no OWall] -> [OPlayer]
[Action OPlayer no BWall] -> [BPlayer]
(moves, blocked by walls)
[> BPlayer | Bblocking ] -> CANCEL
[> OPlayer | Oblocking ] -> CANCEL
==============
WINCONDITIONS
==============
=======
LEVELS
=======
...
...
*B*
...
O*O
...
.P.
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment