Skip to content

Instantly share code, notes, and snippets.

@korbosoft
Created January 28, 2019 17:02
Show Gist options
  • Save korbosoft/d42bae551025a740bf8c32ee8028755f to your computer and use it in GitHub Desktop.
Save korbosoft/d42bae551025a740bf8c32ee8028755f to your computer and use it in GitHub Desktop.
Jelly's Adventure Demo (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Jelly's Adventure Demo
author Margo Heiner
homepage www.puzzlescript.net
========
OBJECTS
========
Background
gray darkgray white
00120
00100
11111
00122
00120
Background1
black
Target
#fc4b4e
0...0
.0.0.
..0..
.0.0.
0...0
Wall
yellow darkbrown
00010
11111
01000
11111
00010
uJelly
lightgreen blue brown
.1.1.
12021
.000.
10001
.1.1.
dJelly
lightgreen blue brown
.1.1.
10001
.000.
12021
.1.1.
lJelly
lightgreen blue brown
.1.1.
12001
.000.
12001
.1.1.
rJelly
lightgreen blue brown
.1.1.
10021
.000.
10021
.1.1.
DeadPlayer
lightgreen blue black black
3...3
3...3
1...1
.333.
3...3
Pig
purple pink
.000.
01110
01110
01110
.000.
unkillablePig
purple red
.000.
01110
01110
01110
.000.
StationiaryPig
purple pink
.000.
01110
01110
01110
.000.
Testenemy
black white
.000.
01110
01110
01110
.000.
Exit
BROWN gray darkgray white
01231
01211
02222
01233
01231
afterexit
DARKBROWN
Sadee
Brown lightbrown purple #ffeebb
.000.
01310
.222.
32223
.0.0.
=======
LEGEND
=======
f = afterexit
. = Background
# = Wall
O = Target
P = Pig
u = uJelly
d = dJelly
l = lJelly
r = rJelly
player = uJelly or lJelly or rJelly or dJelly
enemy = StationiaryPig or Pig
e = exit
s = Sadee
T = testenemy
A = StationiaryPig
, = Background1
z = unkillablePig
=======
SOUNDS
=======
SFX0 35949304
Player MOVE 90741507
sfx1 83863700
sfx2 2868502
================
COLLISIONLAYERS
================
Background
Background1
afterexit
Target, exit
Player, Wall, Deadplayer, pig, uJelly, dJelly, lJelly, rJelly, Sadee, Testenemy, StationiaryPig, unkillablePig
======
RULES
======
[ > Player ] -> [ > rjelly ]
[ down Player ] -> [ down dJelly ]
[ left Player ] -> [ left lJelly ]
[ up Player ] -> [ up uJelly ]
[ > Player | Pig ] -> [ DeadPlayer | Pig ] sfx0
[ > player | Exit ] -> [ > player | Exit ] sfx1
[ stationary Pig ] -> [randomDir Pig]
[ Action Player | Sadee ] -> [ message hey yall! im sadee, the artist!
[ Action Player | testenemy ] -> [ message Hello, i am Testenemy, the original enemy for this game!
[ > Player | StationiaryPig ] -> [ DeadPlayer | StationiaryPig ] sfx0
[ Action Player | StationiaryPig ] -> [ action Player | Background ] sfx0
[ Action Player | Pig ] -> [ action Player | Background ] sfx0
[ > Player | unkillablePig ] -> [ DeadPlayer | unkillablePig ] sfx0
[ stationary unkillablePig ] -> [randomDir unkillablePig]
==============
WINCONDITIONS
==============
any player on Exit
=======
LEVELS
=======
#########
#..#..e..
#....####
#..###..#
#..#...r#
#.##..###
#.....#,,
#######,,
message Oh no, Pigs!
##########,
#........#,
#.######.#,
#.#z...#.##
#.#.##.#.l#
#.#.##.####
#.#.##....e
#.#.##.####
#.#......#,
#.######.#,
#........#,
##########,
message hold x, space, or enter to attack
message Oh, ok.
#########
#p..l...#
#.#####.#
#.#.....e
#.#.###.#
#.#.#a..#
#.p.....#
#########
#########
#..p#..p#
#...#...#
#..##.#.e
#...z.###
###.....#
#d#.##..#
#...#..a#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment