Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created March 5, 2023 18:18
Show Gist options
  • Select an option

  • Save jcmiller11/93d7f3e61469c886b9fadfa98041b75d to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/93d7f3e61469c886b9fadfa98041b75d to your computer and use it in GitHub Desktop.
2 Players (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title 2 Players
author Luke and Rick
homepage www.puzzlescript.net
========
OBJECTS
========
Background1
#BCD6FF
00000
00000
00000
00000
00000
Background2
#FFC8BC
00000
00000
00000
00000
00000
Target
blue
.....
.000.
.0.0.
.000.
.....
Wall
gray darkgray
00010
11111
01000
11111
00010
Player1
black orange darkblue blue
.000.
.111.
22222
.333.
.3.3.
Player2
brown orange yellow red
.000.
.111.
22222
.333.
.3.3.
Crate
red
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background1
5 = Background2
# = Wall
P = Player1
2 = Player2
* = Crate
@ = Crate and Target
O = Target
z = Player1 and Background1
x = Player2 and Background2
c = Background2 and Crate
Player = Player1 or Player2
Background = Background1 or Background2
=======
SOUNDS
=======
Crate move 36772507
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player1 | Background2 ] -> [ Player1 | Background2 ]
[ > Player2 | Background1 ] -> [ Player2 | Background1 ]
[ > Player | Crate ] -> [ > Player | > Crate ]
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
##########
#.5555555#
#.z555555#
#...555c5#
#....5555#
#.....5.5#
#.......5#
#.o.....x#
#........#
##########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment