Skip to content

Instantly share code, notes, and snippets.

@lee2sman
Created December 22, 2021 03:19
Show Gist options
  • Save lee2sman/e1d4b19c59386e05dcf1707f4c6449d9 to your computer and use it in GitHub Desktop.
Save lee2sman/e1d4b19c59386e05dcf1707f4c6449d9 to your computer and use it in GitHub Desktop.
caniblock (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title caniblock
author not a pipe
homepage notapipe.itch.io
color_palette atari
realtime_interval 0.2
norepeat_action
noaction
========
OBJECTS
========
Background
black
Player
grey Orange White blue
.000.
.111.
22222
.333.
.3.3.
jump1
purple Orange White blue
.000.
.111.
22222
.333.
.3.3.
jump2
green Orange White blue
.000.
.111.
22222
.333.
.3.3.
deadPlayer
red
.000.
.000.
00000
.000.
.0.0.
wall
orange black
00010
00000
01000
00001
00000
block
orange black
.001.
00000
01000
00001
00000
blockSpawner
transparent
finalblock
transparent
clouds
blue
.0.0.
00000
00000
.0.0.
.....
cloudspawner
transparent
=======
LEGEND
=======
. = Background
players = player or jump1 or jump2 or deadPlayer
p = player
# = wall
o = block
x = blockSpawner
f = finalblock
Object = wall or block
c = clouds
s = cloudspawner
=======
SOUNDS
=======
sfx0 78408902
================
COLLISIONLAYERS
================
Background
object
players, blockSpawner, finalblock, cloudspawner
clouds
======
RULES
======
late [ deadPlayer ] -> [ deadPlayer ] sfx0 restart
random left [ clouds | ] -> [ | clouds ]
right [ | wall ] -> [ wall | wall ]
[ clouds finalblock ] [ cloudspawner ] -> [ finalblock ] [ cloudspawner clouds ]
[ left player ] -> [ player ]
[ right player ] -> [ player ]
[ jump2 ] -> [ player ]
[ jump1 ] -> [ jump2 ]
[ up player | ] -> [ | jump1 ]
[ down player | no object ] -> [ | player ]
down [ player | no object ] -> [ | player ]
random left [ block | no Object no Player ] -> [ | block ]
right [ players | block ] -> [ deadPlayer | ] sfx0
random left [ blockspawner | ... | block finalblock] -> [ block | ... | finalblock ]
[ stationary block ] -> [ blockSpawner block ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
f.....c.....c......s
f......c........c..s
....................
f..p.........xx..oxx
####################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment