Created
August 5, 2018 02:40
-
-
Save edderiofer/5ff176934d89d7d4f015b6d0763a5b92 to your computer and use it in GitHub Desktop.
RE: Treat of the Spectrum (PuzzleScript Script)
This file contains 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 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 RE: Treat of the Spectrum | |
author edderiofer and main_gi | |
homepage http://edderiofer.blogspot.com | |
norepeat_action | |
verbose_logging | |
again_interval 0.2 | |
======== | |
OBJECTS | |
======== | |
Background . | |
grey | |
Wall # | |
darkgrey | |
player p | |
white black | |
.000. | |
.000. | |
10101 | |
.111. | |
.1.1. | |
blockred a | |
red | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
blockwhite i | |
white | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
actioned | |
#FFFF00 | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
fired | |
#FF00FF | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
hit | |
#00FFFF | |
..... | |
...0. | |
..0.. | |
.0... | |
..... | |
inventorymarker1 | |
white | |
00000 | |
..0.. | |
..0.. | |
..0.. | |
00000 | |
inventorymarker2 | |
white | |
..... | |
..0.. | |
..... | |
..0.. | |
..... | |
inventory | |
transparent | |
winning | |
transparent | |
======= | |
LEGEND | |
======= | |
blocker = wall | |
block = blockred or blockwhite | |
1 = inventorymarker1 and wall | |
2 = inventorymarker2 and wall | |
3 = inventory and blockwhite | |
inventoryparts = inventory or inventorymarker1 or inventorymarker2 | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Player, Wall, block | |
actioned | |
fired | |
hit | |
inventoryparts | |
winning | |
====== | |
RULES | |
====== | |
[action player] -> [actioned player] | |
[actioned > player | ] -> [no actioned player | > fired] again | |
late [fired blocker] -> cancel | |
late [fired block] -> [block hit] | |
[> fired | no blocker no block] -> [no fired | > fired] | |
late [blockred hit][inventory blockwhite] -> [blockwhite no hit][inventory blockred] | |
late [blockwhite hit][inventory blockred] -> [blockred no hit][inventory blockwhite] | |
late [winning] -> win | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
...a.... | |
........ | |
........ | |
........ | |
........ | |
........ | |
...p.... | |
######## | |
123##### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment