Skip to content

Instantly share code, notes, and snippets.

@Stingby12
Created December 25, 2025 21:59
Show Gist options
  • Select an option

  • Save Stingby12/7437b3d1071830aab6c8c270134ed7a9 to your computer and use it in GitHub Desktop.

Select an option

Save Stingby12/7437b3d1071830aab6c8c270134ed7a9 to your computer and use it in GitHub Desktop.
Filling the world with color (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Filling the world with color
author Stingby12
homepage www.puzzlescript.net
color_palette proteus_rich
run_rules_on_level_start
========
OBJECTS
========
Background
darkbrown black
11011
11001
00100
10011
11011
Wall
lightgray gray
01010
11011
00000
11011
01010
Player
white
..0..
.000.
00.00
.000.
..0..
CrateRed
red
00000
0...0
0...0
0...0
00000
CrateGreen
green
00000
0...0
0...0
0...0
00000
CrateBlue
blue
00000
0...0
0...0
0...0
00000
CrateClear
lightbrown darkgray
.000.
00000
00100
00000
.000.
PaintRed
darkred
.00..
0....
0.0.0
....0
..00.
PaintGreen
darkgreen
0...0
..0..
.0.0.
..0..
0...0
PaintBlue
darkblue
...0.
.0.00
.....
00.0.
.0...
Lose
transparent
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = CrateRed
+ = CrateGreen
¤ = CrateBlue
% = CrateClear
Crate = CrateRed or CrateGreen or CrateBlue or CrateClear
Paint = PaintRed or PaintGreen or PaintBlue
Block = Wall or CrateClear
=======
SOUNDS
=======
Player move 50041309
CrateRed move 29067907
CrateGreen move 45375507
CrateBlue move 71430307
CrateClear move 25561702
startlevel 68877502
endlevel 65241908
undo 3993704
restart 4776108
================
COLLISIONLAYERS
================
Background
PaintRed
PaintGreen
PaintBlue
Player, Wall, Crate
Lose
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ < Player | Crate ] -> [ < Player | < Crate ]
late [ CrateRed ] -> [ CrateRed PaintRed ]
late [ CrateGreen ] -> [ CrateGreen PaintGreen ]
late [ CrateBlue ] -> [ CrateBlue PaintBlue ]
late [ CrateClear Paint ] -> [ CrateClear ]
[ Lose ] -> [ ]
[ no Block ] -> [ Lose ]
late [ Lose PaintRed PaintGreen PaintBlue ] -> [ PaintRed PaintGreen PaintBlue ]
==============
WINCONDITIONS
==============
no Lose
=======
LEVELS
=======
message 1/15 - This bleak world needs color !
######
#+..¤#
#....#
#....#
#*..p#
######
message 2/15 - These silver walls look depressing...
#####
#...#
#.p.#
#...#
#*+¤#
#####
message 3/15 - It's time for a cleasing !
#####
#*+¤#
#...#
#.p.#
#.#.#
#####
message 4/15 - Don't let them wash away !
#######
#*....#
#+.p.%#
#¤....#
#######
message 5/15 - Color every corner and space !
######
##.+##
#*...#
#...¤#
##p.##
######
message 6/15 - Spreading everything everywhere !
#######
#...###
#.p¤+*#
#...###
#######
message 7/15 - Don't let the dark thoughts take over !
#######
#+..###
#.%..##
#..*..#
##p.%.#
###..¤#
#######
message 8/15 - Fill the world with your hues !
######
#*+¤.#
#...¤#
#.p.+#
#...*#
######
message 9/15 - No matter how tight you might feel !
#########
#¤%...###
###...###
###.p.%+#
###...###
#*%...###
#########
message 10/15 - I wish I could find the words for my feelings...
#######
#*...*#
#+.p.+#
#¤...¤#
#######
message 11/15 - Wake your rainbow inside !
########
#*%..%¤#
#%...#%#
#......#
#......#
#%#...%#
#+%..%p#
########
message 12/15 - Unlock yourself from your shackles !
#######
#+¤...#
#*##..#
#..p..#
#..##*#
#...¤+#
#######
message 13/15 - And don't give up on your quest...
#######
##*+¤##
#¤...*#
#+...+#
#*...¤#
##.p.##
#######
message 14/15 - Because everyone is with you...
##########
#####...*#
#.%%%....#
#.%%%.p.¤#
#.%%%....#
#####...+#
##########
message 15/15 - And you'll eventually make it !
#########
#%%%#%%%#
#%*...¤%#
#%.....%#
##.....##
#%...p.%#
#%+....%#
#%%%#%%%#
#########
message Congratulations ! You made it to the end despite all of the trouble !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment