Skip to content

Instantly share code, notes, and snippets.

@martinpi
Created September 1, 2022 10:43
Show Gist options
  • Save martinpi/9735bdfbd5190d7eb81c01d5724d527a to your computer and use it in GitHub Desktop.
Save martinpi/9735bdfbd5190d7eb81c01d5724d527a to your computer and use it in GitHub Desktop.
constellation z (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title constellation z
author increpare
homepage www.increpare.com
(
A port of the first few levels of my game, the full version of which is
http://ded.increpare.com/~locus/constellationz/
)
========
OBJECTS
========
Background
black
BorderTile
red
Teleport
white
Target
blue
.....
.000.
.000.
.000.
.....
Player
pink
.....
.000.
.000.
.000.
.....
AltPlayer
black
=======
LEGEND
=======
# = BorderTile
. = Background
P = Player
O = Teleport
t = Target
=========
SOUNDS
=========
sfx1 44641500 (Teleport)
startgame 26858107
startlevel 34443107
endlevel 34292905
================
COLLISIONLAYERS
================
Background
Teleport,BorderTile, Target
Player, AltPlayer
======
RULES
======
late [ Player Teleport ] -> [ AltPlayer Teleport ] sfx1
late [ AltPlayer Teleport ] [ Teleport no AltPlayer ] -> [ AltPlayer Teleport ] [ Teleport Player ]
late [ AltPlayer ] -> [ ]
late [ Player BorderTile ] -> cancel
==============
WINCONDITIONS
==============
some Player
all Player on Target
all Target on Player
=======
LEVELS
=======
##############
#............#
#............#
#............#
#............#
#............#
#............#
#..P....t....#
#............#
#............#
#............#
#............#
#............#
##############
##############
#............#
#............#
#............#
#............#
#............#
#............#
#..P.o..O..t.#
#............#
#............#
#............#
#............#
#............#
##############
##############
#............#
#............#
#............#
#............#
#.......O.t..#
#............#
#..P....O....#
#............#
#.......O.t..#
#............#
#............#
#............#
##############
##############
#............#
#............#
#............#
#............#
#............#
#............#
#..P...O...t.#
#............#
#............#
#............#
#............#
#............#
##############
##############
#............#
#............#
#.......O.t..#
#............#
#.......O.t..#
#............#
#..P....O.t..#
#............#
#.......O.t..#
#............#
#.......O....#
#............#
##############
##############
#.....#......#
#.#####.####.#
#######....#.#
##..###....#.#
#.#######..#.#
#..##....#.#.#
#..##...t###.#
#...#######..#
#..#.....#...#
#..#....#....#
#..##.##.....#
#...###......#
##############
###################################
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#..P.P.......OOOOOOOOO............#
#................O........T.T.....#
#..P.P.......O.O.O.O.O............#
#.........................T.T.....#
#............O.O.O.O.O............#
#............O.......O............#
#............OOOOOOOOO............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
#............O...O...O............#
###################################
####################################
#..................................#
#...........p......................#
#..................................#
#.................o................#
#..................................#
#..................................#
#..................................#
#..................................#
#............o....O....t.........t.#
#..................................#
#..................................#
#..................................#
#..................................#
#..................................#
#..................................#
#..................................#
####################################
####################################
#..................................#
#..................................#
#....p.............................#
#..................................#
#..................................#
#.......o....o....t....t....t......#
#..................................#
#..................................#
#..................................#
#..................................#
#.......o....o....t.........t......#
#..................................#
#..................................#
#..................................#
#..................................#
#..................................#
####################################
##############
#............#
#............#
#............#
#......o.....#
#............#
#......o.....#
#............#
#....o...o...#
#............#
#............#
#............#
#............#
#......P.....#
#............#
#............#
#....t...t...#
#............#
#....t.t.t...#
#............#
#....t...t...#
#............#
#............#
#............#
##############
####################################
#..................................#
#..............tt...tt...tt........#
#..................................#
#..................................#
#..................................#
#..................................#
#..................................#
#.............o....o..o............#
#..................................#
#..................................#
#..................................#
#..................................#
#..................................#
#................pppp..............#
#..................................#
#..................................#
####################################
##############
#............#
#............#
#............#
#............#
#............#
#.p..........#
#.p..........#
#.p..........#
#.p..........#
#.p....o.....#
#.p..........#
#.p....o..t..#
#.p..........#
#.p..........#
#.p....o.....#
#.p..........#
#.p..........#
#.p..........#
#.p..........#
#............#
#............#
#............#
#............#
#............#
##############
message congratulations!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment