Created
December 13, 2023 22:19
-
-
Save nvh/ddee58622542acdc451cb6b5efb1b31b to your computer and use it in GitHub Desktop.
My Game (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 My Game | |
author My Name Here | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
green | |
Target | |
darkblue | |
Wall | |
brown | |
Player | |
blue | |
Crate | |
orange | |
Button | |
yellow | |
Pusher | |
red | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
@ = Crate and Target | |
O = Target | |
B = Button | |
& = Pusher | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target, Button | |
Player, Wall, Crate, Pusher | |
====== | |
RULES | |
====== | |
[ > Player | Button ] [ Pusher ] -> [ | Player Button ] [ UP Pusher ] | |
[ | < Player Button ] [ Pusher ] -> [ Player | Button ] [ DOWN Pusher ] | |
( [ < Player Button ] [ Pusher ] -> [ < Player Button ] [ DOWN Pusher ] ) | |
[ > Player | Crate ] -> [ > Player | > Crate ] | |
[ > Pusher | Crate ] -> [ > Pusher | > Crate ] | |
============== | |
WINCONDITIONS | |
============== | |
all Target on Crate | |
======= | |
LEVELS | |
======= | |
######### | |
#.......# | |
#....*O.# | |
#.P.....# | |
#.B.O...# | |
#...*...# | |
####&#### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment