Created
November 3, 2023 00:00
-
-
Save jcmiller11/8d9ed86f6bd50bd9454cf662522bdfc0 to your computer and use it in GitHub Desktop.
AutoBorder Example (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 AutoBorder Example | |
author jc | |
homepage www.puzzlescript.net | |
run_rules_on_level_start | |
======== | |
OBJECTS | |
======== | |
Background | |
black | |
Player | |
black orange white blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
UpBorder | |
red | |
00000 | |
..... | |
..... | |
..... | |
..... | |
RightBorder | |
blue | |
....0 | |
....0 | |
....0 | |
....0 | |
....0 | |
DownBorder | |
green | |
..... | |
..... | |
..... | |
..... | |
00000 | |
LeftBorder | |
yellow | |
0.... | |
0.... | |
0.... | |
0.... | |
0.... | |
FirstTurn | |
transparent | |
======= | |
LEGEND | |
======= | |
. = Background | |
P = Player and FirstTurn | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Player | |
FirstTurn | |
UpBorder | |
RightBorder | |
DownBorder | |
LeftBorder | |
====== | |
RULES | |
====== | |
[FirstTurn] -> [UpBorder RightBorder DownBorder LeftBorder] | |
horizontal [UpBorder |no UpBorder ] -> [UpBorder |UpBorder ] | |
horizontal [DownBorder |no DownBorder ] -> [DownBorder |DownBorder ] | |
vertical [RightBorder|no RightBorder] -> [RightBorder|RightBorder] | |
vertical [LeftBorder |no LeftBorder ] -> [LeftBorder |LeftBorder ] | |
UP [UpBorder |] -> [|UpBorder ] | |
RIGHT [RightBorder|] -> [|RightBorder] | |
DOWN [DownBorder |] -> [|DownBorder ] | |
LEFT [LeftBorder |] -> [|LeftBorder ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
......... | |
.......P. | |
......... | |
......... | |
......... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment