Skip to content

Instantly share code, notes, and snippets.

@nvh
Created December 16, 2023 00:03
Show Gist options
  • Save nvh/e5ebfef2885da62d322c002ab2982719 to your computer and use it in GitHub Desktop.
Save nvh/e5ebfef2885da62d322c002ab2982719 to your computer and use it in GitHub Desktop.
My Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
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
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
B = Button
& = Pusher
- = Rail
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target, Button, Rail
Player, Wall, Crate, Pusher
======
RULES
======
[ > Player | Button ] [ Pusher ] -> [ > Player | Button ] [ UP Pusher ]
[ | < Player Button ] [ Pusher ] -> [ | < Player Button ] [ DOWN Pusher ]
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > Pusher | Crate ] -> [ > Pusher | > Crate ]
==============
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