Created
November 13, 2021 19:44
-
-
Save jcmiller11/a961014c0f802deac50eb22da0c45842 to your computer and use it in GitHub Desktop.
My 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 My Game | |
| author My Name Here | |
| homepage www.puzzlescript.net | |
| verbose_logging | |
| ======== | |
| OBJECTS | |
| ======== | |
| Background | |
| GREEN | |
| Wall | |
| BROWN | |
| Player | |
| Transparent | |
| Player1 | |
| Blue | |
| Player2 | |
| Red | |
| ======= | |
| LEGEND | |
| ======= | |
| . = Background | |
| # = Wall | |
| 1 = Player1 and Player | |
| 2 = Player2 | |
| Players = Player1 or Player2 | |
| ======= | |
| SOUNDS | |
| ======= | |
| ================ | |
| COLLISIONLAYERS | |
| ================ | |
| Background | |
| Players, Wall | |
| Player | |
| ====== | |
| RULES | |
| ====== | |
| (send movement to Players) | |
| [> Player][Players] -> [> Player][> Players] | |
| (send action only to Player2) | |
| [action Player][Player2] -> [action Player][action Player2] | |
| (switch players on action) | |
| [action Player2] [Player1] -> [Player1] [Player2] | |
| ============== | |
| WINCONDITIONS | |
| ============== | |
| ======= | |
| LEVELS | |
| ======= | |
| ######### | |
| #.......# | |
| #.......# | |
| #.1...2.# | |
| #.......# | |
| #.......# | |
| ######### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment