Skip to content

Instantly share code, notes, and snippets.

@BlueNacho
Created October 21, 2025 23:21
Show Gist options
  • Select an option

  • Save BlueNacho/188f108ac67c79d795b99b31ffe331a5 to your computer and use it in GitHub Desktop.

Select an option

Save BlueNacho/188f108ac67c79d795b99b31ffe331a5 to your computer and use it in GitHub Desktop.
Echoes of the Grid - Prototype V.1 (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Echoes of the Grid - Prototype V.1
author Ignacio Tachini
homepage www.puzzlescript.net
realtime_interval 1
run_rules_on_level_start
========
OBJECTS
========
Background
lightgray
blank
black
Target
red
Wall
darkgray
PlayerR
black
WalkR1
black
WalkR2
black
WalkR3
black
PlayerL
black
WalkL1
black
WalkL2
black
WalkL3
black
UnmovableR
black
UnmovableL
black
CloneR
blue
CloneL
blue
ActivateR
blue
ActivateL
blue
AfterimageR1
lightgray
AfterimageR2
black
AfterimageL1
lightgray
AfterimageL2
black
Appear1
black
Appear2
black
Appear3
black
CloneCol
blue
Cloned
blue
ClonedCol
blue
Box
yellow
========
LEGEND
========
Player = PlayerR or PlayerL or WalkR1 or WalkR2 or WalkR3 or WalkL1 or WalkL2 or WalkL3
WalkR = WalkR1 or WalkR2 or WalkR3
WalkL = WalkL1 or WalkL2 or WalkL3
Clone = CloneR or CloneL
. = Background
# = Wall
P = Appear1
T = Target
B = Box
_ = blank
========
SOUNDS
========
================
COLLISIONLAYERS
================
Background
blank
Target
CloneR, CloneL
Player, Wall, Box, CloneCol, UnmovableR, UnmovableL
Appear1, Appear2, Appear3
AfterimageR1, AfterimageR2, AfterimageL1, AfterimageL2
ActivateR, ActivateL
Cloned, ClonedCol
======
RULES
======
[ stationary Appear3 ] -> [ PlayerR ]
[ stationary Appear2 ] -> [ Appear3 ]
[ stationary Appear1 ] -> [ Appear2 ]
[ > Player | no Wall no Box ] -> [ > Player | ]
[ > Player | Box ] -> [ > Player | > Box ]
[ > Player | Clone ] -> [ > Player | > Clone ]
[ moving Clone ] [ Clone Wall ] -> [ stationary Clone ] [ Wall ]
[ moving Clone ] [ Clone Box ] -> [ stationary Clone ] [ Box ]
[ Clone no Player ] -> [ Clone CloneCol ClonedCol ]
[ stationary ActivateR ] -> [ ]
[ stationary ActivateL ] -> [ ]
[ action PlayerR no Cloned ] -> [ PlayerR CloneR Cloned ActivateR ]
[ action WalkR no Cloned ] -> [ WalkR CloneR Cloned ActivateR ]
[ action PlayerL no Cloned ] -> [ PlayerL CloneL Cloned ActivateL ]
[ action WalkL no Cloned ] -> [ WalkL CloneL Cloned ActivateL ]
[ stationary AfterimageR2 ] -> [ PlayerR ]
[ stationary AfterimageL2 ] -> [ PlayerL ]
[ stationary AfterimageR1 ] -> [ ]
[ stationary AfterimageL1 ] -> [ ]
[ > Player Cloned ] -> [ > Player > Cloned ]
[ action PlayerR Cloned ] [ CloneR CloneCol ClonedCol ] -> [ AfterimageR1 ] [ AfterimageR2 ]
[ action PlayerL Cloned ] [ CloneR CloneCol ClonedCol ] -> [ AfterimageL1 ] [ AfterimageR2 ]
[ action WalkR Cloned ] [ CloneR CloneCol ClonedCol ] -> [ AfterimageR1 ] [ AfterimageR2 ]
[ action WalkL Cloned ] [ CloneR CloneCol ClonedCol ] -> [ AfterimageL1 ] [ AfterimageR2 ]
[ action PlayerR Cloned ] [ CloneL CloneCol ClonedCol ] -> [ AfterimageR1 ] [ AfterimageL2 ]
[ action PlayerL Cloned ] [ CloneL CloneCol ClonedCol ] -> [ AfterimageL1 ] [ AfterimageL2 ]
[ action WalkR Cloned ] [ CloneL CloneCol ClonedCol ] -> [ AfterimageR1 ] [ AfterimageL2 ]
[ action WalkL Cloned ] [ CloneL CloneCol ClonedCol ] -> [ AfterimageL1 ] [ AfterimageL2 ]
left [ > PlayerR ] -> [ > PlayerL ]
left [ > WalkR1 ] -> [ > WalkL1 ]
left [ > WalkR2 ] -> [ > WalkL2 ]
left [ > WalkR3 ] -> [ > WalkL3 ]
right [ > PlayerL ] -> [ > PlayerR ]
right [ > WalkL1 ] -> [ > WalkR1 ]
right [ > WalkL2 ] -> [ > WalkR2 ]
right [ > WalkL3 ] -> [ > WalkR3 ]
[ > PlayerR ] -> [ > WalkR1 ]
[ stationary WalkR3 ] -> [ action PlayerR ]
[ stationary WalkR2 ] -> [ action WalkR3 ]
[ stationary WalkR1 ] -> [ action WalkR2 ]
[ > PlayerL ] -> [ > WalkL1 ]
[ stationary WalkL3 ] -> [ action PlayerL ]
[ stationary WalkL2 ] -> [ action WalkL3 ]
[ stationary WalkL1 ] -> [ action WalkL2 ]
==============
WINCONDITIONS
==============
All Box on Target
=======
LEVELS
=======
message X to create a clone. X again to teleport to it.
##########
#........#
#..P.....#
#........#
#....B...#
#........#
#......T.#
#........#
#........#
##########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment