Skip to content

Instantly share code, notes, and snippets.

@increpare
Created April 12, 2014 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save increpare/10514027 to your computer and use it in GitHub Desktop.
Save increpare/10514027 to your computer and use it in GitHub Desktop.
title Kettle
author stephen lavelle
homepage www.increpare.com
color_palette gameboycolour
(a port of a flash game of mine, the original of which can be played here:
http://ded.increpare.com/~locus/kettle
)
========
OBJECTS
========
Background
darkgray
Target
yellow
00000
0...0
0...0
0...0
00000
UPolice
black
.000.
.000.
00000
.000.
.0.0.
DPolice
black
.000.
.000.
00000
.000.
.0.0.
LPolice
black
.000.
.000.
0000.
.000.
.0.0.
RPolice
black
.000.
.000.
.0000
.000.
.0.0.
Crate
blue
..0..
00000
..0..
.000.
.0.0.
wall
black
=======
LEGEND
=======
. = Background
player = upolice or dpolice or lpolice or rpolice
i = upolice
k = dpolice
j = lpolice
l = rpolice
c = Crate
@ = Crate and Target
t = Target
# = wall
=========
SOUNDS
=========
target move 59810707
player move 86872107
startlevel 63638302
endlevel 86642102
endgame 63929902
showmessage 42200307
closemessage 42200307
startgame 94059902
================
COLLISIONLAYERS
================
Background
Target
player, Crate, wall
======
RULES
======
(the idea is simple: lots of players, each of which only responds to a particular input direction)
[ up rpolice] -> [rpolice]
[ down rpolice] -> [rpolice]
[ left rpolice] -> [rpolice]
[ down upolice] -> [upolice]
[ left upolice] -> [upolice]
[ right upolice] -> [upolice]
[ up lpolice] -> [lpolice]
[ down lpolice] -> [lpolice]
[ right lpolice] -> [lpolice]
[ up dpolice] -> [dpolice]
[ left dpolice] -> [dpolice]
[ right dpolice] -> [dpolice]
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > crate | Crate ] -> [ > crate | > Crate ]
==============
WINCONDITIONS
==============
all target on crate
=======
LEVELS
=======
message Let's see your ID
###############
#.............#
#.............#
#.....kkkk....#
#....l...cj...#
#....l.tt.j...#
#....lctt.j...#
#....lc..cj...#
#.....iiii....#
#.............#
#.............#
#.............#
###############
message Area Secure
message Gonna lock you up, sonny!
###############
#.............#
#.............#
#.....kkkk....#
#....l@@t.j...#
#....ltttcj...#
#....l@t@cj...#
#....lc.ccj...#
#.....iiii....#
#.............#
#.............#
#.............#
###############
message Area Secure
message We didn't see nothing!
###############
#.............#
#.............#
#....kkkkk....#
#...l@t@@cj...#
#...l@@ttcj...#
#...ltt@tcj...#
#...lt@@@.j...#
#...l.ccccj...#
#....iiiii....#
#.............#
#.............#
###############
message Area Secure
message You'll be late for class, eh!
###############
#.............#
#.............#
#....kkkkk....#
#...lc.c.cj...#
#...lc@tt.j...#
#...l.tt@cj...#
#...l.ttt.j...#
#...lc...cj...#
#....iiiii....#
#.............#
#.............#
###############
message Area Secure
message Ha! You shat yourself!
###############
#.............#
#.............#
#....kkkkkk...#
#...lc.c..cj..#
#...lcttt..j..#
#...l.t@@..j..#
#...l.ttt..j..#
#...lc...ccj..#
#....iiiiii...#
#.............#
#.............#
###############
message Area Secure
message Have to confiscate your camera!
###############
#.............#
#.............#
#....kkkkkk...#
#...lcc..ccj..#
#...l.tttt.j..#
#...l.t@@t.j..#
#...lcttt@cj..#
#...lct@ttcj..#
#...lcc..ccj..#
#....iiiiii...#
#.............#
###############
message Area Secure
message Keeping the peace is hard work
###############
#.............#
#...kkkkkkk...#
#..l..cc..cj..#
#..l.tttt..j..#
#..lc@t@t..j..#
#..lctttt.cj..#
#..l.@@tt..j..#
#..lc.....cj..#
#..lcc.c..cj..#
#...iiiiiii...#
#.............#
###############
message Area Secure
message You should've packed lunch!
###############
#.............#
#..kkkkkkkk...#
#.lccccc...j..#
#.lct@@tt.cj..#
#.l.t@t@t.cj..#
#.lc@@ttt.cj..#
#.lct@tttccj..#
#.l.tt@@t..j..#
#.l........j..#
#.lc..cc...j..#
#..iiiiiiii...#
###############
message Area Secure
message I want to hit you
###############
#.............#
#..kkkkkkkkk..#
#.lc.cccc...j.#
#.l.........j.#
#.lccttttt..j.#
#.lc.tt@tt.cj.#
#.lc.tt@@t.cj.#
#.l..@@tt@.cj.#
#.l..t@t@t..j.#
#.l.........j.#
#.lc.c.c.c.cj.#
#..iiiiiiiii..#
###############
message Area Secure
message Don't be naughty!
###############
#.kkkkkkkkkk..#
#lccc..c...cj.#
#lc.........j.#
#lc.@t@tt...j.#
#lc.t@@@t...j.#
#l..@ttt@..cj.#
#lc.tt@@t..cj.#
#l..ttttt...j.#
#l..........j.#
#l.........cj.#
#l....c.c.ccj.#
#.iiiiiiiiii..#
###############
message Area Secure
message I'm upholding human rights!
###############
#.kkkkkkkkkkk.#
#lccc.c.c...cj#
#l....c......j#
#lc.@ttttt...j#
#l..@ttt@t...j#
#l..t@@ttt..cj#
#lc.@tt@@t..cj#
#l..@@t@@t...j#
#l..t@t@tt..cj#
#lc..c.......j#
#lc....c.....j#
#lcc.c.c.c..cj#
#.iiiiiiiiiii.#
###############
message Area Secure
message I'm all out of lines, matey:
message It's game over for you
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment