Created
May 1, 2022 01:31
-
-
Save pnutus/9bd0237a913d6b4de1fe09e4405a443f to your computer and use it in GitHub Desktop.
Untitled 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 "You stepped in wet paint. Your 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#BBB## | |
########## | |
########## | |
#...#....# | |
#.#.#.##.# | |
#...P....# | |
########## | |
#BBB#BBBB# | |
#B#B#B##B# | |
#BBBBBBBB# | |
########## | |
######### | |
#.......# | |
#.P.....# | |
#....##.# | |
######### | |
#BBBBBBB# | |
#BBBBBBB# | |
#BBBB##B# | |
######### | |
########### | |
#.P..##...# | |
#.........# | |
#....##...# | |
########### | |
#BBBB##BBB# | |
#BBBBBBBBB# | |
#BBBB##BBB# | |
########### | |
message "All done. And the shoes are shiny as new!" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment