Created
February 6, 2019 07:27
-
-
Save RoseAndres/94e49ff15314c22d18feebe545a59b92 to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
This file contains 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 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 Movement Puzzle Game | |
author Andres Rosales | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
black | |
Chasm | |
darkblue | |
TempR | |
purple | |
TempL | |
purple | |
TempD | |
purple | |
TempU | |
purple | |
TempRS | |
purple | |
TempLS | |
purple | |
TempDS | |
purple | |
TempUS | |
purple | |
TempRC | |
purple | |
TempLC | |
purple | |
TempDC | |
purple | |
TempUC | |
purple | |
TOrb | |
purple | |
Orb | |
yellow | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
Wall | |
orange darkblue | |
01010 | |
01010 | |
01010 | |
01010 | |
01010 | |
Ground | |
grey lightblue | |
11111 | |
10001 | |
10001 | |
10001 | |
11111 | |
Spawn | |
grey lightblue blue | |
11111 | |
10001 | |
10201 | |
10001 | |
11111 | |
Goal | |
orange yellow | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
Player1 | |
lightgreen lightgray white | |
..... | |
..0.. | |
.010. | |
..0.. | |
..... | |
Player2 | |
lightred lightgray white | |
..... | |
..0.. | |
.010. | |
..0.. | |
..... | |
======= | |
LEGEND | |
======= | |
Temp = TempU or TempD or TempL or TempR or TempUS or TempDS or TempLS or TempRS or TempUC or TempDC or TempLC or TempRC | |
Terrain = Ground or Spawn or Goal or Chasm | |
Player = Player1 or Player2 or Temp | |
Floor = Ground or Spawn or Goal | |
. = Background | |
x = Chasm | |
q = Spawn | |
& = Player1 and Spawn | |
* = Player2 and Spawn | |
- = Ground | |
0 = Goal | |
o = Orb and Ground | |
# = Wall | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Chasm | |
Temp | |
Ground, Goal, Spawn | |
TOrb, Orb | |
Player1, Player2, Wall | |
====== | |
RULES | |
====== | |
[ action Player2 Floor ] -> [ Player1 TOrb Floor] | |
[ > Player1 Floor | Chasm ] -> [ Floor | Player1 Chasm ] | |
up [ up Player2 Floor | Ground ] -> [ Floor | TempU ] | |
down [ down Player2 Floor | Ground ] -> [ Floor | TempD ] | |
left [ left Player2 Floor | Ground ] -> [ Floor | TempL ] | |
right [ right Player2 Floor | Ground ] -> [ Floor | TempR ] | |
up [ up Player2 Ground | Spawn ] -> [ Ground | TempUS ] | |
down [ down Player2 Ground | Spawn ] -> [ Ground | TempDS ] | |
left [ left Player2 Ground | Spawn ] -> [ Ground | TempLS ] | |
right [ right Player2 Ground | Spawn ] -> [ Ground | TempRS ] | |
up [ up Player2 Floor | Chasm ] -> [ Floor | TempUC ] | |
down [ down Player2 Floor | Chasm ] -> [ Floor | TempDC ] | |
left [ left Player2 Floor | Chasm ] -> [ Floor | TempLC ] | |
right [ right Player2 Floor | Chasm ] -> [ Floor | TempRC ] | |
late down [ TempD | Terrain ] -> [ Ground | Player2 Terrain ] | |
late left [ TempL | Terrain ] -> [ Ground | Player2 Terrain ] | |
late right [ TempR | Terrain ] -> [ Ground | Player2 Terrain ] | |
late up [ TempU | Terrain ] -> [ Ground | Player2 Terrain ] | |
late down [ TempDS | Terrain ] -> [ Spawn | Player2 Terrain ] | |
late left [ TempLS | Terrain ] -> [ Spawn | Player2 Terrain ] | |
late right [ TempRS | Terrain ] -> [ Spawn | Player2 Terrain ] | |
late up [ TempUS | Terrain ] -> [ Spawn | Player2 Terrain ] | |
late down [ TempDS | Chasm ] -> [ Spawn | Player2 Chasm ] | |
late left [ TempLS | Chasm ] -> [ Spawn | Player2 Chasm ] | |
late right [ TempRS | Chasm ] -> [ Spawn | Player2 Chasm ] | |
late up [ TempUS | Chasm ] -> [ Spawn | Player2 Chasm ] | |
late down [ TempDC | Terrain ] -> [ Chasm | Player2 Terrain ] | |
late left [ TempLC | Terrain ] -> [ Chasm | Player2 Terrain ] | |
late right [ TempRC | Terrain ] -> [ Chasm | Player2 Terrain ] | |
late up [ TempUC | Terrain ] -> [ Chasm | Player2 Terrain ] | |
late [ Player1 Orb ] -> [ Player2 ] | |
late [ Player2 Orb ] -> [ Player2 ] | |
late [ TOrb Floor] -> [ Orb Floor] | |
late [ Player Chasm ] [ Spawn ] -> [ Chasm ] [ Player Spawn ] | |
============== | |
WINCONDITIONS | |
============== | |
All Player on Goal | |
======= | |
LEVELS | |
======= | |
xxxxxx | |
x----x | |
x*xx-x | |
xxxxxx | |
xxxx0x | |
xxxxxx | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment