Created
August 11, 2018 05:06
-
-
Save variousauthors/304ea4cf9f88bafdeb27dd92b0b64f0d to your computer and use it in GitHub Desktop.
Exercice de Style (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 Exercice de Style | |
author arrogantgamer & edderiofer | |
homepage www.puzzlescript.net | |
norepeat_action | |
run_rules_on_level_start | |
again_interval 0.1 | |
zoomscreen 18x9 | |
======== | |
OBJECTS | |
======== | |
Background | |
black | |
Grass | |
LIGHTGREEN | |
water | |
#ADD8E6 | |
Player | |
brown #493c2b #000000 | |
..0.. | |
.111. | |
01110 | |
02220 | |
.2.2. | |
TreeTip | |
#64A93A | |
..... | |
..... | |
..... | |
..... | |
..0.. | |
tree | |
#44891A brown #54992A #64A93A | |
.232. | |
02220 | |
00000 | |
.111. | |
..... | |
stump | |
brown LIGHTBROWN | |
.111. | |
.111. | |
.111. | |
.000. | |
..... | |
LogH | |
brown | |
..... | |
00000 | |
00000 | |
00000 | |
..... | |
LogV | |
brown LIGHTBROWN | |
.000. | |
.000. | |
.000. | |
.000. | |
.111. | |
BridgeH | |
brown #ADD8E6 | |
11111 | |
00000 | |
00000 | |
00000 | |
11111 | |
BridgeV | |
brown #ADD8E6 yellow #BDE8F6 | |
20002 | |
30003 | |
10001 | |
10001 | |
10001 | |
Stone | |
lightgrey grey | |
..000 | |
00011 | |
00001 | |
01111 | |
1111. | |
SunkenStone | |
LIGHTGRAY grey #ADD8E6 #9DC8E6 | |
..... | |
..000 | |
20011 | |
30001 | |
33333 | |
Momentum | |
TRANSPARENT | |
Beach | |
yellow #BDE8F6 | |
00000 | |
11111 | |
..... | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
~ = water | |
. = Background and Grass | |
P = Player and Grass | |
T = tree and Grass | |
o = stone and Grass | |
Log = LogV or LogH | |
Bridge = BridgeV or BridgeH | |
Obstacle = Log or Tree or Stone or SunkenStone | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Grass, | |
Water, | |
Beach, | |
SunkenStone, | |
Stump, Bridge | |
Player, Tree, Log, Stone | |
Momentum, TreeTip | |
====== | |
RULES | |
====== | |
( the player can push stones ) | |
[ > player | stone ] -> [ > player | > stone ] | |
( stones that land in the water sink ) | |
late [ stone water ] -> [ water SunkenStone ] | |
( the player can't cross water like, at all ) | |
[ > player | water ] -> [ player | water ] | |
[ > player | SunkenStone ] -> [ player | SunkenStone ] | |
vertical [ > player | bridgeH ] -> [ player | bridgeH ] | |
horizontal [ > player | bridgeV ] -> [ player | bridgeV ] | |
( bridges are checkpoints ) | |
late [ player bridge ] -> checkpoint | |
( the player can push logs ) | |
vertical [ > player | logV ] -> [ > player | > logV ] | |
horizontal [ > player | logH ] -> [ > player | > logH ] | |
( the player just wrecks trees ) | |
vertical [> player | tree | ] -> [player | stump | LogV ] | |
horizontal [ > player | tree | ] -> [player | stump | LogH ] | |
( rolling: this could be cleaned up ) | |
vertical [ > player | logH ] -> [ player Momentum | logH ] | |
horizontal [ > player | logV ] -> [ player Momentum| logV ] | |
( roll logs horizontally ) | |
horizontal [ Momentum | logV | no Obstacle no Water ] -> [ | Momentum | logV ] again | |
horizontal [ Momentum | logV | Obstacle ] -> [ | logV | Obstacle ] again | |
horizontal [ Momentum | logV | Water ] -> [ | no logV | logV Water ] again | |
( roll logs horizontally ) | |
vertical [ Momentum | logH | no Obstacle no Water ] -> [ no Momentum | Momentum | logH ] | |
vertical [ Momentum | logH | Obstacle ] -> [ no Momentum | logH | Obstacle ] | |
vertical [ Momentum | logH | Water ] -> [ no Momentum | no logH | logH Water ] | |
( logs in water become bridges ) | |
late [ water logV ] -> [ bridgeV ] | |
late [ water logH ] -> [ bridgeH ] | |
( render pretty things ) | |
down [ TreeTip | no tree ] -> [ | ] | |
up [ tree | no TreeTip ] -> [ tree | TreeTip ] | |
down [ Grass | water no beach ] -> [ Grass | water beach ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~......~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o......~~~~~~~~~~....~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.....T.~~~~~~~~~..o.o..~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~......~~~~~~~~~~.......~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..~~~~~~~~..~~..o....o~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~...~....o.T.~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..~..o~....T..~~.......~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~T...~.o....~~~~~.o.~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.o......~~...~~~~~~~~~~~~~~~~..~.~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..~~...~~~~~~~~~~~~~...~~~~.....~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~~..~~~~~~~.~~~~~...~~~~~.o...~~~.....~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.........~~T.~~~~~~~.....~~~~...T~~~~~o..~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~......T..~......~~~~.o...~~~~~~o..~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...o....~~......~~~~~~..~~~~~~~...~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.o.....~~~.....T~....~~~~~..~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~~~~~~.T~..~...o.~~.....~~~.....~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..~~~~.T...~......~~...o..~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~~.o.....~......~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~~~~~~~~~~~~...T.~~.o...~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~....o~~~~~~.o..~~...~~~...T.~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~......~~~.o....~~~~~~~~~..~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..~...~~....T~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..~~..T..~.....~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..........~...o.~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~..........~~...~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...~~~~~.....o..~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~....~~~~~~o....~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~....o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~....~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment