Skip to content

Instantly share code, notes, and snippets.

@masalt0
Created September 12, 2021 03:54
Show Gist options
  • Save masalt0/3bd85511fd42855c51f070361bbe69a3 to your computer and use it in GitHub Desktop.
Save masalt0/3bd85511fd42855c51f070361bbe69a3 to your computer and use it in GitHub Desktop.
Anchor [ALPHA] (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Anchor [ALPHA]
author MA
========
OBJECTS
========
background .
blue
player p
black
..0..
..0..
0.0.0
.000.
..0..
line
black
..0..
..0..
..0..
..0..
..0..
top
black white
00100
00000
10000
00000
00010
wave1
black
0000.
0....
.....
.....
.....
wave2 w
black
00.00
...0.
.....
.....
.....
wave2s
transparent
block
brown lightgray black
.11..
10001
00110
10001
.100.
blockb
transparent
unreachable !
transparent
goal +
brown lightgray black
2...2
12021
02210
10021
.100.
goallocation
transparent
crate @
black brown
01110
10101
11011
10101
01110
=======
LEGEND
=======
t = top and background
# = block and blockb and unreachable
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
background
wave2s
wave1 wave2
line blockb
unreachable
goallocation
player top block goal crate
======
RULES
======
[line] -> []
[unreachable] -> []
(waves)
[wave1] -> [wave2s]
[wave2] -> [wave1]
[wave2s] -> [wave2]
(collision)
[block] -> [block blockb unreachable]
down [crate|] -> [crate|unreachable]
down [unreachable|] -> [unreachable|unreachable]
up [goal|] -> [goal|goallocation]
[> player | unreachable] -> [player| unreachable]
[> player|crate] -> [> player|> crate]
[> player|crate] -> [player|crate]
(movement)
up [player|] -> [player|line]
up [down player |] -> [down player | down line]
up [left player|] -> [left player|left line]
up [right player|] -> [right player|right line]
up [up player|] -> [up player|up line]
up [line|] -> [line|line]
up [left line|] -> [left line|left line]
up [right line|] -> [right line|right line]
up [up line|] -> [up line|up line]
up [down line|] -> [down line|down line]
==============
WINCONDITIONS
==============
all player on goallocation
=======
LEVELS
=======
ttttt
wwwww
.p.#.
...#.
...#.
.....
....+
tttttttt
wwwwwwww
........
.....#..
..#...@.
.p....@.
......+#
tttttttt
wwwwwwww
...@....
.p.##..#
.....@..
.#....@.
...###.#
####..+#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment