-
-
Save Draknek/5b1c7a1bd0cc817fe4c5 to your computer and use it in GitHub Desktop.
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 Lasso | |
author Alan Hazelden | |
homepage www.draknek.org | |
norepeat_action | |
again_interval 0.05 | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGREEN GREEN | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Crate | |
DarkBlue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
PlayerNormal | |
DarkBrown Orange White Blue | |
.000. | |
.000. | |
22222 | |
.333. | |
.3.3. | |
PlayerAiming | |
DarkBrown Yellow White Blue | |
.000. | |
.0001 | |
22222 | |
.333. | |
.3.3. | |
LassoAboveHead | |
Orange Yellow | |
..... | |
.000. | |
0...0 | |
.000. | |
..1.. | |
..... | |
Lasso | |
Orange | |
.000. | |
0...0 | |
0...0 | |
0...0 | |
.000. | |
RopeH | |
Yellow | |
..... | |
..... | |
00000 | |
..... | |
..... | |
RopeV | |
Yellow | |
..0.. | |
..0.. | |
..0.. | |
..0.. | |
..0.. | |
RopeUL | |
Yellow | |
..0.. | |
..0.. | |
000.. | |
..... | |
..... | |
RopeUR | |
Yellow | |
..0.. | |
..0.. | |
..000 | |
..... | |
..... | |
RopeDL | |
Yellow | |
..... | |
..... | |
000.. | |
..0.. | |
..0.. | |
RopeDR | |
Yellow | |
..... | |
..... | |
..000 | |
..0.. | |
..0.. | |
U | |
transparent | |
D | |
transparent | |
L | |
transparent | |
R | |
transparent | |
(U | |
red | |
..0.. | |
..... | |
..... | |
..... | |
..... | |
D | |
red | |
..... | |
..... | |
..... | |
..... | |
..0.. | |
L | |
red | |
..... | |
..... | |
0.... | |
..... | |
..... | |
R | |
red | |
..... | |
..... | |
....0 | |
..... | |
.....) | |
======= | |
LEGEND | |
======= | |
Player = PlayerNormal or PlayerAiming | |
Direction = U or D or L or R | |
Rope = RopeH or RopeV or RopeUL or RopeUR or RopeDL or RopeDR | |
RopePullsL = RopeH or RopeUR or RopeDR | |
RopePullsR = RopeH or RopeUL or RopeDL | |
RopePullsU = RopeV or RopeDL or RopeDR | |
RopePullsD = RopeV or RopeUL or RopeUR | |
. = Background | |
# = Wall | |
P = PlayerNormal | |
* = Crate | |
======= | |
SOUNDS | |
======= | |
Crate MOVE 36772507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Player, Wall, Crate | |
LassoAboveHead | |
Lasso, Rope | |
Direction | |
====== | |
RULES | |
====== | |
[ LassoAboveHead ] -> [] | |
(Pressing action) | |
[ action PlayerNormal ] [ Lasso Crate ] -> [ PlayerNormal ] [ Lasso action Crate ] again | |
[ action PlayerAiming ] -> [ PlayerNormal ] | |
[ action PlayerNormal ] -> [ PlayerAiming ] | |
(Throwing lasso) | |
left [ > PlayerAiming | no Wall ] -> [ L PlayerNormal | L action Lasso ] again | |
right [ > PlayerAiming | no Wall ] -> [ R PlayerNormal | R action Lasso ] again | |
up [ > PlayerAiming | no Wall ] -> [ U PlayerNormal | U action Lasso ] again | |
down [ > PlayerAiming | no Wall ] -> [ D PlayerNormal | D action Lasso ] again | |
left [ L stationary Lasso | no Wall ] -> [ RopeH | L action Lasso ] again | |
right [ R stationary Lasso | no Wall ] -> [ RopeH | R action Lasso ] again | |
up [ U stationary Lasso | no Wall ] -> [ RopeV | U action Lasso ] again | |
down [ D stationary Lasso | no Wall ] -> [ RopeV | D action Lasso ] again | |
[ Lasso stationary Crate ] -> [ action Lasso Crate no Direction ] | |
(Moving while attached) | |
[ left Player R ] -> [ left Player RopeH ] | |
[ left Player U ] -> [ left Player RopeUL ] | |
[ left Player D ] -> [ left Player RopeDL ] | |
[ right Player L ] -> [ right Player RopeH ] | |
[ right Player U ] -> [ right Player RopeUR ] | |
[ right Player D ] -> [ right Player RopeDR ] | |
[ up Player D ] -> [ up Player RopeV ] | |
[ up Player L ] -> [ up Player RopeUL ] | |
[ up Player R ] -> [ up Player RopeUR ] | |
[ down Player U ] -> [ down Player RopeV ] | |
[ down Player L ] -> [ down Player RopeDL ] | |
[ down Player R ] -> [ down Player RopeDR ] | |
[ > Player | Crate ] -> cancel | |
left [ > Player L | RopeH ] -> [ | Player L ] | |
left [ > Player L | RopeUR ] -> [ | Player U ] | |
left [ > Player L | RopeDR ] -> [ | Player D ] | |
right [ > Player R | RopeH ] -> [ | Player R ] | |
right [ > Player R | RopeUL ] -> [ | Player U ] | |
right [ > Player R | RopeDL ] -> [ | Player D ] | |
up [ > Player U | RopeV ] -> [ | Player U ] | |
up [ > Player U | RopeDL ] -> [ | Player L ] | |
up [ > Player U | RopeDR ] -> [ | Player R ] | |
down [ > Player D | RopeV ] -> [ | Player D ] | |
down [ > Player D | RopeUL ] -> [ | Player L ] | |
down [ > Player D | RopeUR ] -> [ | Player R ] | |
[ > Player | Rope ] -> cancel | |
(The player is dragging the rope) | |
[ Player Rope ] [ Lasso Crate ] -> [ Player Rope ] [ stationary Lasso Crate ] | |
left [ > Player Rope | no Wall ] -> [ Rope | R Player ] | |
right [ > Player Rope | no Wall ] -> [ Rope | L Player ] | |
up [ > Player Rope | no Wall ] -> [ Rope | D Player ] | |
down [ > Player Rope | no Wall ] -> [ Rope | U Player ] | |
[ > Player Rope ] -> cancel | |
(Pull the end of the lasso towards the player by one tile) | |
[ stationary Lasso Direction ] -> [ Lasso ] again | |
left [ stationary Lasso | RopePullsL ] -> [ > Lasso | ] again | |
right [ stationary Lasso | RopePullsR ] -> [ > Lasso | ] again | |
up [ stationary Lasso | RopePullsU ] -> [ > Lasso | ] again | |
down [ stationary Lasso | RopePullsD ] -> [ > Lasso | ] again | |
[ stationary Lasso | Player ] -> [ | Player no Direction ] | |
[ moving Lasso stationary Crate ] -> [ moving Lasso moving Crate ] | |
[ Lasso Player ] -> [ Player ] | |
(Add graphics) | |
late up [ PlayerAiming | ] -> [ PlayerAiming | LassoAboveHead ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
.......... | |
.......... | |
..*....... | |
.......*.. | |
.....p.... | |
.......... | |
..*....*.. | |
.......... | |
.......... | |
.......... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment