Skip to content

Instantly share code, notes, and snippets.

@peow2373
Created September 16, 2020 21:34
Show Gist options
  • Save peow2373/778483abe83da21c4e9d743b8a7ded28 to your computer and use it in GitHub Desktop.
Save peow2373/778483abe83da21c4e9d743b8a7ded28 to your computer and use it in GitHub Desktop.
Solve the Puzz to escape the Fuzz (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Solve the Puzz to escape the Fuzz
author Perry Owens
homepage https://peow2373.wixsite.com/portfolio
again_interval 0.1
========
OBJECTS
========
Background
LightBlue
Target
Blue
Wall
DarkGray
Player
Black
movr
Black
movl
Black
movu
Black
movd
Black
Crate
#85bb65
moveCrate
lightred
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
Obj = Wall
mov = movr or movl or movu or movd
pushable = moveCrate
=======
SOUNDS
=======
Crate MOVE 36772507
Sfx3 44148700
================
COLLISIONLAYERS
================
Background
moveCrate
Target, Player, movr, movl, movu, movd
Wall, Crate
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > Player | Target ] -> [ Player | Target ]
[ > Player | Wall ] -> [ Player | Wall ]
late [ Crate Target ] -> Sfx3
late [ Crate Target ] -> [ NO Crate NO Target ]
([> player| pushable]->[ player|> pushable] again
[pushable movr]->[right pushable]
[pushable movl]->[left pushable]
[pushable movu]->[up pushable]
[pushable movd]->[down pushable])
right [right Player] -> [ > movr] sfx2
left [left Player] -> [ > movl] sfx2
up [up Player] -> [ > movu]
down [down Player] -> [ > movd] again
random right [ movr | Crate | no obj ] -> [ | movr | Crate ] again
[movr] -> [Player] again
random left [ movl | Crate | no obj ] -> [ | movl | Crate ] again
[movl] -> [Player] again
random up [ movu | Crate | no obj ] -> [ | movu | Crate ] again
[movu] -> [Player] again
random down [ movd | Crate | no obj ] -> [ | movd | Crate ] again
[movd] -> [Player] again
(left[left pushable|no obj] -> [left pushable| movl] again
up[up pushable|no obj] -> [up pushable| movu] again
down[down pushable|no obj] -> [down pushable| movd] again)
==============
WINCONDITIONS
==============
NO Target
=======
LEVELS
=======
#########
#O.P..*.#
#.###...#
#....##O#
#O*#..#*#
#..#O.*.#
#...*.#.#
#O.*..O.#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment