Created
September 16, 2020 23:17
-
-
Save peow2373/6ce782418caddd6cb71f0cab283c79a1 to your computer and use it in GitHub Desktop.
Solve the Puzz (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{le} to escape the Fuzz{le} | |
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 | |
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 | |
======= | |
Crate MOVE 36772507 | |
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] | |
[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