Skip to content

Instantly share code, notes, and snippets.

Created May 10, 2014 15:33
Show Gist options
  • Save anonymous/09f27380975bf3266d51 to your computer and use it in GitHub Desktop.
Save anonymous/09f27380975bf3266d51 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 Frogbike: Magnet Hero
author Ian Fitzpatrick
homepage ianfitzpatrick.com
color_palette c64
realtime_interval 0.4
text_color #90b0b1
========
OBJECTS
========
Background
#c0ebe3
00000
00000
00000
00000
00000
Player
#298781 #232b35 #4c5e67
00.00
.101.
01010
00200
00.00
Wall
#232b35
00000
00000
00000
00000
00000
Wall2
#6e878c
00000
00000
00000
00000
00000
Wall3
#90b0b1
00000
00000
00000
00000
00000
MagnetLeft
#866e8d #9cbfbe
.....
1000.
1000.
1000.
1000.
MagnetRight
#866e8d #9cbfbe
.....
.0001
.0001
.0001
.0001
MagnetLeftRight
#866e8d #9cbfbe
.....
10001
10001
10001
10001
MagnetUp
#866e8d #9cbfbe
.....
.1111
.0000
.0000
.0000
MagnetDown
#866e8d #9cbfbe
.....
.0000
.0000
.0000
.1111
BlockLeft
#6e7993 #9cbfbe
.....
1000.
1000.
1000.
1000.
BlockRight
#6e7993 #9cbfbe
.....
.0001
.0001
.0001
.0001
BlockUp
#6e7993 #9cbfbe
.....
.1111
.0000
.0000
.0000
BlockDown
#6e7993 #9cbfbe
.....
.0000
.0000
.0000
.1111
BlockLeftRight
#6e7993 #9cbfbe
.....
10001
10001
10001
10001
Exit
blue
00000
00000
00000
00000
00000
=======
LEGEND
=======
. = Background
█ = Wall3
% = MagnetLeft
* = MagnetRight
- = MagnetLeftRight
@ = MagnetUp
! = MagnetDown
L = BlockLeft
R = BlockRight
U = BlockUp
D = BlockDown
W = BlockLeftRight
# = Wall
& = Wall2
P = Player
X = Exit
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Exit
Player, Wall, Wall2, Wall3, MagnetLeft, MagnetRight, MagnetUp, MagnetDown, MagnetLeftRight, BlockLeft, BlockRight, BlockUp, BlockDown, BlockLeftRight
======
RULES
======
(Magnet Movements)
[ > Player | MagnetRight ] -> [ > Player | > MagnetRight ]
[ > Player | MagnetLeft ] -> [ > Player | > MagnetLeft ]
[ > Player | MagnetLeftRight ] -> [ > Player | > MagnetLeftRight ]
[ > Player | MagnetUp ] -> [ > Player | > MagnetUp ]
[ > Player | MagnetDown ] -> [ > Player | > MagnetDown ]
(Left Magnet / Right Magnet Interaction)
RIGHT [ MagnetRight | MagnetLeft ] -> [ MagnetRight | > MagnetLeft ]
RIGHT [ MagnetRight | MagnetLeftRight ] -> [ MagnetRight | > MagnetLeftRight ]
RIGHT [ MagnetLeftRight | MagnetLeft ] -> [ MagnetLeftRight | > MagnetLeft ]
RIGHT [ MagnetLeftRight | MagnetRight ] -> [ MagnetLeftRight | > MagnetRight ]
LEFT [ MagnetLeft | MagnetRight ] -> [ MagnetLeft | > MagnetRight ]
LEFT [ MagnetLeft | MagnetLeftRight ] -> [ MagnetLeft | > MagnetLeftRight ]
LEFT [ MagnetLeftRight | MagnetLeft ] -> [ MagnetLeftRight | > MagnetLeft ]
LEFT [ MagnetLeftRight | MagnetRight ] -> [ MagnetLeftRight | > MagnetRight ]
(Up Magnet / Down Magnet Interaction)
UP [ MagnetUp | MagnetDown ] -> [ MagnetUp | > MagnetDown ]
DOWN [ MagnetDown | MagnetUp ] -> [ MagnetDown | > MagnetUp ]
(---------------------------------------------------------------------------)
(Left Block / Right Block Interaction)
RIGHT [ BlockRight | BlockLeft ] -> [ BlockRight | > BlockLeft ]
RIGHT [ BlockRight | BlockLeftRight ] -> [ BlockRight | > BlockLeftRight ]
RIGHT [ BlockLeftRight | BlockLeft ] -> [ BlockLeftRight | > BlockLeft ]
RIGHT [ BlockLeftRight | BlockRight ] -> [ BlockLeftRight | > BlockRight ]
LEFT [ BlockLeft | BlockRight ] -> [ BlockLeft | > BlockRight ]
LEFT [ BlockLeft | BlockLeftRight ] -> [ BlockLeft | > BlockLeftRight ]
LEFT [ BlockLeftRight | BlockLeft ] -> [ BlockLeftRight | > BlockLeft ]
LEFT [ BlockLeftRight | BlockRight ] -> [ BlockLeftRight | > BlockRight ]
(Up Block / Down Block Interaction)
UP [ BlockUp | BlockDown ] -> [ BlockUp | > BlockDown ]
DOWN [ BlockDown | BlockUp ] -> [ BlockDown | > BlockUp ]
(---------------------------------------------------------------------------)
(Magnet to Block Interaction RIGHT)
RIGHT [ MagnetRight | BlockLeft ] -> [ MagnetRight | > BlockLeft ]
RIGHT [ MagnetRight | BlockLeftRight ] -> [ MagnetRight | > BlockLeftRight ]
RIGHT [ MagnetLeftRight | BlockLeft ] -> [ MagnetLeftRight | > BlockLeft ]
RIGHT [ MagnetLeftRight | BlockRight ] -> [ MagnetLeftRight | > BlockRight ]
(Magnet to Block Interaction LEFT)
LEFT [ MagnetLeft | BlockRight ] -> [ MagnetLeft | > BlockRight ]
LEFT [ MagnetLeft | BlockLeftRight ] -> [ MagnetLeft | > BlockLeftRight ]
LEFT [ MagnetLeftRight | BlockLeft ] -> [ MagnetLeftRight | > BlockLeft ]
LEFT [ MagnetLeftRight | BlockRight ] -> [ MagnetLeftRight | > BlockRight ]
(Magnet to Block Interaction Up Down)
UP [ MagnetUp | BlockDown ] -> [ MagnetUp | > BlockDown ]
DOWN [ MagnetDown | BlockUp ] -> [ MagnetDown | > BlockUp ]
(---------------------------------------------------------------------------)
(Block to Magnet Interaction RIGHT)
RIGHT [ BlockRight | MagnetLeft ] -> [ BlockRight | > MagnetLeft ]
RIGHT [ BlockRight | MagnetLeftRight ] -> [ BlockRight | > MagnetLeftRight ]
RIGHT [ BlockLeftRight | MagnetLeft ] -> [ BlockLeftRight | > MagnetLeft ]
(Block to Magnet Interaction LEFT)
LEFT [ BlockLeft | MagnetRight ] -> [ BlockLeft | > MagnetRight ]
LEFT [ BlockLeft | MagnetLeftRight ] -> [ BlockLeft | > MagnetLeftRight ]
LEFT [ BlockLeftRight | MagnetRight ] -> [ BlockLeftRight | > MagnetRight ]
(Block to Magnet Interaction Up Down)
UP [ BlockUp | MagnetDown ] -> [ BlockUp | > MagnetDown ]
DOWN [ BlockDown | MagnetUp ] -> [ BlockDown | > MagnetUp ]
==============
WINCONDITIONS
==============
Some player on exit
=======
LEVELS
=======
Message Here we go...
########################x#####
#&&&&&&&&&&&&&&&&&&&&&&&.&&&&#
#&██.....█........█...██.███&#
#&█..██.....█████.█[email protected]...&#
#&█.r.█.....███.█.█...█.████&#
#&██..█.....*..d..█..█......&#
#&█.█%█...█████.█.█..█.█████&#
#&█.█.█...█████.█.█...d.%.██&#
#&█...█..u@.......█.......██&#
#&█d███...........█..█.█..██&#
#&█.███..██.......█..███....&#
#&█@..█████████...█....r....&#
#&█...█...........█...█@█.██&#
#&█.███..███████..█...█..d*.&#
#&.l..█......!.██.█.........&#
#&*...█...........l...█.....&#
#&.&&&&&&&&&&&&&&&&&&&&&&&&&&#
##p###########################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment