Last active
December 2, 2018 22:16
-
-
Save dario-zubovic/589df6000eabaf5bc831c729750c60fc to your computer and use it in GitHub Desktop.
Peg Solitude (PuzzleScript Script)
This file contains 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 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 Peg Solitude | |
author Dario Zubovic | |
homepage dario-zubovic.itch.io | |
======== | |
OBJECTS | |
======== | |
Background | |
darkgreen | |
Wall | |
darkgray Gray | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Peg | |
Orange Yellow | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Temp | |
black | |
..... | |
..... | |
..... | |
..... | |
..... | |
Temp2 | |
black | |
..... | |
..... | |
..... | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Peg | |
t = Temp | |
Block = Peg or Wall | |
======= | |
SOUNDS | |
======= | |
endlevel 60059303 | |
sfx0 36772507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Temp | |
Temp2 | |
Player, Wall, Peg | |
====== | |
RULES | |
====== | |
[ Temp ] -> [ ] | |
[ > Player | Peg | Peg | no Block ] -> [ Player | | | Peg ] sfx0 | |
late random [ Peg ] -> [ Temp2 ] | |
late random [ Peg ] [ Temp2 ] [ ] -> [ Peg ] [ Peg ] [ Temp ] | |
late random [ Temp2 ] -> [ Peg ] | |
============== | |
WINCONDITIONS | |
============== | |
No Temp | |
======= | |
LEVELS | |
======= | |
message 1/2 | |
######### | |
#.......# | |
#.P.....# | |
#....*..# | |
#..***..# | |
#..***..# | |
#.......# | |
#.......# | |
######### | |
message 2/2 | |
######### | |
#.......# | |
#.P.....# | |
#..*.**.# | |
#.**.**.# | |
#..*.**.# | |
#.......# | |
#.......# | |
######### | |
message Well done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment