Created
May 1, 2022 01:38
-
-
Save pnutus/364efdba4f3e935ab7967b38911d1fb4 to your computer and use it in GitHub Desktop.
Don't Watch Paint Dry in a Corner (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 Don't Watch Paint Dry in a Corner | |
author Pontus Granström | |
homepage pontus.granstrom.me | |
require_player_movement | |
noaction | |
(Random ideas: | |
- Steps on blue to paint blue, steps on red to start painting red | |
- walk on paint and you start leaving marks | |
- Walk on paint that hasn't dried and you start leaving marks | |
- Different color paint dries at different speeds | |
- Don't paint everywhere, instead match the pattern | |
Timelapse of paint drying | |
https://www.youtube.com/watch?v=EvAAeIEQ9Wo | |
) | |
======== | |
OBJECTS | |
======== | |
Background | |
white | |
Unpainted | |
white | |
PaintedBlueIn7 | |
blue lightblue | |
10010 | |
01000 | |
00001 | |
10010 | |
01000 | |
PaintedBlueIn6 | |
blue lightblue | |
00010 | |
01000 | |
00001 | |
10010 | |
01000 | |
PaintedBlueIn5 | |
blue lightblue | |
00010 | |
01000 | |
00000 | |
10010 | |
01000 | |
PaintedBlueIn4 | |
blue lightblue | |
00010 | |
01000 | |
00000 | |
10010 | |
00000 | |
PaintedBlueIn3 | |
blue lightblue | |
00000 | |
01000 | |
00000 | |
10010 | |
00000 | |
PaintedBlueIn2 | |
blue lightblue | |
00000 | |
01000 | |
00000 | |
00010 | |
00000 | |
PaintedBlueIn1 | |
blue lightblue | |
00000 | |
00000 | |
00000 | |
00010 | |
00000 | |
PaintedBlue | |
blue | |
Exit | |
green white | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
Footsteps | |
darkblue | |
..... | |
..... | |
..... | |
..... | |
.0.0. | |
Wall | |
black | |
DryPlayer | |
PINK YELLOW BLACK | |
.222. | |
.000. | |
22222 | |
.222. | |
.2.2. | |
WetPlayer | |
PINK YELLOW BLACK lightblue | |
.222. | |
.000. | |
22222 | |
.222. | |
.3.3. | |
DummyPlayer | |
PINK YELLOW BLACK | |
.222. | |
.000. | |
22222 | |
.222. | |
.2.2. | |
======= | |
LEGEND | |
======= | |
. = Background and Unpainted | |
# = Wall | |
P = DryPlayer and Unpainted | |
B = PaintedBlue | |
D = DummyPlayer and Exit | |
@ = Exit | |
Player = DryPlayer or WetPlayer | |
WetPaint = PaintedBlueIn7 or PaintedBlueIn6 or PAintedBlueIn5 or PaintedBlueIn4 or PaintedBlueIn3 or PaintedBlueIn2 or PaintedBlueIn1 | |
Blue = WetPaint or PaintedBlue | |
======= | |
SOUNDS | |
======= | |
EndLevel 42654708 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Unpainted, PaintedBlue, WetPaint, Exit | |
Footsteps | |
Player, DummyPlayer, Wall | |
====== | |
RULES | |
====== | |
[ > DryPlayer | WetPaint ] -> [ > WetPlayer | WetPaint ] restart message "I stepped in wet paint. My shoes are ruined!" | |
(Important: these need to be in increasing order.) | |
[ PaintedBlueIn1 ] -> [ PaintedBlue ] | |
[ PaintedBlueIn2 ] -> [ PaintedBlueIn1 ] | |
[ PaintedBlueIn3 ] -> [ PaintedBlueIn2 ] | |
[ PaintedBlueIn4 ] -> [ PaintedBlueIn3 ] | |
[ PaintedBlueIn5 ] -> [ PaintedBlueIn4 ] | |
[ PaintedBlueIn6 ] -> [ PaintedBlueIn5 ] | |
[ PaintedBlueIn7 ] -> [ PaintedBlueIn6 ] | |
[ > Player Unpainted ] -> [ > Player PaintedBlueIn7] | |
============== | |
WINCONDITIONS | |
============== | |
No Unpainted | |
No WetPaint | |
No WetPlayer | |
======= | |
LEVELS | |
======= | |
message "Gotta get all these places painted before the party tonight." | |
###### | |
#P...# | |
#.##.# | |
#....# | |
###### | |
#BBBB# | |
#B##B# | |
#BBBB# | |
###### | |
###### | |
#.P..# | |
#....# | |
#....# | |
###### | |
#BBBB# | |
#BBBB# | |
#BBBB# | |
###### | |
########## | |
#.P.#....# | |
#........# | |
#...#....# | |
########## | |
#BBB#BBBB# | |
#BBBBBBBB# | |
#BBB#BBBB# | |
########## | |
########## | |
#...#....# | |
#.#.P.##.# | |
#...#....# | |
########## | |
#BBB#BBBB# | |
#B#BBB##B# | |
#BBB#BBBB# | |
########## | |
######### | |
#......## | |
#.P.....# | |
#......## | |
######### | |
#BBBBBB## | |
#BBBBBBB# | |
#BBBBBB## | |
######### | |
########### | |
#.P..##...# | |
#.........# | |
#....##...# | |
########### | |
#BBBB##BBB# | |
#BBBBBBBBB# | |
#BBBB##BBB# | |
########### | |
message "All done — and not a drop of paint on my shoes. Let's go to the party!" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment