Skip to content

Instantly share code, notes, and snippets.

@gmastr
Created February 23, 2021 17:13
Show Gist options
  • Save gmastr/11ac644079dbca32501bacf8e5a66ba7 to your computer and use it in GitHub Desktop.
Save gmastr/11ac644079dbca32501bacf8e5a66ba7 to your computer and use it in GitHub Desktop.
SHADOWED, MIRRORED, FLIPPED (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title SHADOWED, MIRRORED, FLIPPED
author gmastr
homepage gmastr.itch.io
require_player_movement
========
OBJECTS
========
Background
black
00000
00000
00000
00000
00000
Target
white
.0.0.
.000.
00000
00.00
00.00
TargetOver
white #121212
10101
10001
00000
00100
00100
ShadowTargetTop
#121212
.0.0.
.000.
.000.
00000
00000
ShadowTargetBottom
#121212
00000
00000
00.00
00.00
00.00
Wall
white
00000
00000
00000
00000
00000
ShadowWall
#121212
00000
00000
00000
00000
00000
Body
white gray
.....
.....
.101.
.000.
.010.
BodyJump1
white gray
.....
.....
.101.
00000
.010.
BodyJump2
white gray
.....
.....
.101.
00000
.010.
ShadowTop
#121212
.....
.000.
00000
0.0.0
00000
ShadowBottom
#121212
00000
00000
00000
00.00
00.00
=======
LEGEND
=======
. = Background
# = Wall
$ = ShadowWall
B = Body
O = Target
0 = TargetOver
u = ShadowTargetTop
n = ShadowTargetBottom
T = ShadowTop
S = ShadowBottom
Castle = Target or ShadowTargetTop or ShadowTargetBottom
Shadow = ShadowTop and ShadowBottom
Person = Body or ShadowTop or ShadowBottom
Player = Body or BodyJump1 or BodyJump2
Jumping = BodyJump1 or BodyJump2
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target, TargetOver, ShadowTargetBottom, ShadowTargetTop
ShadowBottom, ShadowWall
ShadowTop
Body, BodyJump1, BodyJump2, Wall
======
RULES
======
[ > Player ] [ ShadowTop ] -> [ > Player ] [ > ShadowTop ]
[ > Player ] [ ShadowBottom ] -> [ > Player ] [ > ShadowBottom ]
(gravity)
UP [ Up Body | No Wall ] -> [ Up BodyJump2 | ]
DOWN [ Up Jumping | no Wall ] -> [ Jumping | ]
DOWN [ Up BodyJump2 | no Wall ] -> [ BodyJump2 | ]
HORIZONTAL [ > BodyJump1 | NO Wall ] -> [ | Body ]
HORIZONTAL [ > BodyJump2 | NO Wall ] -> [ | BodyJump1 ]
LATE DOWN [ Body | NO Wall ] -> [ | Body ]
==============
WINCONDITIONS
==============
All Castle on Person
=======
LEVELS
=======
.........
.........
.........
.........
.t.....u.
.s.....n.
b$$$$$0$$
########.
.........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment