Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created June 9, 2022 16:55
Show Gist options
  • Select an option

  • Save jcmiller11/0907b0afdd78c5cef04a403bff2c0193 to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/0907b0afdd78c5cef04a403bff2c0193 to your computer and use it in GitHub Desktop.
Portal Test (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Portal Test
author jc
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
black orange white blue
.000.
.111.
22222
.333.
.3.3.
Portal
blue
00000
0.0.0
00000
0.0.0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
$ = Portal
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Portal
Player, Wall
======
RULES
======
LATE random [ Player Portal ] [ Portal no Player ] -> [ Portal ] [ Player Portal ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
####..
#..#..
#..###
#.P.$#
#$...#
#..###
####..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment