Skip to content

Instantly share code, notes, and snippets.

@Stingby12
Created January 12, 2026 20:54
Show Gist options
  • Select an option

  • Save Stingby12/9e2ccd2015e1545b5d26470db284c4a8 to your computer and use it in GitHub Desktop.

Select an option

Save Stingby12/9e2ccd2015e1545b5d26470db284c4a8 to your computer and use it in GitHub Desktop.
Ninja Painter Demake (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
case_sensitive
title Ninja Painter Demake
author Stingby12
homepage www.puzzlescript.net
sprite_size 10
again_interval 0.05
run_rules_on_level_start
========
OBJECTS
========
(
https://lospec.com/palette-list/pico-8-secret-palette
#000000
#1d2b53
#7e2553
#008751
#ab5236
#5f574f
#c2c3c7
#fff1e8
#ff004d
#ffa300
#ffec27
#00e436
#29adff
#83769c
#ff77a8
#ffccaa
#291814
#111d35
#422136
#125359
#742f29
#49333b
#a28879
#f3ef7d
#be1250
#ff6c24
#a8e72e
#00b543
#065ab5
#754665
#ff6e59
#ff9d81
)
Void
#000
Background
white
PyramidX
transparent
Wall
Brown
SlopeUL
Brown
0000000000
000000000.
00000000..
0000000...
000000....
00000.....
0000......
000.......
00........
0.........
SlopeDL
Brown
0.........
00........
000.......
0000......
00000.....
000000....
0000000...
00000000..
000000000.
0000000000
SlopeUR
Brown
0000000000
.000000000
..00000000
...0000000
....000000
.....00000
......0000
.......000
........00
.........0
SlopeDR
Brown
.........0
........00
.......000
......0000
.....00000
....000000
...0000000
..00000000
.000000000
0000000000
WallPyramid
#291814 #ab5236 #742f29
0000000000
0112002110
0120110210
0201111020
0011111100
0021111200
0202112020
0120220210
0112002110
0000000000
SlopeULPyramid
#291814 #ab5236 #742f29
0000000000
011101120.
01110120..
0222020...
000000....
01120.....
0120......
020.......
00........
0.........
SlopeDLPyramid
#291814 #ab5236 #742f29
0.........
00........
010.......
0110......
02220.....
000000....
0111010...
01110110..
022202220.
0000000000
SlopeURPyramid
#291814 #ab5236 #742f29
0000000000
.021101110
..02101110
...0202220
....000000
.....02110
......0210
.......020
........00
.........0
SlopeDRPyramid
#291814 #ab5236 #742f29
.........0
........00
.......010
......0110
.....02220
....000000
...0101110
..01101110
.022202220
0000000000
Tile
Green
TilePyramid
#ffccaa #ff9d81
1111111111
1000000001
1000110001
1001001001
1010000101
1010000101
1001001001
1000110001
1000000001
1111111111
WindowTile
lightgreen
WindowPyramid
#ffccaa #ff9d81
1111111111
1000000001
1000110001
1001..1001
1001..1001
101....101
101....101
1011111101
1000000001
1111111111
ExitClose
#422136 #742f29 #ab5236
0000000000
0111111110
0000000000
0222112220
0222112220
0222112220
0220110220
0222112220
0222112220
0222112220
ExitOpen
#422136 #742f29 #000
0000000000
0111111110
0000000000
0222222220
0222222220
0222222220
0222222220
0222222220
0222222220
0222222220
ExitTP
transparent
PlayerGrayD
#000 #5f574f #c2c3c7 #49333b
..1.000...
...11111..
..102323..
...00000..
.11.000...
.1100010..
.12.110.2.
....000...
...22.22..
..222.222.
PlayerGrayL
#000 #5f574f #c2c3c7 #49333b
..........
...111....
2..211.1.1
22..0.001.
2201000210
..01000310
2200100210
22..0.031.
2..2......
..........
PlayerGrayU
#000 #5f574f #c2c3c7 #49333b
.222.222..
..22.22...
...000....
.2.011.21.
..0100011.
...000.11.
..00000...
..323201..
..11111...
...000.1..
PlayerGrayR
#000 #5f574f #c2c3c7 #49333b
..........
......2..2
.130.0..22
0120010022
01300010..
0120001022
.100.0..22
1.1.112..2
....111...
..........
PlayerRedD copy:PlayerGrayD
#000 #ff004d #c2c3c7 #49333b
PlayerRedL copy:PlayerGrayL
#000 #ff004d #c2c3c7 #49333b
PlayerRedU copy:PlayerGrayU
#000 #ff004d #c2c3c7 #49333b
PlayerRedR copy:PlayerGrayR
#000 #ff004d #c2c3c7 #49333b
DashGrayD
#5f574f #c2c3c7
..1.11.1..
..111111..
..110011..
..100001..
..000000..
..000000..
..000000..
...0000...
....00....
..........
DashGrayL
#5f574f #c2c3c7
..........
..........
...0001111
..0000011.
.000000011
.000000011
..0000011.
...0001111
..........
..........
DashGrayU
#5f574f #c2c3c7
..........
....00....
...0000...
..000000..
..000000..
..000000..
..100001..
..110011..
..111111..
..1.11.1..
DashGrayR
#5f574f #c2c3c7
..........
..........
1111000...
.1100000..
110000000.
110000000.
.1100000..
1111000...
..........
..........
DashRedD copy:DashGrayD
#ff004d #be1250
DashRedL copy:DashGrayL
#ff004d #be1250
DashRedU copy:DashGrayU
#ff004d #be1250
DashRedR copy:DashGrayR
#ff004d #be1250
RedTarget
#ff004d
..........
..0....0..
.000..000.
..000000..
...0000...
...0000...
..000000..
.000..000.
..0....0..
..........
RedTilePyramid copy:TilePyramid
#be1250 #7e2553
RedPaint
#ff004d #000 #be1250
..........
..111111..
..111111..
..200002..
.20000002.
.20000002.
.20000002.
..200002..
...2222...
..........
Star
#f3ef7d #ffec27 #ffa300
....00....
....10....
...1110...
2111111000
.21111111.
..211111..
..211111..
..212211..
..21..21..
..2....2..
=======
LEGEND
=======
0 = PyramidX
. = Background
# = Wall
┌ = SlopeUL
└ = SlopeDL
┐ = SlopeUR
┘ = SlopeDR
■ = Void
- = Tile
+ = WindowTile
P = PlayerGrayD and ExitClose
r = RedTarget and Tile
R = RedPaint and Tile
* = Star and Tile
Slope = SlopeUL or SlopeDL or SlopeUR or SlopeDR
Target = RedTarget
Paint = RedPaint
PlayerGray = PlayerGrayD or PlayerGrayL or PlayerGrayU or PlayerGrayR
PlayerRed = PlayerRedD or PlayerRedL or PlayerRedU or PlayerRedR
player = PlayerGray or PlayerRed
DashGray = DashGrayD or DashGrayL or DashGrayU or DashGrayR
DashRed = DashRedD or DashRedL or DashRedU or DashRedR
Dash = DashGray or DashRed
DashD = DashGrayD or DashRedD
DashL = DashGrayL or DashRedL
DashU = DashGrayU or DashRedU
DashR = DashGrayR or DashRedR
WallTheme = WallPyramid
SlopeTheme = SlopeULPyramid or SlopeDLPyramid or SlopeURPyramid or SlopeDRPyramid
TileTheme = TilePyramid
WindowTheme = WindowPyramid
ColTilePyramid = RedTilePyramid
ColTileTheme = ColTilePyramid
ThemeX = PyramidX
BlockU = Wall or SlopeDL or SlopeDR
BlockD = Wall or SlopeUL or SlopeUR
BlockL = Wall or SlopeUR or SlopeDR
BlockR = Wall or SlopeUL or SlopeDL
Block = Wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Tile, WindowTile, ExitClose, ExitOpen
WindowTheme
TileTheme
ColTileTheme
Target
Paint
Void, player, Dash, Wall, Slope
Star
WallTheme
SlopeTheme
ThemeX
ExitTP
======
RULES
======
[ PyramidX ] [ Wall ] -> [ PyramidX ] [ Wall WallPyramid ]
[ PyramidX ] [ SlopeUL ] -> [ PyramidX ] [ SlopeUL SlopeULPyramid ]
[ PyramidX ] [ SlopeDL ] -> [ PyramidX ] [ SlopeDL SlopeDLPyramid ]
[ PyramidX ] [ SlopeUR ] -> [ PyramidX ] [ SlopeUR SlopeURPyramid ]
[ PyramidX ] [ SlopeDR ] -> [ PyramidX ] [ SlopeDR SlopeDRPyramid ]
[ PyramidX ] [ Tile ] -> [ PyramidX ] [ Tile TilePyramid ]
[ PyramidX ] [ WindowTile ] -> [ PyramidX ] [ WindowPyramid ]
[ up PlayerGray ] -> [ up DashGrayU ] again
[ down PlayerGray ] -> [ down DashGrayD ] again
[ left PlayerGray ] -> [ left DashGrayL ] again
[ right PlayerGray ] -> [ right DashGrayR ] again
[ up PlayerRed ] -> [ up DashRedU ] again
[ down PlayerRed ] -> [ down DashRedD ] again
[ left PlayerRed ] -> [ left DashRedL ] again
[ right PlayerRed ] -> [ right DashRedR ] again
[ DashU ] -> [ up DashU ] again
[ DashD ] -> [ down DashD ] again
[ DashL ] -> [ left DashL ] again
[ DashR ] -> [ right DashR ] again
[ > DashU | RedPaint ] -> [ > DashRedU | RedPaint ]
[ > DashL | RedPaint ] -> [ > DashRedL | RedPaint ]
[ > DashD | RedPaint ] -> [ > DashRedD | RedPaint ]
[ > DashR | RedPaint ] -> [ > DashRedR | RedPaint ]
late [ DashRed RedTarget TilePyramid ] -> [ DashRed RedTilePyramid ]
[ ExitClose ] -> [ ExitClose ExitTP ]
[ ExitTP ] [ Target ] -> [ ] [ Target ]
[ ExitClose ExitTP ] -> [ ExitOpen ]
[ player ExitOpen ] -> win
[ > Dash | Star ] -> [ > Dash | ]
up [ up DashGrayU | BlockU ] -> [ PlayerGrayU | BlockU ] again
down [ down DashGrayD | BlockD ] -> [ PlayerGrayD | BlockD ] again
left [ left DashGrayL | BlockL ] -> [ PlayerGrayL | BlockL ] again
right [ right DashGrayR | BlockR ] -> [ PlayerGrayR | BlockR ] again
up [ up DashRedU | BlockU ] -> [ PlayerRedU | BlockU ] again
down [ down DashRedD | BlockD ] -> [ PlayerRedD | BlockD ] again
left [ left DashRedL | BlockL ] -> [ PlayerRedL | BlockL ] again
right [ right DashRedR | BlockR ] -> [ PlayerRedR | BlockR ] again
==============
WINCONDITIONS
==============
=======
LEVELS
=======
0................
.........┘└......
........┘##└.....
....┘#####*#.....
....#P+-R-+#.....
....┐#r###r#.....
.....#r###r#.....
....┘#r###r#└....
...┘##+rrr+*#└...
..┘###*#######└..
.┘#############└.
┘###############└
■■■■■■■■■■■■■■■■■
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment