Created
December 16, 2023 16:11
-
-
Save nvh/01d85fcfddeb7e4b9f40f8b15412cee4 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 | |
verbose_logging | |
======== | |
OBJECTS | |
======== | |
Background | |
green | |
Target | |
darkblue | |
Wall | |
brown | |
Player | |
blue | |
Crate | |
orange | |
Button | |
yellow | |
Pusher | |
red | |
Rail | |
lightgreen | |
PushSource | |
brown | |
ButtonTarget | |
lightbrown | |
ButtonSource | |
lightgreen | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
@ = Crate and Target | |
O = Target | |
B = Button | |
& = Pusher | |
- = Rail | |
C = Crate and Rail | |
% = Pusher and PushSource | |
1 = PushSource | |
T = ButtonTarget | |
S = ButtonSource | |
$ = Button and ButtonSource | |
Weight = Crate or Player or Wall or Pusher | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target, Rail, PushSource, ButtonTarget, ButtonSource | |
Player, Wall, Crate, Pusher, Button | |
====== | |
RULES | |
====== | |
[ > Player | Crate ] -> [ > Player | > Crate ] | |
[ > Crate | Button | ButtonTarget ] -> [ > Crate | > Button | ButtonTarget ] | |
[ > Player | Button | ButtonTarget ] -> [ > Player | > Button | ButtonTarget ] | |
[ PushSource Pusher | Rail | ... | > Button | ButtonTarget ] -> [ PushSource > Pusher | Rail | ... | > Button | ButtonTarget ] | |
[ > Pusher | Crate ] -> [ > Pusher | > Crate ] | |
late [ ButtonSource NO Weight | Button ButtonTarget ] -> [ ButtonSource Button | ButtonTarget ] | |
late [ PushSource | Pusher Rail | ... | ButtonTarget NO Button ] -> [ PushSource Pusher | Rail | ... | ButtonTarget NO Button ] | |
============== | |
WINCONDITIONS | |
============== | |
all Target on Crate | |
======= | |
LEVELS | |
======= | |
####T#### | |
#...$...# | |
%C.*..O$T | |
#.P.....# | |
T$...O.-% | |
#...-...# | |
####%#### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment