Skip to content

Instantly share code, notes, and snippets.

@strickinato
Created February 9, 2022 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strickinato/0a3ef3777d0257a93ded12e3c1a0ea6f to your computer and use it in GitHub Desktop.
Save strickinato/0a3ef3777d0257a93ded12e3c1a0ea6f to your computer and use it in GitHub Desktop.
Skwiffle (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Skwiffle
author Strick & Olivia
homepage brilliant.org
========
OBJECTS
========
Background
GREEN
Target
DarkBlue
Wall
BROWN
Player
Blue
Crate
Orange
Destroyer
Red
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
D = Destroyer
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate, Destroyer
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > Player | Destroyer | Wall ] -> [ Background | Player | Background ]
[ Crate ] -> [ < Crate ]
[ Crate | Wall ] -> [ < Crate | Wall ]
==============
WINCONDITIONS
==============
All Player on Target
=======
LEVELS
=======
#########
#P.#....#
#.*##..*#
##..#...#
#.#.D#..#
#..#...O#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment