Created
July 4, 2021 20:37
-
-
Save pancelor/37b46cc8dafe924dba20bbe2f4e7ca1c to your computer and use it in GitHub Desktop.
Simple Floor Cleaning Game (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 Simple Floor Cleaning Game | |
author increpare + pancelor | |
homepage www.increpare.com | |
======== | |
OBJECTS | |
======== | |
Background | |
#F5ECE0 | |
Wall | |
#13531B #1a7426 | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
(new) | |
Crate1 | |
#da4450 | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Crate2 | |
#37d2d2 | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Paint1 a | |
#CC2936 | |
.000. | |
.000. | |
.000. | |
.000. | |
.000. | |
Paint2 b | |
#28AFB0 | |
0..00 | |
..000 | |
.000. | |
000.. | |
00..0 | |
Paint1R1 | |
#CC2936 | |
0.... | |
..... | |
..... | |
..... | |
..... | |
Paint1R2 | |
#CC2936 | |
..... | |
....0 | |
..... | |
..... | |
..... | |
Paint1R3 | |
#CC2936 | |
..... | |
..... | |
0.... | |
..... | |
..... | |
Paint1R4 | |
#CC2936 | |
..... | |
..... | |
..... | |
0.... | |
..... | |
Paint1R5 | |
#CC2936 | |
..... | |
..... | |
..... | |
....0 | |
..... | |
Paint1R6 | |
transparent | |
Paint1R7 | |
transparent | |
Paint1R8 | |
transparent | |
Paint1R9 | |
transparent | |
Paint2R1 | |
#28AFB0 | |
..... | |
..... | |
0.... | |
..... | |
..... | |
Paint2R2 | |
#28AFB0 | |
..0.. | |
..... | |
..... | |
..... | |
..... | |
Paint2R3 | |
#28AFB0 | |
..... | |
..... | |
..... | |
...0. | |
..... | |
Paint2R4 | |
#28AFB0 | |
..... | |
..... | |
....0 | |
..... | |
..... | |
Paint2R5 | |
#28AFB0 | |
..... | |
..... | |
..... | |
..... | |
...0. | |
Paint2R6 | |
transparent | |
Paint2R7 | |
transparent | |
Paint2R8 | |
transparent | |
Paint2R9 | |
transparent | |
(end new) | |
slideright | |
transparent | |
slidedown | |
transparent | |
slideleft | |
transparent | |
slideup | |
transparent | |
canvas | |
transparent | |
======= | |
LEGEND | |
======= | |
. = Background and canvas | |
# = Wall | |
P = Player | |
* = Crate1 | |
4=paint1 and paint2 | |
paint=paint1 or paint2 | |
crate = crate1 or crate2 | |
slidetag = slideleft or slideup or slideright or slidedown | |
obs = wall or crate | |
1 = Crate1 and canvas and paint1 | |
2 = crate2 and canvas and paint2 | |
(new) | |
paint1r=paint1r1 or paint1r2 or paint1r3 or paint1r4 or paint1r5 or paint1r6 or paint1r7 or paint1r8 or paint1r9 | |
paint2r=paint2r1 or paint2r2 or paint2r3 or paint2r4 or paint2r5 or paint2r6 or paint2r7 or paint2r8 or paint2r9 | |
(end new) | |
======= | |
SOUNDS | |
======= | |
Crate MOVE 30943107 | |
paint destroy 99909509 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
canvas | |
paint1 | |
paint2 | |
paint1r | |
paint2r | |
Player, Wall, Crate | |
slidetag | |
====== | |
RULES | |
====== | |
[> player slidetag]->[> player] | |
[ up player ] -> [ up player slideup ] again | |
[ down player ] -> [ down player slidedown ] again | |
[ left player ] -> [ left player slideleft ] again | |
[ right player ] -> [ right player slideright ] again | |
[ slideup ] [ crate ] -> [ slideup ] [ up crate ] again | |
[ slidedown ] [ crate ] -> [ slidedown ] [ down crate ] again | |
[ slideleft ] [ crate ] -> [ slideleft ] [ left crate ] again | |
[ slideright ] [ crate ] -> [ slideright ] [ right crate ] again | |
[ > crate | stationary obs ] -> [ crate | stationary obs ] | |
+ [ up crate1 | stationary crate1 ] -> [ stationary crate1 | stationary crate1 ] | |
+ [ up crate2 | stationary crate2 ] -> [ stationary crate2 | stationary crate2 ] | |
+ [ down crate1 | stationary crate1 ] -> [ stationary crate1 | stationary crate1 ] | |
+ [ down crate2 | stationary crate2 ] -> [ stationary crate2 | stationary crate2 ] | |
+ [ left crate1 | stationary crate1 ] -> [ stationary crate1 | stationary crate1 ] | |
+ [ left crate2 | stationary crate2 ] -> [ stationary crate2 | stationary crate2 ] | |
+ [ right crate1 | stationary crate1 ] -> [ stationary crate1 | stationary crate1 ] | |
+ [ right crate2 | stationary crate2 ] -> [ stationary crate2 | stationary crate2 ] | |
(new)(replaces some old lines) | |
late [ crate1 no paint1 ] -> [ crate1 paint1 random Paint1r] | |
late [ crate2 no paint2 ] -> [ crate2 paint2 random paint2r] | |
(end new) | |
============== | |
WINCONDITIONS | |
============== | |
all canvas on Paint1 | |
all canvas on paint2 | |
======= | |
LEVELS | |
======= | |
###########p | |
#11.#......# | |
#11.#......# | |
#......#.22# | |
#......#.22# | |
#...####...# | |
#..........# | |
#..........# | |
############ | |
###########p | |
#..........# | |
#..........# | |
#..........# | |
#..........# | |
############ | |
###########p | |
#..........# | |
#..........# | |
#..........# | |
#..........# | |
#..........# | |
#..........# | |
#..........# | |
#..........# | |
#..........# | |
############ | |
message all clean! | |
#######p## | |
#.....#### | |
#.....#### | |
#1....#### | |
#1#22.#### | |
#122..#### | |
#.2...#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
(good fun level to analyse + solve) | |
############p## | |
#..........#### | |
##.........#### | |
#..........#### | |
#..........#### | |
#...2......#### | |
#..#2......#### | |
#...2......#### | |
#..111111..#### | |
#.........##### | |
############### | |
(no idea how to solve, but haven't tried too hard) | |
############p## | |
#..........#### | |
#.#........#### | |
#..........#### | |
#.......#..#### | |
#........11#### | |
#..........#### | |
#..........#### | |
#2.........#### | |
#2....#....#### | |
############### | |
(before i left #1) | |
(too hard! don't wanna think - haven't solved) | |
############p## | |
#..........#### | |
#..........#### | |
#..........#### | |
##.........#### | |
#..........#### | |
#......1...#### | |
#22...111..#### | |
#22.#..1...#### | |
#22.......##### | |
############### | |
(before i left 3) | |
(no patience for this) | |
############p## | |
##......2..#### | |
#...#.2222.#### | |
#.....2....#### | |
#..........#### | |
#..........#### | |
#..#....111#### | |
#........11#### | |
#..........#### | |
#..........#### | |
############### | |
(before i left 4) | |
(not too hard. satisfying middle state?) | |
############p## | |
#....1111..#### | |
#.#...1..#.#### | |
#22........#### | |
#22.#......#### | |
#.2........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
############### | |
(After i came back 1) | |
(dunno) | |
############p## | |
#..........#### | |
#1#........#### | |
#11111.....#### | |
#11........#### | |
#..........#### | |
#...#......#### | |
#......2...#### | |
#..#...2...#### | |
#......2...#### | |
############### | |
(After i came back 2) | |
(too complicated?) | |
############p## | |
#....#.....#### | |
#..........#### | |
#..........#### | |
#..111.#...#### | |
#..2111....#### | |
#.2221.....#### | |
#22........#### | |
#..........#### | |
#..#.......#### | |
############### | |
(after i came back 3) | |
(broken because pieces long) | |
############p## | |
#..........#### | |
#.1........#### | |
#.1111.....#### | |
#...1#.....#### | |
#..........#### | |
#..........#### | |
#..#.......#### | |
#..2.......#### | |
##.22222...#### | |
############### | |
(broken because pieces long probably) | |
(after I came back 4) | |
############p## | |
#.....1....#### | |
#....111111#### | |
#....1...2.#### | |
#........22#### | |
#...#....2.#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#....#....##### | |
############### | |
(Easyish) | |
#######p## | |
#.....#### | |
#.....#### | |
#1....#### | |
#1#22.#### | |
#122..#### | |
#.2...#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
(hardish but unsatisfying to solve when i got it) | |
(pleasant) | |
#######p## | |
#.....#### | |
#...1.#### | |
#..21.#### | |
#..222#### | |
#.#..2#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
(might be ok but brain feels sleepy) | |
#######p## | |
#..2..#### | |
##.2.##### | |
#..2..#### | |
#.....#### | |
#...#.#### | |
#11#..#### | |
#.....#### | |
##....#### | |
#.....#### | |
########## | |
(easy and not bad) | |
#######p## | |
#..#..#### | |
#1....#### | |
#1..#.#### | |
#2#...#### | |
#.....#### | |
########## | |
(not too hard and ok? / kinda fun!) | |
#######p## | |
#.22#.#### | |
#.22..#### | |
#.11..#### | |
#.1...#### | |
#..#..#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
(decent) | |
#######p## | |
#.....#### | |
##....#### | |
#.2.#.#### | |
#.2...#### | |
#..#11#### | |
########## | |
(looks good, too tired to solve rn) | |
#######p## | |
#...#.#### | |
#.....#### | |
#.....#### | |
#22#..#### | |
#21...#### | |
#21...#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
(looks interesting/tractable, but I'm wrecked~) | |
############p## | |
#.....222..#### | |
#..1...#...#### | |
#..1.....#.#### | |
#...#......#### | |
#..........#### | |
############### | |
(also interesting shape!) | |
############p## | |
#..........#### | |
#.2..#.....#### | |
#.22...#...#### | |
#...11.....#### | |
#...#1.....#### | |
############### | |
(Very like another level, but maybe worse/more comlpicated) | |
############p## | |
#..........#### | |
#......#...#### | |
#..........#### | |
#..........#### | |
#..........#### | |
##.........#### | |
#....11112.#### | |
#........2##### | |
#........2.#### | |
############### | |
(kinda nice. not sooo strategic but i liked whne i got it) | |
############p## | |
#..........#### | |
#..........#### | |
#..........#### | |
#....#.....#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#...#......#### | |
#...1122222#### | |
############### | |
(not so hard, and was fun to figure out) | |
############p## | |
#..........#### | |
#....#.....#### | |
#....122222#### | |
#......#...#### | |
#..........#### | |
#..........#### | |
#.........##### | |
#..........#### | |
#..........#### | |
############### | |
#######p## | |
#...#.#### | |
#.....#### | |
#...2.#### | |
#...2.#### | |
#...2.#### | |
#..#..#### | |
#.1...#### | |
#.11..#### | |
#.....#### | |
########## | |
#######p## | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
#######p## | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
############p## | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
############### | |
############p## | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
#..........#### | |
############### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment