Created
June 27, 2023 01:02
-
-
Save jcmiller11/f1239dba906c85668f768fea2a983498 to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (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 Simple Block Pushing Game | |
| author David Skinner | |
| homepage www.puzzlescript.net | |
| ======== | |
| OBJECTS | |
| ======== | |
| Background | |
| lightgreen green | |
| 11111 | |
| 01111 | |
| 11101 | |
| 11111 | |
| 10111 | |
| Target | |
| darkblue | |
| ..... | |
| .000. | |
| .0.0. | |
| .000. | |
| ..... | |
| Wall | |
| brown darkbrown | |
| 00010 | |
| 11111 | |
| 01000 | |
| 11111 | |
| 00010 | |
| Player1 | |
| black orange white blue | |
| .000. | |
| .111. | |
| 22222 | |
| .333. | |
| .3.3. | |
| Player2 | |
| brown lightbrown grey red | |
| .000. | |
| .111. | |
| 22222 | |
| .333. | |
| .3.3. | |
| Crate | |
| orange | |
| 00000 | |
| 0...0 | |
| 0...0 | |
| 0...0 | |
| 00000 | |
| HasMoved | |
| transparent | |
| ======= | |
| LEGEND | |
| ======= | |
| . = Background | |
| # = Wall | |
| P = Player1 | |
| 2 = Player2 | |
| * = Crate | |
| @ = Crate and Target | |
| O = Target | |
| Player = Player1 or Player2 | |
| ======= | |
| SOUNDS | |
| ======= | |
| Crate move 36772507 | |
| ================ | |
| COLLISIONLAYERS | |
| ================ | |
| Background | |
| Target | |
| Player, Wall, Crate | |
| HasMoved | |
| ====== | |
| RULES | |
| ====== | |
| [HasMoved] -> [] | |
| [ > Player2 no HasMoved] -> [ < Player2 HasMoved ] | |
| [ > Player | Crate ] -> [ > Player | > Crate ] | |
| ============== | |
| WINCONDITIONS | |
| ============== | |
| all Target on Crate | |
| ======= | |
| LEVELS | |
| ======= | |
| ####.. | |
| #.O#.. | |
| #..### | |
| #@P.2# | |
| #..*.# | |
| #..### | |
| ####.. | |
| ###### | |
| #....# | |
| #.#P.# | |
| #.*@.# | |
| #.O@.# | |
| #....# | |
| ###### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment