Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created February 4, 2021 00:36
Show Gist options
  • Select an option

  • Save jcmiller11/00e219e43786c3f5be5287e172919e1b to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/00e219e43786c3f5be5287e172919e1b to your computer and use it in GitHub Desktop.
Project 5 (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Project 5
author Thinky Collective
homepage www.puzzlescript.net
( DEV LOG )
(#0 Le Slo: Created polarity mechanics between crates. all graphics are squares. Added a level.)
(#1 knexator: Added three very simple levels.)
(#2 pancelor: made placeholder graphics easier to parse visually; still placeholder tho. added swap powerup. added two levels.)
(#3 velleic: Added a simple level in the middle)
========
OBJECTS
========
Background
GREEN
Target
transparent DarkBlue
00000
01110
01010
01110
00000
Wall
BROWN
Player
transparent Orange
01110
11111
11111
11111
01110
CrateMinus
Blue
CratePlus
Red
Swap
transparent lightgreen
00000
01110
01110
01110
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
Q = Player and Target
O = Target
* = CratePlus
@ = CrateMinus
% = Swap
! = CratePlus and Target
$ = CrateMinus and Target
& = Swap and Target
Crate = CrateMinus or CratePlus
Pushable = Crate or Swap
BlocksMovement = Pushable or Wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Player, Wall, Crate
Swap
Target
======
RULES
======
[> Player | Pushable] -> [> Player | > Pushable]
[CrateMinus | CrateMinus] -> [< CrateMinus | > CrateMinus]
[CratePlus | CratePlus] -> [< CratePlus | > CratePlus]
[> Pushable | Pushable] -> [> Pushable | > Pushable]
[> Pushable | stationary BlocksMovement] -> [Pushable | BlocksMovement]
[moving CrateMinus | stationary CratePlus] -> [moving CrateMinus | moving CratePlus]
+[moving CratePlus | stationary CrateMinus] -> [moving CratePlus | moving CrateMinus]
late [CratePlus Swap] -> [CrateMinus]
late [CrateMinus Swap] -> [CratePlus]
late[CrateMinus | CrateMinus] -> again
late[CratePlus | CratePlus] -> again
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
(Le Slo)
############
#####p.#####
#*###..###@#
#..........#
#o#..@*..#o#
###..*...###
############
(knexator)
####..
#.o#..
#..###
#!p..#
#..@.#
#..###
####..
(knexator)
####..
#.o#..
#..###
#!p..#
#..*.#
#..###
####..
(velleic)
#####..
#.oo#..
##.*###
#...*p#
#*...##
#o..##.
#####..
(knexator)
........
..@..*..
...oo...
...oo...
..p..@..
.*......
(pancelor)
.#####..
.#...###
##@..*o#
#...@p##
#..o###.
#.o.#...
#####...
(pancelor)
###..
#o###
#.$.#
#@..#
#..p#
#%.##
#..#.
####.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment