Skip to content

Instantly share code, notes, and snippets.

@sfiera
Last active June 27, 2023 09:30
Show Gist options
  • Save sfiera/18d3af1533b3efc51bf66643e5201f0b to your computer and use it in GitHub Desktop.
Save sfiera/18d3af1533b3efc51bf66643e5201f0b to your computer and use it in GitHub Desktop.
title Virtual Player
author sfiera
homepage www.puzzlescript.net
========
OBJECTS
========
Background
white
Player
transparent
FwdPlayer
green
RevPlayer
red
Target
gray
Wall
black
=======
LEGEND
=======
. = Background
# = Wall
* = Wall and Player
F = FwdPlayer
R = RevPlayer
O = Target
AnyPlayer = FwdPlayer or RevPlayer
Solid = AnyPlayer or Wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Solid
Player
======
RULES
======
[> Player] [FwdPlayer] -> [> Player] [> FwdPlayer]
[> Player] [RevPlayer] -> [> Player] [< RevPlayer]
==============
WINCONDITIONS
==============
all Target on AnyPlayer
=======
LEVELS
=======
*########
#.......#
#..F.R..#
#.O.O.O.#
#...R...#
#.......#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment