Created
February 2, 2020 20:04
-
-
Save octoConnors/57d1cef6e231077b2b34e6a3a2fc002c to your computer and use it in GitHub Desktop.
I made the game where you kill a goblin with bombs (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 I made the game where you kill a goblin with bombs | |
| author Connorses | |
| again_interval 0.8 | |
| norestart | |
| ======== | |
| OBJECTS | |
| ======== | |
| background | |
| darkblue | |
| wall | |
| brown | |
| explo | |
| red orange | |
| 10101 | |
| 01010 | |
| 10101 | |
| 01010 | |
| 10101 | |
| switch1 | |
| grey | |
| ..... | |
| 00000 | |
| 00000 | |
| 00000 | |
| ..... | |
| switch2 | |
| grey | |
| .000. | |
| .000. | |
| .000. | |
| .000. | |
| .000. | |
| player | |
| white | |
| ..0.. | |
| ..0.. | |
| 00.00 | |
| ..0.. | |
| ..0.. | |
| track1 | |
| darkgrey | |
| ..... | |
| ..... | |
| 00000 | |
| ..... | |
| ..... | |
| track2 | |
| darkgrey | |
| ..0.. | |
| ..0.. | |
| ..0.. | |
| ..0.. | |
| ..0.. | |
| bomb | |
| black yellow | |
| ..111 | |
| ..0.. | |
| .000. | |
| .000. | |
| .000. | |
| goblin | |
| green red | |
| .0.0. | |
| .101. | |
| 00000 | |
| .000. | |
| .0.0. | |
| princess | |
| pink white | |
| ..01. | |
| .0001 | |
| ..0.. | |
| .000. | |
| 00000 | |
| noWin | |
| transparent | |
| ======= | |
| LEGEND | |
| ======= | |
| switch = switch1 or switch2 | |
| track = track1 or track2 | |
| # = wall | |
| . = background | |
| - = track1 | |
| I = track2 | |
| 1 = track1 and wall | |
| 2 = track2 and wall | |
| 3 = switch1 and track1 and wall | |
| 4 = switch2 and track2 and wall | |
| ~ = switch1 and track1 | |
| : = switch2 and track2 | |
| b = bomb | |
| g = goblin | |
| p = princess | |
| @ = player and wall | |
| ======= | |
| SOUNDS | |
| ======= | |
| ================ | |
| COLLISIONLAYERS | |
| ================ | |
| background | |
| wall, explo, bomb | |
| track | |
| switch | |
| princess, goblin | |
| player | |
| noWin | |
| ====== | |
| RULES | |
| ====== | |
| [explo princess] -> [explo princess noWin] message oh no, you hit the princess! (press z to undo) | |
| [explo noWin|explo] -> [explo noWin|explo noWin] | |
| [explo no noWin] -> [explo] message You didn't hit the goblin! (press z to undo) | |
| [action player track] -> [player action track] | |
| startloop | |
| [action track|track]->[action track|action track] | |
| endloop | |
| [action track switch] -> [track action switch] | |
| [action track] -> [track] | |
| [action switch|track|track] -> [ |track|switch track] | |
| [action player bomb] -> [explo] | |
| [explo|no switch no wall] -> [explo|explo] | |
| ============== | |
| WINCONDITIONS | |
| ============== | |
| all goblin on explo | |
| no explo on princess | |
| ======= | |
| LEVELS | |
| ======= | |
| @######### | |
| #g......## | |
| ###~1-#.## | |
| ###.#.#.## | |
| ###.#~1-## | |
| ###.#.#..# | |
| ###.#.##.# | |
| #.:.:.p..# | |
| #.2#2#-1~# | |
| #.i.i..#.# | |
| #.#.####.# | |
| #b#......# | |
| ########## | |
| message success! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment