Skip to content

Instantly share code, notes, and snippets.

@henkekm
Forked from anonymous/readme.txt
Last active Dec 25, 2015
Embed
What would you like to do?
Golem Five Code
Golem Five
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Golem Five
author HenkeTime
homepage henketime.neocities.org
debug
require_player_movement
========
OBJECTS
========
Background
#959595 Grey
11111
11001
00110
11111
11111
Wall
DarkGreen DarkGrey
00010
11111
01000
11111
00010
( N - #724545 E - #7c5b3a S - #443131 W - #433d36 )
GolemN
#724545 White
0.00.
.0000
000.0
0.0..
..11.
GolemE
#7c5b3a White
..00.
1..00
10000
..00.
.00.0
GolemS
#443131 White
..11.
0.0..
000.0
.0000
0.00.
GolemW
#433d36 White
.00..
00..1
00001
.00..
0.00.
TargetN
#724545
.....
.....
.....
.0000
.0..0
TargetE
#7c5b3a
00...
.0...
.0...
00...
.....
TargetS
#443131
.0..0
.0000
.....
.....
.....
TargetW
#433d36
...00
...0.
...0.
...00
.....
Player
black
.....
..0..
.000.
..0..
.0.0.
=======
LEGEND
=======
. = Background
P = Player
# = Wall
n = GolemN
e = GolemE
s = GolemS
w = GolemW
u = TargetN
< = TargetE
^ = TargetS
> = TargetW
Golem = GolemN or GolemE or GolemS or GolemW
=======
SOUNDS
=======
SFX0 67117309
================
COLLISIONLAYERS
================
Background
TargetN, TargetE, TargetS, TargetW
Player, Wall, GolemN, GolemS, GolemE, GolemW
======
RULES
======
( Golems move in the opposite direction of the Player )
[ UP Player ] [ GolemN ] -> [ UP Player ] [ DOWN GolemN ]
[ RIGHT Player ] [ GolemE ] -> [ RIGHT Player ] [ LEFT GolemE ]
[ DOWN Player ] [ GolemS ] -> [ DOWN Player ] [ UP GolemS ]
[ LEFT Player ] [ GolemW ] -> [ LEFT Player ] [ RIGHT GolemW ]
( The Player can push any Golem )
[ > Player | Golem ] -> [ > Player | > Golem ]
( The above code is the same as the below code, since I've added the definition for 'Golem' in the LEGEND )
(
[ > Player | GolemN ] -> [ > Player | > GolemN ]
[ > Player | GolemE ] -> [ > Player | > GolemE ]
[ > Player | GolemS ] -> [ > Player | > GolemS ]
[ > Player | GolemW ] -> [ > Player | > GolemW ]
)
==============
WINCONDITIONS
==============
All GolemW on TargetW
All GolemE on TargetE
All GolemN on TargetN
All GolemS on TargetS
=======
LEVELS
=======
(
Message Level 8 - UNFINISHED
######
#w><e#
##p.##
######
Message Level 9 - UNFINISHED
######
#w><e#
##p.##
######
Message Level 10 - UNFINISHED
######
#w><e#
##p.##
######
)
Message Level 1
#########
#W..><.E#
#########
#####P.##
####..###
#########
Message Level 2
#########
###...###
###P><.E#
#W....###
###...###
#########
Message Level 3
#########
#.N.....#
#.u.....#
#W^P><.E#
#.......#
#.S.....#
#########
Message Level 4
###########
#..##...n.#
#...#....p#
#......u#.#
#......^..#
#w......e.#
#....><s.##
###########
Message Level 5
###########
#n#.......#
#.#.......#
#.#.......#
#u#.......#
#^#########
#w><....e.#
#sp.......#
###########
Message Level 6
##n####
#u....#
#^....#
#wp><e#
#.s...#
#######
Message Level 7
##########
####.#.n.#
####.#.#.#
##n#.#..p#
##.#.#...#
#.....u..#
#.u...^..#
#w^.><.e##
#.....s.##
#.s...####
##########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment