Skip to content

Instantly share code, notes, and snippets.

@variousauthors
Created June 5, 2022 20:51
Show Gist options
  • Save variousauthors/23fe5b64e3160fe1d9f78d1959888996 to your computer and use it in GitHub Desktop.
Save variousauthors/23fe5b64e3160fe1d9f78d1959888996 to your computer and use it in GitHub Desktop.
Ark (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Ark
author Ziggy
homepage arrogantgamer.itch.io
========
OBJECTS
========
Background
#081820 #346856 #88c070 #e0f8d0
33333
33333
33333
33333
33333
Wall
#081820 #346856 #88c070 #e0f8d0
22221
21110
21110
21110
10000
Player
#081820 #346856 #88c070 #e0f8d0
.....
.....
.....
.....
.....
PLeft
#081820 #346856 #88c070 #e0f8d0
22...
21222
21202
21222
22...
PUp
#081820 #346856 #88c070 #e0f8d0
22222
21112
.222.
.202.
.222.
PRight
#081820 #346856 #88c070 #e0f8d0
...22
22212
20212
22212
...22
PDown
#081820 #346856 #88c070 #e0f8d0
.222.
.202.
.222.
21112
22222
Crate
#081820 #346856 #88c070 #e0f8d0
21112
10221
12021
12201
21112
Stairs
#081820 #346856 #88c070 #e0f8d0
33322
33122
32100
12000
10000
Hole
#081820 #346856 #88c070 #e0f8d0
00000
00000
00000
00000
00000
Crumble
#081820 #346856 #88c070 #e0f8d0
33313
32333
33332
13313
32333
=======
LEGEND
=======
. = Background
# = Wall
* = Crumble
P = Player and PDown
C = Crate
O = Hole
S = Stairs
sprite = PLeft or PUp or PRight or PDown
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Stairs, Crumble, Hole
Player, Wall, Crate
PLeft, PUp, PDown, PRight
======
RULES
======
left [ > Player | no Player ] -> [ > Player > PLeft | no Player ]
right [ > Player | no Player ] -> [ > Player > PRight | no Player ]
up [ > Player | no Player ] -> [ > Player > PUp | no Player ]
down [ > Player | no Player ] -> [ > Player > PDown | no Player ]
[ > Player Crumble ] -> [ > Player Hole ]
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > Player | Hole ] -> [ Player | Hole ]
[ > Crate | Hole ] -> [ | Background ]
late [ sprite | ... | Player ] -> [ sprite | ... | Player sprite ]
late [ sprite no Player ] -> [ no Player ]
==============
WINCONDITIONS
==============
All Player on Stairs
=======
LEVELS
=======
(Level32)
#...#S####
..*C#O#...
.#O...#CC.
.#*#O.#...
.P.#*##.##
.C.......#
#..#O*...#
####*##.##
####....##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment