Created
April 10, 2021 15:20
-
-
Save bvoq/fd218481c01963f99e01f041a0208c1f to your computer and use it in GitHub Desktop.
Bärlauchjagd (PuzzleScript Script)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Bärlauchjagd | |
author kdkdk | |
======== | |
OBJECTS | |
======== | |
Background | |
green darkgreen | |
00100 | |
00000 | |
00010 | |
10000 | |
00000 | |
Player | |
white black | |
.000. | |
01010 | |
.000. | |
.0.0. | |
11.11 | |
Rock | |
grey darkgrey darkbrown | |
21002 | |
11000 | |
11000 | |
11000 | |
11101 | |
Rock2 | |
blue darkblue darkbrown | |
20000 | |
00000 | |
00000 | |
00000 | |
20000 | |
Rock3 | |
blue darkblue darkbrown | |
00002 | |
00000 | |
00000 | |
00000 | |
00002 | |
UnbrushedSand | |
darkbrown green | |
00000 | |
01001 | |
00101 | |
01010 | |
00000 | |
HBrushedSand | |
darkbrown darkgreen | |
00000 | |
01011 | |
00000 | |
11010 | |
00000 | |
VBrushedSand | |
darkbrown darkgreen | |
01000 | |
01010 | |
00000 | |
01010 | |
00010 | |
======= | |
LEGEND | |
======= | |
BrushedSand = HBrushedSand or VBrushedSand | |
Sand = UnbrushedSand or BrushedSand | |
Obstacle = BrushedSand or Rock or Rock2 or Rock3 | |
; = Background | |
O = Rock | |
U = Rock2 | |
J = Rock3 | |
. = UnbrushedSand | |
P = Player | |
========= | |
SOUNDS | |
========= | |
closemessage 52854909 | |
startgame 64192309 | |
endlevel 16398509 | |
endgame 62100709 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Sand | |
Player, Rock, Rock2, Rock3 | |
====== | |
RULES | |
====== | |
(the h and v sand effects are cosmetic - how could this be done in a single line if there was only one type brushed sand? ) | |
Horizontal [ UnbrushedSand > Player ] -> [ HBrushedSand > Player ] | |
Vertical [ UnbrushedSand > Player ] -> [ VBrushedSand > Player ] | |
late [ Player BrushedSand ] -> cancel | |
============== | |
WINCONDITIONS | |
============== | |
no UnbrushedSand | |
======= | |
LEVELS | |
======= | |
message level 1 of 5 | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;......;;; | |
;;;......;;; | |
;;;......;;; | |
;P;..UJ..;;; | |
;;;......;;; | |
;;;......;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
message level 2 of 5 | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;......;;; | |
;;;....O.;;; | |
;;;......;;; | |
;P;..O...;;; | |
;;;......;;; | |
;;;......;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
message level 3 of 5 | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;......;;; | |
;;;...O..;;; | |
;;;......;;; | |
;P;.O....;;; | |
;;;....O.;;; | |
;;;......;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
message level 4 of 5 | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;..UJ..;;; | |
;;;O....O;;; | |
;P;..UJ..;;; | |
;;;O....O;;; | |
;;;..UJ..;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
message level 5 of 5 | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;O.....;;; | |
;;;..O.O.;;; | |
;;;O...O.;;; | |
;P;..O...;;; | |
;;;O...O.;;; | |
;;;..O...;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
;;;;;;;;;;;; | |
message congratulations! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment