Skip to content

Instantly share code, notes, and snippets.

@jayrbolton
Created June 15, 2020 04:51
Show Gist options
  • Save jayrbolton/fafc3a516946b318b5eca45247e937a1 to your computer and use it in GitHub Desktop.
Save jayrbolton/fafc3a516946b318b5eca45247e937a1 to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Elements
author Bob Ross
homepage www.spacejam.com
debug
========
OBJECTS
========
Background
black
00000
00000
00000
00000
00000
Target
darkgreen lightgreen
00000
01110
01010
01110
00000
Greeny
darkgreen lightgreen
11111
11111
11111
11111
11111
RNSEW
darkgray lightred darkgreen
22122
20102
11011
20102
22122
NSEW
darkgray lightgreen darkgreen
22122
20102
11111
20102
22122
East
darkgray lightgreen darkgreen
22222
20002
00111
20002
22222
REast
darkgray lightred darkgreen
22222
20002
00111
20002
22222
West
darkgray lightgreen darkgreen
22222
20002
11100
20002
22222
North
darkgray lightgreen darkgreen
22122
20102
20102
20002
22022
South
darkgray lightgreen darkgreen
22022
20002
20102
20102
22122
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Red Orange Pink Blue
.000.
.111.
22222
.333.
.3.3.
=======
LEGEND
=======
. = Background
# = Wall
T = Target
P = Player
A = RNSEW
R = REast
D = NSEW
E = East
W = West
N = North
S = South
G = Greeny
X = RNSEW or NSEW or East or West or North or South or REast
Y = X or Greeny
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Y
======
RULES
======
(Push any number of blocks)
[ > player|x] -> [> player|> x]
startloop
[ > x|x] -> [> x|> x]
endloop
(Single copy directions)
(swaps)
late right [nsew|east] -> [east|nsew]
late right [west|east] -> [east|west]
late down [north|south] -> [south|north]
(normal copies)
late right [y|east] -> [y|y]
late up [y|north] -> [y|y]
late down [y|south] -> [y|y]
late left [y|west] -> [y|y]
(nsew)
late [y|nsew] -> [y|y]
(Exploders)
late right [y|reast|||] -> [y|y|y|y|y]
late [a|y|] -> [y|y|y]
==============
WINCONDITIONS
==============
all target on greeny
=======
LEVELS
=======
(templates
##########
#........#
#........#
#........#
#........#
#p.......#
##########
)
message Everyone loves a green square
######
#g..t#
#..e.#
#.e.e#
#...p#
######
message Well done.
######
#g...#
#..s.#
#.s..#
#t.sp#
######
message Do fish know that they are swimming?
#######
#g...t#
##..###
##.e..#
##e.e.#
##.e..#
##p...#
#######
message Do fish know that we are not swimming?
########
#g######
#.######
#.t....#
#.e.e..#
#....s.#
#p.....#
########
message A jackdaw is always found near a jackdaw
######
#.n.t#
#..n.#
#.n..#
#g.e.#
#.e.e#
#....#
#...p#
######
message As happy as a monkey about its tail
##########
########G#
#SNNNNNNT#
##.......#
##e.e.e.e#
##.w.w.w.#
#.e.e.e.e#
#p.......#
##########
message Patience creates roses
##########
#G#...T..#
#.#.###..#
#.#.#A#..#
#s..eeen.#
#...e.e..#
#p..eee..#
#...#A#..#
#...###..#
##########
message One is nineteen, the other is one less than twenty
##########
#.......T#
#..D.E...#
#........#
#..N.W.E.#
#........#
#..S.G...#
#p.......#
##########
(TODO something with NSEW)
(TODO something with going over/through walls)
(TODO something with red to duplicate green)
(TODO multiple targets!!)
(TODO multiple players)
message Behind God's back
(Intro to red)
#############
#.G.#...#.T.#
#...#...#...#
#...R...R...#
#...........#
#p..........#
#############
(TODO many more in-between to introduce the red ones)
message Make T, but watch out for volatile O...
###########
#........G#
#########.#
#.a.a.a.aT#
#..a.a.a..#
#.......a.#
#p.a.a.a..#
###########
(TODO remove test)
###########
#........G#
#########.#
#.W.E.N.S.#
#..A......#
#.A.......#
#p........#
###########
(TODO dot dot for transporting green from any distance)
message To be continued..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment