Skip to content

Instantly share code, notes, and snippets.

@sfiera
Last active September 13, 2019 10:21
Show Gist options
  • Save sfiera/3e56e165a9d3eff1a266613db6c0c293 to your computer and use it in GitHub Desktop.
Save sfiera/3e56e165a9d3eff1a266613db6c0c293 to your computer and use it in GitHub Desktop.
title Two Players
author Chris Pickel
homepage www.puzzlescript.net
========
OBJECTS
========
Background
Green
Target
Brown
Wall
DarkGray
Player1
Blue
Player1Off
DarkBlue
Player2
Red
Player2Off
DarkRed
Crate
White
=======
LEGEND
=======
. = Background
# = Wall
1 = Player1
2 = Player2Off
* = Crate
O = Target
Player = Player1 or Player2
PlayerOff = Player1Off or Player2Off
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Player, PlayerOff, Wall, Crate
======
RULES
======
[> Player | Crate] -> [> Player | > Crate]
[action Player1] [Player2Off] -> [Player1Off] [Player2]
[action Player2] [Player1Off] -> [Player2Off] [Player1]
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
#########
#....#O##
#.1*....#
#.2*.#.##
#....#O##
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment