Skip to content

Instantly share code, notes, and snippets.

@variousauthors
Created October 17, 2022 19:05
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 variousauthors/9c71a7083a71748fe296076bab2f15d7 to your computer and use it in GitHub Desktop.
Save variousauthors/9c71a7083a71748fe296076bab2f15d7 to your computer and use it in GitHub Desktop.
For Lindsay, Lee, Oliver & Isaac Peltz (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title For Lindsay, Lee, Oliver & Isaac Peltz
author Ziggy
homepage Merry Christmas!
zoomscreen 16x9
noaction
noundo
norestart
require_player_movement
realtime_interval 0.5
========
OBJECTS
========
Background (Snow1)
white
00000
00000
00000
00000
00000
Snow (Snow1)
white
00000
00000
00000
00000
00000
Grass1
green lightgreen
00000
00000
01000
00010
00000
Grass2
green lightgreen
00000
00010
00000
00000
00000
LeftSnow
green lightgreen white
20002
20010
20000
22020
22000
RightSnow
green lightgreen white
00002
00022
00020
20022
00002
BottomLeftSnow
green lightgreen white
20000
22002
02000
22220
20222
BottomRightSnow
green lightgreen white
00202
00020
02002
00022
22222
TopSnow
green lightgreen white
22222
02000
00020
00000
00000
TopRightSnow
green lightgreen white
22202
00222
00020
20022
00002
Prints3 (Snow1)
#DDDDDD
.....
.....
...0.
..0..
.....
Prints2 (Snow1)
#BBBBBB
.....
.....
...0.
..0..
.....
Prints1 (Snow1)
#999999
.....
.....
...0.
..0..
.....
Ice
LightBlue
Water
Blue
WaterFall
Blue darkblue
01110
00000
00000
00000
10001
Cliff
Grey
SnowDrips
grey white
10111
00010
00000
00000
00000
Cave
Grey
Ladder
BROWN Grey
00000
01110
00000
01110
00000
LadderBottom
BROWN
0...0
.....
.....
.....
.....
Player
transparent
TreeBottom
darkgreen LightGreen darkBrown
.000.
00000
00200
..2..
.222.
TreeTop
darkgreen LightGreen darkBrown
.....
.....
.....
..0..
.000.
RockShadeRight
grey darkgrey
10000
10000
10000
10000
10000
Grass
lightgreen yellow
.....
.....
.0...
.010.
01001
Flowers
red green lightgreen
11111
11101
11111
11111
11111
raven
black
.....
.0...
.....
.....
.....
santa
Red Brown lightgrey
.....
..1..
.020.
.000.
.....
ravenSanta
Red Brown lightgrey black
.....
.31..
.020.
.000.
.....
sense
transparent
backdrop1
darkgreen black
00000
00000
00100
01010
10001
backdrop2
lightgrey
00000
00000
00000
00000
00000
northpole1
red white
.001.
.011.
.110.
.100.
.000.
northpole2
red white
.001.
.011.
.110.
.100.
.000.
=======
LEGEND
=======
I = Ice
W = WaterFall
" = WaterFall and Cliff
~ = Water
H = Ladder
_ = LadderBottom
] = northpole1
} = northpole2
[ = northpole2 and backdrop1
4 = TreeTop
0 = TreeTop and Cliff
1 = TreeTop and Water
2 = TreeTop and Ice
| = TreeBottom
/ = TreeBottom and raven
+ = flowers
* = backdrop1
- = backdrop2
@ = grass and Cliff
r = raven
. = Snow
# = Cliff
% = Cave
; = RockShadeRight
? = SnowDrips
( directional snow )
` = grass1
f = LeftSnow
g = RightSnow
b = BottomLeftSnow
n = BottomRightSnow
t = TopSnow
y = TopRightSnow
shade = RockshadeRight
rock = cliff or shade or snowdrips
walkable = snow or ladder or ice
P = player and snow and santa
prints = prints1 or prints2 or prints3
avatar = santa or ravenSanta
obstacle = rock or water or northpole1
=======
SOUNDS
=======
sfx0 82757704
================
COLLISIONLAYERS
================
Background
Snow, Ice, Ladder, LadderBottom, flowers, prints, LeftSnow, RightSnow, BottomLeftSnow, BottomRightSnow, TopSnow, TopRightSnow, Grass1, Grass2
player, backdrop1, backdrop2
Rock, Water, avatar, obstacle
WaterFall, TreeTop, TreeBottom, Cave, grass, northpole2
raven, sense
======
RULES
======
[ > player ] [ avatar ] -> [ > player ] [ > avatar ]
[ > avatar | obstacle ] -> CANCEL
down [ > avatar treebottom ] -> cancel
up [ > avatar | treebottom ] -> cancel
[ > santa | | raven | no rock ] -> [ > santa | | > raven | no rock ]
[ santa | raven ] -> [ santa | action raven ]
[ action raven | no rock no avatar ] -> [ action raven | sense ]
[ action raven | sense ] -> [ > raven | ]
[ action prints1 ] -> [ ]
[ raven santa ] -> [ ravenSanta ] message "Wark!"
[ avatar flowers ] -> [ avatar grass2 ] message "The first flower of spring."
[ stationary avatar ] [ prints3 ] -> [ stationary avatar ] [ snow ]
[ stationary avatar ] [ prints2 ] -> [ stationary avatar ] [ prints3 ]
[ stationary avatar ] [ prints1 ] -> [ stationary avatar ] [ prints2 ]
[ > avatar snow ] -> [ > avatar cave snow ]
late [ cave snow | avatar ] -> [ prints1 | avatar ]
[ moving avatar snow ] -> sfx0
( a rule so that ladders can appear above everything, but still allow the player to cross )
==============
WINCONDITIONS
==============
=======
LEVELS
=======
message "Ho, ho, ho!"
( the north pole )
( add an offscreen cave area accessible from the waterfall cave )
( snowy plain that goes on forever, with just the occasional tree ) ( the raven there )
( a less snowy southern area with a single rose on a melted patch )
---*****###"#;;#
-*****--###"#;;#
****[---###"#;..
...*[***###"#;#?
....}....##"#...
....]......~....
...........I....
......p....I....
...........I....
...........~...;
...;H#?..;#"#??;
#?#;H####;#"#%#;
###;_..##;%W%%#;
###;...;#;%W#0#.
0##.?H#;0~~W.|..
|...#H#.|~1~~~..
....._....|~1...
...........~|...
II4.......4I....
4I|.......|I....
|II2I......I....
.4.|IIIII..I....
4|...I..IIII....
|.........II...;
#4........II..;;
#|........~~.;;.
#........;""#;.;
0?4......;""#;?;
|#|.....;;""#;0.
.0?.....;;""#4|.
4|0....;;.WW.|.4
|4|....;.~~~~II|
.|.....I~~1~~~II
4.....III~|.4~II
|...4.III~..|~II
.2II|4.2II##?~I.
4|2II|.|IIII~~I.
|4|I...IIIIIIII.
4|4.....I2IIIIII
|.|4.....|I2IIII
.4.|......4|.III
.|..4.....|..4II
4..4|........|II
|..|.......4...I
...........|....
.4...........4.I
.|...4.......|..
.....|..........
................
................
................
..........4.....
..........|.....
................
................
................
................
................
................
................
................
................
................
................
................
..............4.
..............|.
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
..4.............
../.............
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
................
...............I
..............II
..............II
...............I
..............II
.............III
.............III
............IIII
.........IIIIIII
.......IIIIIIII.
......IIIIIIIII.
....IIII~IIIII..
..III~~~~~~II.;#
...~~~....~~.;;#
#H?"""....""#;;.
#H#"""....""#;;?
._I~~~....""#;.#
...I~~??##""@...
....~~#..;~~....
?#H#""##?;~~....
##H#""@##;~~~...
.._.WW.#@.~~~~I.
...~~~....~~~I..
...I~~~~~~~~I...
...fI~~IIIII....
...b``~~I``tty..
....b``~~~````y.
.....f~~~I``+`g.
.....b``~~~```n.
......b`I~~``n..
.......f`II`g...
.......f~~~`n...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment