Created
September 16, 2020 22:17
-
-
Save peow2373/482c3d22628504959ab0b98b3b0f569a to your computer and use it in GitHub Desktop.
Solve the Puzz to escape the Fuzz (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 or Crate | |
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 | 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 [Player] -> [movr] | |
left [Player] -> [movl] | |
up [Player] -> [movu] | |
down [Player] -> [movd] | |
random [ > movr | Crate | no obj ] -> [ | > movr | > Crate ] again | |
[movr] -> [Player] again | |
random [ > movl | Crate | no obj ] -> [ | > movl | > Crate ] again | |
[movl] -> [Player] again | |
random [ > movu | Crate | no obj ] -> [ | > movu | > Crate ] again | |
[movu] -> [Player] again | |
random [ > 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