Created
December 16, 2023 00:18
-
-
Save nvh/e68a869de21567d89f05d78312fedf03 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 | |
green | |
PushSource | |
brown | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
@ = Crate and Target | |
O = Target | |
B = Button | |
& = Pusher | |
- = Rail | |
% = Pusher and PushSource | |
1 = PushSource | |
Weight = Player or Crate | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target, Button, Rail, PushSource | |
Player, Wall, Crate, Pusher | |
====== | |
RULES | |
====== | |
[ > Weight | Button ] [ Pusher PushSource | Rail ] -> [ > Weight | Button ] [ > Pusher PushSource | Rail ] | |
[ > Weight | Button ] [ Rail | Pusher PushSource ] -> [ > Weight | Button ] [ Rail | < Pusher PushSource ] | |
[ > Player | Crate ] -> [ > Player | > Crate ] | |
[ > Pusher | Crate ] -> [ > Pusher | > Crate ] | |
late [ weight | Button no weight ] [ Pusher Rail | PushSource ] -> [ weight | Button no weight ] [ Rail | Pusher PushSource ] | |
late [ weight | Button no weight ] [ PushSource | Pusher Rail ] -> [ weight | Button no weight ] [ Pusher PushSource | Rail ] | |
============== | |
WINCONDITIONS | |
============== | |
all Target on Crate | |
======= | |
LEVELS | |
======= | |
######### | |
#.......# | |
%-.*..O.# | |
#.P.....# | |
#...O.B.# | |
#...-...# | |
####%#### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment