Created
August 3, 2019 02:26
-
-
Save octoConnors/091da393ed6260a4bdb19970169cbf6d 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 | |
| run_rules_on_level_start | |
| ======== | |
| OBJECTS | |
| ======== | |
| Background | |
| DARKGREEN | |
| wall | |
| BROWN | |
| gen | |
| transparent | |
| 00000 | |
| 00000 | |
| 00000 | |
| 00000 | |
| 00000 | |
| player | |
| blue | |
| playerSpawn | |
| transparent | |
| target | |
| green | |
| ======= | |
| LEGEND | |
| ======= | |
| . = Background | |
| # = Wall | |
| g = gen | |
| p = playerSpawn and wall | |
| o = target | |
| ======= | |
| SOUNDS | |
| ======= | |
| ================ | |
| COLLISIONLAYERS | |
| ================ | |
| Background | |
| target | |
| wall, player | |
| gen | |
| playerSpawn | |
| ====== | |
| RULES | |
| ====== | |
| startloop | |
| random [g| |no g] -> [g|no wall|g no wall] | |
| [playerSpawn no wall] -> [player] | |
| endloop | |
| ============== | |
| WINCONDITIONS | |
| ============== | |
| ======= | |
| LEVELS | |
| ======= | |
| ################# | |
| ###############o# | |
| ################# | |
| ################# | |
| ################# | |
| ################# | |
| ################# | |
| #######g######### | |
| ################# | |
| ################# | |
| ################# | |
| ################# | |
| ################# | |
| #p############### | |
| ################# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment