Skip to content

Instantly share code, notes, and snippets.

@lee2sman
Created December 22, 2021 07:07
Show Gist options
  • Save lee2sman/19750958c133694b6ef05dbdfcbfafb2 to your computer and use it in GitHub Desktop.
Save lee2sman/19750958c133694b6ef05dbdfcbfafb2 to your computer and use it in GitHub Desktop.
helicopter jump (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title helicopter jump
author not a pipe
homepage notapipe.itch.io
color_palette atari
realtime_interval 0.5
norepeat_action
throttle_movement
noundo
========
OBJECTS
========
Background
lightblue
Player
grey Orange White blue
.000.
.111.
22222
.333.
.3.3.
deadplayer
red orange white blue
.3.3.
.333.
22222
.000.
.000.
cloud
white
.0.0.
00000
00000
.0.0.
.....
helicopter
purple black
00.00
..1..
00100
.111.
.111.
cloudspawner
transparent
ground
brown
bloodyground
brown red
01110
01100
00100
00000
00010
cart
orange black
.....
00000
00000
.000.
.1.1.
cartdriver
yellow orange darkgray
.0...
220.1
.2221
..2.2
.2..2
deadhorse
red darkgray
.....
.....
...1.
.0011
01000
cartspawner
transparent
finalblock
transparent
lowesthelicopter
transparent
=======
LEGEND
=======
. = background
p = player
c = cloud
s = cloudspawner
# = ground
t = cart
d = cartdriver
x = cartspawner
f = finalblock
h = helicopter
/ = lowesthelicopter
=======
SOUNDS
=======
sfx0 78408902 (die)
sfx1 23589500 (jump)
sfx2 94020909 (copta)
sfx3 67918302 (killed horse and driver)
================
COLLISIONLAYERS
================
Background
finalblock, cartspawner, cloudspawner
ground, cloud, cart, cartdriver, deadhorse
player, deadplayer, bloodyground
helicopter, lowesthelicopter
======
RULES
======
[ > player | ] -> [ player| ]
down [ helicopter | player ] -> [ helicopter | player ] sfx2 (play copta sound)
([ helicopter ] [ horizontal player ] -> [ ] [ horizontal player ])
[ helicopter ] -> [ randomdir helicopter ] (randomly moving heli)
late down [ helicopter | no player ] [ player ] -> [ helicopter | player ] [ no player ]
down [ helicopter | action player ] -> [ | action player ] sfx1 (action button removes helicopter, so player can fall)
random left [ cartdriver | ] -> [ | cartdriver ] (cartdriver moves left)
[ cartdriver finalblock ] [ cartspawner ] -> [ finalblock ] [ cartspawner cartdriver ] ( cartdriver wraps around)
random left [ cart | ] -> [ | cart ] (cart moves left)
[ cart finalblock ] [ cartspawner ] -> [ finalblock ] [ cartspawner cart ] ( cart wraps around)
random left [ cloud | ] -> [ | cloud ] (clouds move left)
[ cloud finalblock ] [ cloudspawner ] -> [ finalblock ] [ cloudspawner cloud ] (clouds wraparound)
random left down [ player cloud | ] -> [ cloud | player ] (hmmmm, to slow player down when falling through cloud)
(player falls down)
[moving Player] -> [moving Player] again
random down [ no helicopter | Player | no cart ] -> [ | | Player ] again
late [ player | cart ] -> [ player | cart ] win (message you done did do it damn it)
([ player cart ] [cartdriver] [ cart ] -> [ player cart ] [stationary cartdriver][ stationary cart ] win)
[ player cartdriver ] [cart ]-> [ deadhorse ] [ deadhorse ] sfx3 (killed the driver and horse!)
[ no cartdriver ] [ cart ] -> [ no cartdriver ] [ stationary cart ]
late down [ player ground | ground ] -> [ deadplayer ground | bloodyground ] sfx0
(late down [ player | ground ] [ cart ] [ cartdriver ]-> [ deadplayer | bloodyground ] [ no cart ] [ no cartdriver ] sfx0 )
==============
WINCONDITIONS
==============
some player on cart
=======
LEVELS
=======
message You are a stuntperson in the flying circus in your final week before retirement. You jump from the helicopter and land in the haycart, sans parachute. That's your job. You can't miss. There are no close calls.
message You always keep in mind that clouds slow your fall
message X to jump. R to restart.
message Monday
f...................
f.....c............s
////////////////////
f......c...........s
f....h..........c...
.....p..............
....................
////////////////////
....................
f................dtx
####################
####################
message Tuesday
message With a day under your belt and a bit more confidence you vow to jump from a little higher altitude today
f...h...............
f...p.c............s
f......c...........s
f...............c...
....................
....................
////////////////////
....................
....................
....................
f................dtx
####################
####################
message Wednesday
message The next day you're back, but today's a bit stormy.
f.............h.....
f..c..c...c...p....s
f....c.c.........c.s
f..c.........c..c...
....................
f.c......c..........
////////////////////
f.............c.....
....................
....................
....................
f................dtx
####################
####################
message Thursday
message You've proven to have incredible skill! That's good, because today is even stormier but you're jumping anyway
f...................
f..ch.c...c........s
f...pccc.........c.s
f..c...ccc....c..c..
.....c...ccc........
f.c......c..........
////////////////////
f...........cc......
....................
....................
....................
f................dtx
####################
####################
message Friday
message The last day of the week you've come back to perform a final trick, the mile high dive, the culmination of your career
f...................
f..c......c........s
f..........h.....c.s
f..c.......p........
....................
f.c......c........c.
////////////////////
....................
..............c.....
....................
....................
....................
f...........c.......
....................
....................
f................dtx
####################
####################
message The week has ended and you've performed handsomely. Congratulations on your virtuousic performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment