Skip to content

Instantly share code, notes, and snippets.

@peow2373
Created September 16, 2020 23:22
Show Gist options
  • Save peow2373/3fef515e8e0041fb95058046397b3621 to your computer and use it in GitHub Desktop.
Save peow2373/3fef515e8e0041fb95058046397b3621 to your computer and use it in GitHub Desktop.
Solve the Puzzle to escape the Fuzzle (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Solve the Puzzle to escape the Fuzzle
author Perry Owens
homepage https://peow2373.wixsite.com/portfolio
again_interval 0.09
========
OBJECTS
========
Background
LightBlue
Target
Blue
Wall
DarkGray
Player
Black
movr
Black
movl
Black
movu
Black
movd
Black
movTemp
Black
Crate
#85bb65
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
Obj = Wall or Target
mov = movr or movl or movu or movd
=======
SOUNDS
=======
Player MOVE 36772507
Sfx1 51051107
Sfx3 44148700
================
COLLISIONLAYERS
================
Background
Target, Player, movr, movl, movu, movd, movTemp
Wall, Crate
======
RULES
======
[ > Player | Target ] -> [ Player | Target ]
[ > Player | Wall ] -> [ Player | Wall ]
(creating the sliding mechanism)
[> player| Crate]->[ player|> Crate] Sfx1
[Crate movr]->[right Crate]
[Crate movl]->[left Crate]
[Crate movu]->[up Crate]
[Crate movd]->[down Crate]
right[right Crate|no obj]->[right Crate| movr]
left[left Crate|no obj]->[left Crate| movl]
up[up Crate|no obj]->[up Crate| movu]
down[down Crate|no obj]->[down Crate| movd]
late [ Crate Target ] -> Sfx3
late [ Crate Target ] -> [ no Crate no Target ]
[]-> 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