Skip to content

Instantly share code, notes, and snippets.

Created June 2, 2014 22:02
Show Gist options
  • Save anonymous/dba82f4f3d69bba7df38 to your computer and use it in GitHub Desktop.
Save anonymous/dba82f4f3d69bba7df38 to your computer and use it in GitHub Desktop.
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Cyber-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 ] -> []
[ action PlayerNormal ] [ Lasso Crate ] -> [ PlayerNormal ] [ Lasso action Crate ] again
[ action PlayerAiming ] -> [ PlayerNormal ]
[ action PlayerNormal ] -> [ PlayerAiming ]
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 ]
[ 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
[ 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
[ 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 ]
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