Created
July 4, 2021 19:48
-
-
Save pancelor/fea4e32a08627553a3d5b6cad0b7ec13 to your computer and use it in GitHub Desktop.
Simple Block Sliding 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 | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Crate1 1 | |
#CC2936 | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Crate2 2 | |
#13531B | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Crate3 3 | |
#28AFB0 | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Paint1 a | |
#CC2936 | |
0...0 | |
...00 | |
..00. | |
.00.. | |
00... | |
Paint2 b | |
#13531B | |
00000 | |
..... | |
..... | |
00000 | |
..... | |
Paint3 c | |
#28AFB0 | |
.00.. | |
..00. | |
...00 | |
0...0 | |
00... | |
slideright | |
transparent | |
slidedown | |
transparent | |
slideleft | |
transparent | |
slideup | |
transparent | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate1 | |
4=paint1 and paint2 | |
5=paint2 and paint3 | |
6=paint1 and paint3 | |
7=paint1 and paint2 and paint3 | |
paint=paint1 or paint2 or paint3 | |
crate = crate1 or crate2 or crate3 | |
slidetag = slideleft or slideup or slideright or slidedown | |
obs = wall or crate | |
======= | |
SOUNDS | |
======= | |
Crate MOVE 30943107 | |
paint destroy 99909509 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
paint1 | |
paint2 | |
paint3 | |
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 ] | |
+ [ moving crate1 | stationary crate1 ] -> [ stationary crate1 | stationary crate1 ] | |
+ [ moving crate2 | stationary crate2 ] -> [ stationary crate2 | stationary crate2 ] | |
+ [ moving crate3 | stationary crate3 ] -> [ stationary crate3 | stationary crate3 ] | |
late [ crate1 paint1 ] -> [ crate1 ] | |
late [ crate2 paint2 ] -> [ crate2 ] | |
late [ crate3 paint3 ] -> [ crate3 ] | |
============== | |
WINCONDITIONS | |
============== | |
no paint | |
======= | |
LEVELS | |
======= | |
############p## | |
#..........#### | |
#.#.aa.....#### | |
#..bbb44...#### | |
#...bb.b#..#### | |
#..bb4a4.11#### | |
#..b.a.4...#### | |
#..444b4...#### | |
#2..aa.....#### | |
#2....#....#### | |
############### | |
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...#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
(hard) | |
#######p## | |
#.....#### | |
#..11##### | |
#3.1..#### | |
#3....#### | |
#.....#### | |
#2....#### | |
#.#...#### | |
#....##### | |
#.....#### | |
########## | |
(hardish but unsatisfying to solve when i got it) | |
(pleasant) | |
#######p## | |
#.....#### | |
#...1.#### | |
#..21.#### | |
#..222#### | |
#.#..2#### | |
#.....#### | |
#.....#### | |
#.....#### | |
#.....#### | |
########## | |
(Easy, maybe too easy?) | |
#######p## | |
#.....#### | |
#...11#### | |
#.###1#### | |
##2#..#### | |
#3....#### | |
########## | |
(might be ok but brain feels sleepy) | |
#######p## | |
#..2..#### | |
##.2.##### | |
#..2..#### | |
#.....#### | |
#...#.#### | |
#11#..#### | |
#.....#### | |
##....#### | |
#.....#### | |
########## | |
(curious / p. nice even thoguh it has three pieces) | |
#######p## | |
###3#.#### | |
#.#3..#### | |
#..1#.#### | |
#..12.#### | |
#..22.#### | |
########## | |
#######p## | |
#.....#### | |
#..11##### | |
#3.1..#### | |
#3....#### | |
#.....#### | |
#2....#### | |
#.#...#### | |
#....##### | |
#.....#### | |
########## | |
(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