Created
August 6, 2024 08:07
-
-
Save henriquelalves/4c823606aca81dcfff3ddf984b9acf4b to your computer and use it in GitHub Desktop.
SokoRGBan (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 SokoRGBan | |
author Perons [twitch.tv/peronstv] | |
homepage perons.itch.io | |
======== | |
OBJECTS | |
======== | |
Background | |
grey | |
Wall | |
brown | |
Player | |
PINK YELLOW BLACK | |
.222. | |
.000. | |
22122 | |
.222. | |
.2.2. | |
CrateRed | |
red | |
CrateBlue | |
blue | |
CrateGreen | |
green | |
CrateMagenta | |
#FF00FF | |
CrateLightBlue | |
#00FFFF | |
CrateYellow | |
#FFFF00 | |
TargetMagenta | |
#FF00FF | |
..... | |
..... | |
.000. | |
.000. | |
..... | |
TargetLightBlue | |
#00FFFF | |
..... | |
..... | |
.000. | |
.000. | |
..... | |
TargetYellow | |
#FFFF00 | |
..... | |
..... | |
.000. | |
.000. | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
R = CrateRed | |
G = CrateGreen | |
B = CrateBlue | |
M = TargetMagenta | |
C = TargetLightBlue | |
Y = TargetYellow | |
Crate = CrateRed or CrateBlue or CrateGreen or CrateMagenta or CrateLightBlue or CrateYellow | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
TargetMagenta | |
TargetLightBlue | |
TargetYellow | |
Player, Wall, CrateRed, CrateBlue, CrateGreen, CrateMagenta, CrateLightBlue, CrateYellow | |
====== | |
RULES | |
====== | |
[ > Player | Crate ] -> [ > Player | > crate] | |
[ > CrateRed | CrateGreen ] -> [ | CrateYellow] | |
[ > CrateGreen | CrateRed ] -> [ | CrateYellow] | |
[ > CrateRed | CrateBlue ] -> [ | CrateMagenta] | |
[ > CrateBlue | CrateRed ] -> [ | CrateMagenta] | |
[ > CrateGreen | CrateBlue ] -> [ | CrateLightBlue] | |
[ > CrateBlue | CrateGreen ] -> [ | CrateLightBlue] | |
[ > Crate | Crate ] -> [ > Crate | > Crate ] | |
[ > CrateRed | CrateGreen ] -> [ | stationary CrateYellow] | |
[ > CrateGreen | CrateRed ] -> [ | stationary CrateYellow] | |
[ > CrateRed | CrateBlue ] -> [ | stationary CrateMagenta] | |
[ > CrateBlue | CrateRed ] -> [ | stationary CrateMagenta] | |
[ > CrateGreen | CrateBlue ] -> [ | stationary CrateLightBlue] | |
[ > CrateBlue | CrateGreen ] -> [ | stationary CrateLightBlue] | |
============== | |
WINCONDITIONS | |
============== | |
all TargetMagenta on CrateMagenta | |
all TargetLightBlue on CrateLightBlue | |
all TargetYellow on CrateYellow | |
======= | |
LEVELS | |
======= | |
Message Level 1/4 | |
######### | |
#.......# | |
#..R....# | |
#.PG...Y# | |
######### | |
Message Level 2/4 | |
######### | |
#..r...m# | |
#.......# | |
#p.b.g.b# | |
#.......# | |
#....c..# | |
######### | |
Message Level 3/4 | |
###### | |
#y#..# | |
#c...# | |
#r...# | |
#b#g.# | |
#.#g.# | |
#...p# | |
###### | |
Message Level 4/4 | |
######### | |
#p.#m#..# | |
#..r.bbc# | |
#..#g##.# | |
#.......# | |
######### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment