Skip to content

Instantly share code, notes, and snippets.

@TottiLuukkanen
Created September 23, 2020 16:15
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 TottiLuukkanen/58cb9349186648017f70b6c5a189c73e to your computer and use it in GitHub Desktop.
Save TottiLuukkanen/58cb9349186648017f70b6c5a189c73e to your computer and use it in GitHub Desktop.
Music Tutorial - Complete (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Music Tutorial - Complete
author Stuart's Pixel Games
homepage www.thepixelshelf.com
youtube CKAc3nYEatw
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
Crate
Orange Yellow
00000
0...0
0...0
0...0
00000
CrateVanish
Blue Yellow
00000
0...0
0...0
0...0
00000
CratePull
DarkGreen Yellow
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
D = CrateVanish
U = CratePull
@ = Crate and Target
O = Target
Crates = Crate or CrateVanish or CratePull
=======
SOUNDS
=======
Crate MOVE 36772507
CratePull MOVE 12735307
sfx0 36301705
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crates
======
RULES
======
(The player pushes a crate)
[ > Player | Crate ] -> [ > Player | > Crate ]
(The player pulls a crate)
[ < Player | CratePull ] -> [ < Player | < CratePull ]
(The player destroys a crate)
[ > Player | CrateVanish ] -> [ Player | ] sfx0
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
#########
#.p....u#
#...*...#
#.*d#u*.#
#.......#
#o.ddd.o#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment