Skip to content

Instantly share code, notes, and snippets.

@edizaga
Created May 1, 2025 14:29
Show Gist options
  • Save edizaga/05d5f701d8a938dfb8ce213c0f0b7127 to your computer and use it in GitHub Desktop.
Save edizaga/05d5f701d8a938dfb8ce213c0f0b7127 to your computer and use it in GitHub Desktop.
COLLECTOR (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title COLLECTOR
author DENİZ AKSOY
homepage www.puzzlescript.net
========
OBJECTS
========
Background
green
Target
black
Wall
brown #40404a #2d2c33
11111
10000
11111
00100
00100
wall2
#51545c #40404a #2d2c33
11111
10000
11111
00100
00100
Player
yellow Orange red black
.000.
.111.
22222
.333.
.3.3.
Crate
white pink lightgray
00.00
01210
.111.
02120
00.00
Crate2
red black white
20000
00000
01110
00000
00000
Crate3
yellow red black
00000
01110
02220
01110
00000
Crate4
blue black white
20000
00000
01110
00000
00000
Crate5
gray white black
10000
00000
02220
00000
00000
Crate6
pink white black
10000
00000
02220
00000
00000
Crate7
#4B5320 white black
20000
00000
01000
00000
20000
Crate8
purple white black
10000
00000
02220
00000
00000
Crate9
orange white black
10000
00000
02220
00000
00000
Crate10
#F5DEB3 white black
10000
00000
02220
00000
00000
Spawner
brown white black
00000
00100
22122
00100
00000
key
black blue white
.....
00011
0.0.2
000..
.....
Portal
black pink red
.2.2.
00000
00100
00000
.2.2.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate
O = Target
s = Crate2
w = Crate3
b = Crate4
a = Crate5
y = Crate6
g = Crate7
l = Crate8
x = Crate9
z = Crate10
? = wall2
2 = Spawner
k = key
q = Portal
=======
SOUNDS
=======
Player move 20855507
Crate move 44495907
EndLevel 34876300
sfx0 39484708
Restart 32376701
================
COLLISIONLAYERS
================
Background
Target
Player, Wall,Crate,Crate2,Crate3,Crate4,Crate5,Crate6,Crate7,Crate8,Crate9,Crate10,wall2
Spawner,key,Portal
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > Player | Crate2 ] -> [ > Player | > Crate2 ]
[ > Player | Crate3 ] -> [ > Player | > Crate3 ]
[ > Player | Crate4 ] -> [ > Player | > Crate4 ]
[ > Player | Crate5 ] -> [ > Player | > Crate5 ]
[ > Player | Crate6 ] -> [ > Player | > Crate6 ]
([ > Player | Crate7 ] -> [ > Player | > Crate7 ] )
[ > Player | Crate8 ] -> [ > Player | > Crate8 ]
[ > Player | Crate9 ] -> [ > Player | > Crate9 ]
[ > Player | Crate10 ] -> [ > Player | > Crate10 ]
[ > Player | key ] -> [ > Player | > key ]
[ > Player | Crate2 | Background ] -> [ Background | Crate2 | > Player ]
[ > Player | Crate5 | Background ] -> [ Background | Crate5 | > Player ]
[ Player | Crate3 ] -> [ Player | ]
[ Player | Crate4 ] -> [ Player | ]
[ Player | Crate6 ] -> [ Player | Crate ]
[ Player | Crate8 ] -> [ Player | Wall ]
[key | Crate7 ] -> [ Crate3 | ]
[ Player | Crate9 ] -> [ | Crate9 ] restart message DONT TOUCH ORANGE BOX!
[ > Player | Spawner | Background ] -> [ > Player | Spawner | Crate]
[ > Player | Portal | . | . | . | . | . | . | . | . | . ] -> [ . | . | . | . | . | . | . | . | . | . | > Player ] sfx0
==============
WINCONDITIONS
==============
all Target on Crate
(You lose when player is gone)
=======
LEVELS
=======
message Level 1
message Put the box into the black hole
#######
#.....#
#.p.*.#
#.....#
#.o...#
#.....#
#######
message Level 2
message Move the box and use the pink box
?...?????
?.y.??o??
?...??.??
?.????.??
.z......?
........?
..p.....?
........?
?????????
message Level 3
message Destroy the box and make way for yourself
?????????
?..?....?
?p.w..*.?
?..?...o?
????....?
?????????
?????????
message Level 4
message Use what you have learned
#####o..b*b
#....#..bbb
#....##....
#..p.b.#...
#....#..#w#
#....#.z.z.
######.....
message Level 5
message Jump over the boxes
?????????????
???????.....?
???..s.s..*.?
???p.??....o?
?????????????
?????????????
?????????????
message Level 6
message Choose your own path and put the boxes in the hole
###############
#o....#......o#
#..*z.s...*...#
#.....#.......#
#####w####a####
#.....#.......#
#o.*..w.p.*..o#
###############
message Level 7
message Watch out for the blue boxes! they contain surprise
###################
#o.....l......l...#
#......l......l.*.#
#..p...l......w...#
#......l......llll#
#......z......llll#
#......z......llll#
###################
message Level 8
message Combine the key with the box
?????????????
?...........?
?.....k..p..?
?...?#?#?#???
?.......gg*o?
?.k#?#?#?#???
?..??????????
?????????????
message Level 9
message Orange boxes will ruin you
????????????????
?.......#.x....?
?p......#.x....?
?.#.###.#.#####?
?.#.x.#.#.#x...?
?.#.#.#.#.#....?
?.#.#.#...g*...?
?.#.###.#k###..?
?.#............?
?.#####o#######?
?x#############?
????????????????
message Level 10
message Use what you have learned and use the spawner
?????????????????????
?..p...s........a...?
?.....#.#...#..#....?
?..#..#.#.#.#.#.#.2.?
?............l..x...?
?..#.#.#.#.#.#.#....?
?..............#.k..?
?o.............g....?
?????????????????????
message Level 11
message Use portal to escape
#####??????????
#....#o....2..?
#p...#........?
##...#........?
###.q#........?
#######????????
message Level 12
message You know the drill
#####################
#....q......g....o..#
#p?.?.?.?????.?.???.#
#......s....?....2..#
#...?.?.?.a.?.?.???.#
#.k...x..l......?...#
#?.???.?.?.???.?.??.#
#?.............w...##
#####################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment