Skip to content

Instantly share code, notes, and snippets.

@nvh
Created December 13, 2023 22:01
Show Gist options
  • Save nvh/d7f1d45c6feaacfdba119c21e8ce5b62 to your computer and use it in GitHub Desktop.
Save nvh/d7f1d45c6feaacfdba119c21e8ce5b62 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
========
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 | Crate ] -> [ > Player | > Crate ]
[ > Pusher | Crate ] -> [ > Pusher | > Crate ]
late [ Player Button ] [ Pusher ] -> [ Player Button ] [ NO Pusher ]
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
#########
#.......#
&.....@.#
#.P.*.O.#
#.B.....#
#.......#
####&####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment