Last active
December 1, 2021 16:44
-
-
Save jcmiller11/cf959c945e4d71a66bc4ad354f35bd38 to your computer and use it in GitHub Desktop.
Sliding Floors (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 Sliding Floors | |
| author jcGyo | |
| homepage www.puzzlescript.net | |
| ======== | |
| OBJECTS | |
| ======== | |
| Background | |
| Black | |
| Floor | |
| Gray | |
| MovableFloor | |
| Gray DarkGray | |
| 11111 | |
| 10001 | |
| 10001 | |
| 10001 | |
| 11111 | |
| Player | |
| Black Orange White Blue | |
| .000. | |
| .111. | |
| 22222 | |
| .333. | |
| .3.3. | |
| Goal | |
| Red | |
| .0... | |
| .0000 | |
| .0.0. | |
| 0000. | |
| ...0. | |
| Wall | |
| #222222 darkgray | |
| 11111 | |
| 10101 | |
| 11111 | |
| 10101 | |
| 11111 | |
| LMover | |
| transparent | |
| UMover | |
| transparent | |
| RMover | |
| transparent | |
| DMover | |
| transparent | |
| ======= | |
| LEGEND | |
| ======= | |
| . = Background | |
| , = Floor | |
| # = MovableFloor | |
| P = Player and Floor | |
| ! = Goal and Floor | |
| O = Wall | |
| MovementFlags = LMover or UMover or RMover or DMover | |
| Walkables = Floor or MovableFloor | |
| ======= | |
| SOUNDS | |
| ======= | |
| Player destroy 78825101 | |
| ================ | |
| COLLISIONLAYERS | |
| ================ | |
| Background | |
| Floor, MovableFloor, Wall | |
| Goal | |
| Player | |
| MovementFlags | |
| ====== | |
| RULES | |
| ====== | |
| (Fall into holes) | |
| [Player no Walkables] -> [] | |
| (Sliding floors) | |
| [LMover][MovableFloor] -> [LMover][Left MovableFloor] | |
| [UMover][MovableFloor] -> [UMover][Up MovableFloor] | |
| [RMover][MovableFloor] -> [RMover][Right MovableFloor] | |
| [DMover][MovableFloor] -> [DMover][Down MovableFloor] | |
| (Clear MovementFlags on player input turn) | |
| [moving Player][MovementFlags] -> [moving Player][] | |
| (Begin movement on player input) | |
| [Left Player ][MovableFloor] -> [Left Player LMover][Left MovableFloor ] | |
| [Up Player ][MovableFloor] -> [Up Player UMover][Up MovableFloor ] | |
| [Right Player][MovableFloor] -> [Right Player RMover][Right MovableFloor] | |
| [Down Player ][MovableFloor] -> [Down Player DMover][Down MovableFloor ] | |
| (Stop movement into walls) | |
| [> Player|Wall] -> [Player|Wall] | |
| [] -> again | |
| ============== | |
| WINCONDITIONS | |
| ============== | |
| All Goal on Player | |
| ======= | |
| LEVELS | |
| ======= | |
| .....OOOOO | |
| .....O,,!O | |
| OOOOOOO,OO | |
| O,.......O | |
| O,..,,.##O | |
| O,,.,,,,#O | |
| O,,.,,,,,O | |
| OP,.,,,,,O | |
| O,..,,,,,O | |
| O,..,,,,,O | |
| OOOOOOOOOO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment