Created
April 16, 2023 17:13
-
-
Save david-crespo/b669c972c68ec197147c8610a9f61c38 to your computer and use it in GitHub Desktop.
Adjacent sides test (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 Adjacent sides test | |
author David Crespo | |
homepage www.puzzlescript.net | |
debug | |
======== | |
OBJECTS | |
======== | |
Background | |
green | |
Target | |
darkblue | |
Wall | |
brown | |
Player | |
blue | |
Crate | |
orange | |
A | |
red | |
B | |
purple | |
B2 | |
black | |
B3 | |
darkblue | |
C | |
white | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
- = Crate | |
@ = Crate and Target | |
O = Target | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target | |
Player, Wall, Crate, A, B, B2, B3, C | |
====== | |
RULES | |
====== | |
[ B2 ] -> [ B ] | |
[ B3 ] -> [ B ] | |
[ Crate ] -> [ B ] | |
[ > Player | A ] -> [ > Player | > A ] | |
[ > Player | C ] -> [ > Player | > C ] | |
startloop | |
late [ A | B ] -> [ A | B2 ] | |
late [ C | B ] -> [ C | B3 ] | |
late [ B3 | A ] -> [ Crate | A ] | |
late [ B2 | C ] -> [ Crate | C ] | |
endloop | |
============== | |
WINCONDITIONS | |
============== | |
( all Target on Crate ) | |
======= | |
LEVELS | |
======= | |
######### | |
#.......# | |
#.......# | |
#.PA.B..# | |
#....C..# | |
#.......# | |
######### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment