Skip to content

Instantly share code, notes, and snippets.

@pnutus
Created May 1, 2022 01:34
Show Gist options
  • Save pnutus/94e5c597e5fe82c02f19fe0c44a07510 to your computer and use it in GitHub Desktop.
Save pnutus/94e5c597e5fe82c02f19fe0c44a07510 to your computer and use it in GitHub Desktop.
Don't Watch Paint Dry in a Corner (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
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#BBB##
##########
##########
#...#....#
#.#.#.##.#
#...P....#
##########
#BBB#BBBB#
#B#B#B##B#
#BBBBBBBB#
##########
#########
#.......#
#.P.....#
#....##.#
#########
#BBBBBBB#
#BBBBBBB#
#BBBB##B#
#########
###########
#.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