Created
August 25, 2021 04:32
-
-
Save masalt0/4b7faf4fb6412192fa0fda95003136eb to your computer and use it in GitHub Desktop.
Cell Machine v1.0 (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Cell Machine v1.0 | |
author ma | |
======== | |
OBJECTS | |
======== | |
background | |
transparent gray | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
player | |
transparent | |
block | |
darkgray | |
mover_up | |
blue black | |
00000 | |
00100 | |
01110 | |
00000 | |
00000 | |
mover_down | |
blue black | |
00000 | |
00000 | |
01110 | |
00100 | |
00000 | |
mover_left | |
blue black | |
00000 | |
00100 | |
01100 | |
00100 | |
00000 | |
mover_right | |
blue black | |
00000 | |
00100 | |
00110 | |
00100 | |
00000 | |
rotate_CW | |
orange black | |
00000 | |
01110 | |
01010 | |
00111 | |
00010 | |
rotate_CCW | |
lightblue black | |
00000 | |
01110 | |
01010 | |
11100 | |
01000 | |
trash | |
purple black | |
00100 | |
11111 | |
01010 | |
01010 | |
01110 | |
push | |
yellow black | |
00100 | |
00100 | |
11111 | |
00100 | |
00100 | |
enemy | |
red black | |
00000 | |
01010 | |
00000 | |
01110 | |
00000 | |
up_sub | |
transparent | |
right_sub | |
transparent | |
======= | |
LEGEND | |
======= | |
+ = background | |
^ = mover_up | |
v = mover_down | |
< = mover_left | |
> = mover_right | |
W = rotate_CW | |
C = rotate_CCW | |
e = enemy | |
@ = block | |
* = trash | |
# = push | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
background | |
up_sub right_sub | |
mover_up mover_down mover_left mover_right rotate_CW rotate_CCW enemy block trash push | |
player | |
====== | |
RULES | |
====== | |
[ mover_left | rotate_CW ] -> [ up_sub | rotate_CW ] | |
[ mover_down | rotate_CW ] -> [ mover_left | rotate_CW ] | |
[ mover_right | rotate_CW ] -> [ mover_down | rotate_CW ] | |
[ mover_up | rotate_CW ] -> [ mover_right | rotate_CW ] | |
[up_sub] -> [mover_up] | |
[ mover_up | rotate_CCW ] -> [ mover_left | rotate_CCW ] | |
[ mover_down | rotate_CCW ] -> [ right_sub | rotate_CCW ] | |
[ mover_left | rotate_CCW ] -> [ mover_down | rotate_CCW ] | |
[ mover_right | rotate_CCW ] -> [ mover_up | rotate_CCW ] | |
[right_sub] -> [mover_right] | |
[ mover_up ] -> [ up mover_up ] | |
[ mover_down ] -> [ down mover_down ] | |
[ mover_left ] -> [ left mover_left ] | |
[ mover_right ] -> [ right mover_right ] | |
[ > mover_up | rotate_CW ] -> [ > mover_up | > rotate_CW ] | |
[ > mover_down | rotate_CW ] -> [ > mover_down | > rotate_CW ] | |
[ > mover_left | rotate_CW ] -> [ > mover_left | > rotate_CW ] | |
[ > mover_right | rotate_CW ] -> [ > mover_right | > rotate_CW ] | |
[ > mover_up | push ] -> [ > mover_up | > push ] | |
[ > mover_down | push ] -> [ > mover_down | > push ] | |
[ > mover_left | push ] -> [ > mover_left | > push ] | |
[ > mover_right | push ] -> [ > mover_right | > push ] | |
[ > push | rotate_CW ] -> [ > push | > rotate_CW ] | |
[ > rotate_CW | push ] -> [ > rotate_CW | > push ] | |
[ > mover_up | push ] -> [ > mover_up | > push ] | |
[ > mover_down | push ] -> [ > mover_down | > push ] | |
[ > mover_left | push ] -> [ > mover_left | > push ] | |
[ > mover_right | push ] -> [ > mover_right | > push ] | |
[ > push | push ] -> [ > push | > push ] | |
[ > mover_up | enemy ] -> [ | ] | |
[ > mover_down | enemy ] -> [ | ] | |
[ > mover_left | enemy ] -> [ | ] | |
[ > mover_right | enemy ] -> [ | ] | |
[ > mover_up | trash ] -> [ | trash ] | |
[ > mover_down | trash ] -> [ | trash ] | |
[ > mover_left | trash ] -> [ | trash ] | |
[ > mover_right | trash ] -> [ | trash ] | |
============== | |
WINCONDITIONS | |
============== | |
no enemy | |
======= | |
LEVELS | |
======= | |
+++++++++++ | |
+>++++++++w | |
+>++++++e++ | |
+>+++e+++++ | |
+>+++++e+++ | |
+>++e++++++ | |
+>++++e++++ | |
+>+e+++++++ | |
+>+++e+++++ | |
+>e++++++e+ | |
+++++++++++ | |
+++++++++++ | |
+v+++++++++ | |
+v+++++++++ | |
+++++++++w+ | |
+++++e+++++ | |
+c+++++++++ | |
+++++++++++ | |
+++++++++++ | |
+++++++++++ | |
+++++++++e+ | |
+++++++++++ | |
c<<<<<<<<<@ | |
+v+++++++@@ | |
c++e+++++w@ | |
c+e++++++w@ | |
c+++e++++w@ | |
c++++++e+w@ | |
c++e+++++w@ | |
c++++e+e+w@ | |
c+++e++++w@ | |
c+e++++++w@ | |
@********@@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment