Skip to content

Instantly share code, notes, and snippets.

@BlueNacho
Created November 24, 2025 00:25
Show Gist options
  • Select an option

  • Save BlueNacho/5cf670ce8948066349ba2f7c1c1b31ff to your computer and use it in GitHub Desktop.

Select an option

Save BlueNacho/5cf670ce8948066349ba2f7c1c1b31ff to your computer and use it in GitHub Desktop.
Echoes Of The Grid (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Echoes Of The Grid
author Ignacio Tachini
homepage www.puzzlescript.net
realtime_interval 0.2
run_rules_on_level_Start
========
OBJECTS
========
Background
#141618 black
11111
11111
10001
10101
10001
blank
black
Target
black #5522a2 darkgray #2a0435
.....
.....
.101.
.010.
.101.
Wall
darkgray #b39dc9 #a38abd
01110
11121
11111
12111
11111
WallU
darkgray #b39dc9 #a38abd
00000
11121
11111
12111
11111
Hall
black darkgray #3a1a5f
12121
20202
00000
00000
00000
PlayerR
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
.2000
.7525
.4111
.0330
.3.6.
WalkR1
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
.2000
.7525
.4111
.303.
3...6
WalkR2
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
.2000
.7525
.4111
.0332
.6.3.
WalkR3
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
.2000
.7525
.4111
03330
6...3
PlayerL
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
0002.
5257.
1114.
0330.
.6.3.
WalkL1
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
0002.
5257.
1114.
.303.
6...3
WalkL2
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
0002.
5257.
1114.
2330.
.3.6.
WalkL3
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
0002.
5257.
1114.
03330
3...6
UnmovableR
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
.2000
.7525
.4111
.303.
3...6
UnmovableL
#757575 lightbrown #4a4a4a #5522a2 brown #8a4ccd #3a1a5f #2e2e2e
0002.
5257.
1114.
.303.
6...3
CloneR
white lightbrown lightgray #5522a2 brown gray #3a1a5f
.2222
.2525
.2222
.2222
.2.2.
CloneL
white lightbrown lightgray #5522a2 brown gray #3a1a5f
2222.
5252.
2222.
2222.
.2.2.
ActivateR
white lightbrown lightgray #5522a2 brown gray #3a1a5f
.2222
.2525
.2222
.2222
.2.2.
ActivateL
white lightbrown lightgray #5522a2 brown gray #3a1a5f
2222.
5252.
2222.
2222.
.2.2.
AfterimageR1
white lightbrown lightgray #5522a2 brown gray #3a1a5f
.0000
.0000
.0000
.0000
.0.0.
AfterimageR2
white lightbrown lightgray #5522a2 brown gray #3a1a5f
.0000
.0000
.0000
.0000
.0.0.
AfterimageL1
white lightbrown lightgray #5522a2 brown gray #3a1a5f
0000.
0000.
0000.
0000.
.0.0.
AfterimageL2
white lightbrown lightgray #5522a2 brown gray #3a1a5f
0000.
0000.
0000.
0000.
.0.0.
Appear1
white
.....
.....
..0..
.....
.....
Appear2
white
.....
.000.
.000.
.000.
.....
Appear3
white
.0000
.0000
.0000
.0000
.0.0.
CloneCol
black
.....
.....
.....
.....
.....
Cloned
green
.....
.....
.....
.....
.....
ClonedCol
black
.....
.....
.....
.....
.....
BlueOrb
#b07bf5 #8a4ccd white #5522a2
.111.
12201
12013
30113
.333.
YellowOrb
yellow lightbrown white orange
.111.
12201
12013
30113
.333.
YellowOrbR
yellow lightbrown white orange
.111.
12201
12013
30113
.333.
YellowOrbL
yellow lightbrown white orange
.111.
12201
12013
30113
.333.
YellowOrbU
yellow lightbrown white orange
.111.
12201
12013
30113
.333.
YellowOrbD
yellow lightbrown white orange
.111.
12201
12013
30113
.333.
BelowWall
#d0bfe0 #372747 #40314F
21112
.....
.....
.....
.....
AboveWall
#d0bfe0
.....
.....
.....
.....
00000
WallD
#d0bfe0 #473759 #4f3d63
.....
.....
.....
00000
21112
WallL
#d0bfe0
0....
0....
0....
0....
0....
WallR
#d0bfe0
....0
....0
....0
....0
....0
WallLR
#d0bfe0
0...0
0...0
0...0
0...0
0...0
AboveWallL
#d0bfe0
.....
.....
.....
0....
0....
AboveWallR
#d0bfe0
.....
.....
.....
....0
....0
AboveWallLR
#d0bfe0
.....
.....
.....
0...0
0...0
AboveWallLRwithR
#d0bfe0
....0
....0
....0
0...0
0...0
AboveWallLRwithL
#d0bfe0
0....
0....
0....
0...0
0...0
CloneAR
white lightbrown lightgray #5522a2 brown gray #3a1a5f
.2222
.2525
.2222
.2222
.2.2.
CloneAL
white lightbrown lightgray #5522a2 brown gray #3a1a5f
2222.
5252.
2222.
2222.
.2.2.
CloneBR
white lightbrown lightgray #5522a2 brown gray #3a1a5f
.2222
.2525
.2222
.2222
.2.2.
CloneBL
white lightbrown lightgray #5522a2 brown gray #3a1a5f
2222.
5252.
2222.
2222.
.2.2.
ClonedA
green
.....
.....
.....
.....
.....
ClonedB
green
.....
.....
.....
.....
.....
TeleportMarker
white
.....
.....
.....
.....
.....
=======
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
Orb = BlueOrb or YellowOrb
Orbs = BlueOrb or YellowOrb or YellowOrbR or YellowOrbL or YellowOrbU or YellowOrbD
Obstacles = Wall or Orbs or CloneR or CloneL
AboveDecoration = AboveWall or AboveWallL or AboveWallR or WallL or WallR or WallLR
CloneA = CloneAR or CloneAL
CloneB = CloneBR or CloneBL
ActiveClone = ClonedA or ClonedB
. = Background
# = Wall
P = Appear1
O = Target
@ = BlueOrb
_ = blank
~ = Hall
Y = YellowOrb
=======
SOUNDS
=======
Player MOVE 45846907
Orbs MOVE 16278507
Wall move 95612108
Target move 6622108
Hall move 10354501
sfx0 24539902
sfx1 31523909
sfx2 75988708
restart 75988708
undo 12286707
startlevel 75988708
endlevel 6210100
endgame 75988708
================
COLLISIONLAYERS
================
Background
blank
BelowWall
Target
CloneAR, CloneAL, CloneBR, CloneBL, CloneR, CloneL
Player, Wall, Hall, BlueOrb, YellowOrb, YellowOrbR, YellowOrbL, YellowOrbU, YellowOrbD, CloneCol, UnmovableR, UnmovableL
Appear1, Appear2, Appear3
WallU
AboveDecoration
WallD, AboveWallLR, AboveWallLRwithR, AboveWallLRwithL
AfterimageR1, AfterimageR2, AfterimageL1, AfterimageL2
ActivateR, ActivateL
Cloned, ClonedCol, ClonedA, ClonedB
======
RULES
======
[ > Player | BlueOrb ClonedCol ] -> [ > Player | > BlueOrb > ClonedCol ]
[ wall no ClonedCol ] -> [ Wall ClonedCol ]
[ Orbs no ClonedCol ] -> [ Orbs ClonedCol ]
(Appear)
[ stationary Appear3 ] -> [ PlayerR ]
[ stationary Appear2 ] -> [ Appear3 ]
[ stationary Appear1 ] -> [ Appear2 ]
(YellowOrb)
right [ > Player Cloned| YellowOrb ClonedCol ] -> [ > UnmovableR > Cloned | > YellowOrbR > ClonedCol ]
right [ > Player | YellowOrb ClonedCol ] -> [ > UnmovableR | > YellowOrbR > ClonedCol ]
left [ > Player Cloned | YellowOrb ClonedCol ] -> [ > UnmovableL > Cloned | > YellowOrbL > ClonedCol ]
left [ > Player | YellowOrb ClonedCol ] -> [ > UnmovableL | > YellowOrbL > ClonedCol ]
up [ > Player Cloned | YellowOrb ClonedCol ] -> [ > UnmovableR > Cloned | > YellowOrbU > ClonedCol ]
up [ > Player | YellowOrb ClonedCol ] -> [ > UnmovableR | > YellowOrbU > ClonedCol ]
down [ > Player Cloned | YellowOrb ClonedCol ] -> [ > UnmovableR > Cloned | > YellowOrbD > ClonedCol ]
down [ > Player | YellowOrb ClonedCol ] -> [ > UnmovableR | > YellowOrbD > ClonedCol ]
right [ stationary YellowOrbR ClonedCol | no Obstacles ] -> [ > YellowOrbR > ClonedCol | ]
right [ YellowOrbR | Obstacles ] [ UnmovableR ] -> [ YellowOrb | Obstacles ] [ PlayerR ]
left [ stationary YellowOrbL ClonedCol | no Obstacles ] -> [ > YellowOrbL > ClonedCol | ]
left [ YellowOrbL | Obstacles ] [ UnmovableL ] -> [ YellowOrb | Obstacles ] [ PlayerL ]
up [ stationary YellowOrbU ClonedCol | no Obstacles ] -> [ > YellowOrbU > ClonedCol | ]
up [ YellowOrbU | Obstacles ] [ UnmovableR ] -> [ YellowOrb | Obstacles ] [ PlayerR ]
down [ stationary YellowOrbD ClonedCol | no Obstacles ] -> [ > YellowOrbD > ClonedCol | ]
down [ YellowOrbD | Obstacles ] [ UnmovableR ] -> [ YellowOrb | Obstacles ] [ PlayerR ]
(Clone)
[ action Player no CloneA no CloneB ] -> [ Player CloneAR ClonedA ActivateR ] sfx0
[ action Player CloneA no CloneB ] -> [ Player CloneBR ClonedB ActivateR ] sfx0
[ stationary ActivateR ] -> [ ]
[ stationary ActivateL ] -> [ ]
[ action Player CloneB ] -> [ AfterimageR1 ]
[ stationary AfterimageR1 ] [ CloneBR ] -> [ AfterimageR2 ] [ CloneBR ]
[ stationary AfterimageR2 ] -> [ PlayerR ]
[ action Player CloneA no CloneB ] -> [ AfterimageL1 ]
[ stationary AfterimageL1 ] [ CloneAR ] -> [ AfterimageL2 ] [ CloneAR ]
[ stationary AfterimageL2 ] -> [ PlayerL ]
[ stationary AfterimageR1 ] -> [ ]
[ stationary AfterimageL1 ] -> [ ]
(Wall)
down [ Wall | no Wall ] -> [ Wall WallD | BelowWall ]
up [ Wall | no Wall ] -> [ Wall | AboveWall ]
left [ Wall | no Wall ] -> [ Wall WallL | ]
right [ Wall WallL | no Wall ] -> [ Wall WallLR | ]
right [ Wall no AboveDecoration | no Wall ] -> [ Wall WallR | ]
up [ WallL | Wall no AboveDecoration ] -> [ WallL | Wall AboveWallL ]
up [ WallR | Wall no AboveDecoration ] -> [ WallR | Wall AboveWallR ]
up [ WallLR | Wall ] -> [ WallLR | Wall AboveWallLR ]
up [ WallL | Wall WallR ] -> [ WallL | Wall AboveWallLRwithR ]
up [ WallR | Wall WallL ] -> [ WallR | Wall AboveWallLRwithL ]
up [ Wall | AboveWall ] -> [ Wall WallU | AboveWall ]
(Walking anim)
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 Target on player
=======
LEVELS
=======
message X para poner un clon
message X de nuevo para ser reemplazado por el clon
_____________
_____________
___#######___
___#.....#___
___#.....#___
___#.p...#___
___#.....#___
___#...o.#___
___#######___
_____________
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment