Skip to content

Instantly share code, notes, and snippets.

@MaxyLAND
Created July 14, 2023 20:03
Show Gist options
  • Save MaxyLAND/a5310ef639867ce03a17e55b1e9602f8 to your computer and use it in GitHub Desktop.
Save MaxyLAND/a5310ef639867ce03a17e55b1e9602f8 to your computer and use it in GitHub Desktop.
PuzzleGame testing (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
(
Hello there!
This is a special starting template for PuzzleScript Plus highlighting the most important differences from vanilla PuzzleScript. It's intended as a "Hello World" of sorts. So it's handy if you already know how vanilla PuzzleScript works before diving into this.
If you immediately want to working on a game instead, consider using the "Basic" or "Blank Project" example instead.
For more info, don't forget to check out the NEW EXAMPLES and the DOCS. Enjoy!
)
title PuzzleGame testing
author MaxyLAND and Javago
homepage auroriax.github.io/PuzzleScript
level_select
runtime_metadata_twiddling
text_controls Your PuzzleScript Plus journey starts here! \nHello world!
run_rules_on_level_start
norepeat_action
========
OBJECTS
========
Background
GREEN
00000
00000
00000
00000
00000
Vacio
black
Meta
DarkBlue Yellow
00000
01110
01110
01110
00000
Muro
#3d7b18 #2c5811
11111
11111
11111
11111
11111
Muro3D
#3d7b18 #2c5811 darkbrown
11111
11111
11111
11111
22222
MuroUp3D
#3d7b18 #2c5811
.....
.....
.....
.....
11111
Jugador
#FF8585 #FF9898
.111.
11000
10000
10000
.000.
JugadorDes
#693737
.000.
00000
00000
00000
.000.
Espejo
#85FFFF #A7FFFF
.111.
11000
10000
10000
.000.
EspejoDes
#376969
.000.
00000
00000
00000
.000.
Piedra
Grey #808080 LightGrey
.....
.220.
.201.
.011.
.....
Hueco
darkgreen darkbrown #382e21
.....
.222.
.111.
.111.
.....
Relleno
LIGHTGREEN GREEN #835521 Grey #808080 LightGrey #356b13 #2c590f #3e7d16
11111
18861
18671
16771
11111
TroncoV
brown yellow #945a1e #b36d25
..0..
.202.
.212.
.111.
..1..
TroncoH
brown yellow #945a1e #b36d25
.....
33333
00000
22222
.....
AguaMuro
darkbrown
00000
.....
.....
.....
.....
Agua
lightblue blue
11111
11111
11111
11111
11111
AguaTroncoH
brown yellow lightblue blue #945a1e #b36d25
33333
33333
55555
00000
33333
AguaTroncoV
brown yellow lightblue blue #945a1e
33333
33033
34043
34143
31113
HieloCapa
white lightblue GREEN
11111
01111
11101
11111
10111
HieloBrecha
white lightblue GREEN gray
13111
31131
11301
13113
30131
SetaD
lightbrown #b50006 #d40007 #e80008
12321
..0..
..0..
..0..
..0..
SetaU
lightbrown #b50006 #d40007 #e80008
..0..
..0..
..0..
..0..
12321
SetaL
lightbrown #b50006 #d40007 #e80008
....1
....2
00003
....2
....1
SetaR
lightbrown #b50006 #d40007 #e80008
1....
2....
30000
2....
1....
SetaMetida
white #b50006 #d40007 #e80008 green
41104
12221
10221
12201
41114
=======
LEGEND
=======
Suelo = Background or Relleno or SetaMetida or AguaTroncoH or AguaTroncoV
Player = Jugador or Espejo
PlayerDes = JugadorDes or EspejoDes
Hero = Player or PlayerDes
Tronco = TroncoH or TroncoV
Wall = Muro or Hueco or Vacio or Muro3D
PlayerWalls = Player or Muro or Muro3D or JugadorDes or EspejoDes or Jugador or Espejo or Piedra or TroncoV or TroncoH or SetaD or SetaU or SetaL or SetaR
Muros = Muro or Muro3D
Aguas = Agua or AguaTroncoH or AguaTroncoV
. = Background
0 = Relleno
# = Muro and Background
& = Muro3D and Background
1 = Jugador and Background
2 = JugadorDes and Background
3 = Espejo and Background
4 = EspejoDes and Background
* = Piedra and Background
! = TroncoV and Background
_ = TroncoH and Background
H = Hueco and Background
7 = TroncoV and Hueco and Background
8 = TroncoH and Hueco and Background
M = Meta and Background
A = Agua
, = AguaMuro
\ = MuroUp3D
5 = AguaTroncoH
6 = AguaTroncoV
N = Vacio and Background
Ç = Jugador and AguaTroncoV
Q = EspejoDes and AguaTroncoH
- = HieloCapa and Background
T = SetaD and Background
Ʇ = SetaU and Background
L = SetaR and Background
¬ = SetaL and Background
O = SetaMetida
=======
SOUNDS
=======
Piedra MOVE 36772507
sfx1 35722508 (gg)
sfx2 27442308 (troncaso)
sfx3 79472302 (piedra en hueco)
sfx4 72309907 (movimiento tronco)
sfx5 18109708 (cambio personaje)
undo 26268707
sfx6 79804308 (agua)
sfx7 28538502 (hielo glugluglu)
================
COLLISIONLAYERS
================
Suelo, Agua, SetaMetida
AguaMuro
Meta, Hueco, HieloCapa, HieloBrecha
Espejo, EspejoDes, Jugador, Muro, MURO3D, JugadorDes, Piedra, TroncoV, TroncoH, Vacio, SetaD, SetaU, SetaL, SetaR
MuroUp3D
======
RULES
======
(movimiento de tronco vertical si no está en hueco)
horizontal [> Player | HieloCapa TroncoV | no PlayerWalls] -> [> Player | Agua TroncoV | no PlayerWalls]
startloop
horizontal [ > Player | TroncoV | no PlayerWalls ] -> [ Player | > TroncoV | no PlayerWalls ] sfx2
+ [ > TroncoV | Agua ] -> [ | 6 ] sfx6
+ [ > TroncoV | PlayerWalls ] -> [ TroncoV | PlayerWalls ]
+ [ > TroncoV | no PlayerWalls ] -> [ | > TroncoV ]
endloop
vertical [ > Player | TroncoV ] -> [ > Player | > TroncoV ] sfx4
(agua)
[ > TroncoV | Agua ] -> [ | 6 ] sfx6
(movimiento de tronco horizontal si no está en hueco)
vertical [> Player | HieloCapa TroncoH | no PlayerWalls] -> [> Player | Agua TroncoH | no PlayerWalls]
startloop
vertical [ > Player | TroncoH | no PlayerWalls ] -> [ Player | > TroncoH | no PlayerWalls ] sfx2
+ [ > TroncoH | Agua ] -> [ | 5 ] sfx6
+ [ > TroncoH | PlayerWalls ] -> [ TroncoH | PlayerWalls ]
+ [ > TroncoH | no PlayerWalls ] -> [ | > TroncoH ]
endloop
horizontal [ > Player | TroncoH ] -> [ > Player | > TroncoH ] sfx4
(agua)
[ > TroncoH | Agua ] -> [ | 5 ] sfx6
(Ejecuciones para el jugador)
[ > Player | Piedra ] -> [ > Player | > Piedra ]
(Piedra en hueco, se convierte en suelo)
[ > Piedra | 7 ] -> [ Piedra | 7 ]
[ > Piedra | 8 ] -> [ Piedra | 8 ]
[ > Piedra | Hueco ] -> [ | Relleno ] sfx3
(Cambio jugador)
[ Action Jugador ] [ EspejoDes ] -> [ JugadorDes ] [ Espejo ] sfx5
[ Action Espejo ] [ JugadorDes ] -> [ EspejoDes ] [ Jugador ] sfx5
(Condiciones de victoria)
horizontal [ > Player | PlayerDes AguaTroncoV | Meta ] -> [ Player | PlayerDes AguaTroncoV | Meta ]
vertical [ > Player | PlayerDes AguaTroncoH | Meta ] -> [ Player | PlayerDes AguaTroncoH | Meta ]
[ > Player | PlayerDes ] -> [ > Player | > PlayerDes ]
[ > Player | > PlayerDes | PlayerWalls Meta ] -> [ Player | PlayerDes | PlayerWalls Meta ]
[ > Player | > PlayerDes | Hueco ] -> [ Player | PlayerDes | Hueco]
horizontal [ > Player AguaTroncoV | Meta ] -> [ Player AguaTroncoV | Meta ]
vertical [ > Player AguaTroncoH | Meta ] -> [ Player AguaTroncoH | Meta ]
[ > Player | PlayerWalls Meta | PlayerWalls ] -> [ Player | PlayerWalls Meta | PlayerWalls ]
[ > Player | PlayerWalls Meta | no PlayerWalls ] -> [ > Player | Meta | PlayerWalls ]
[ > Jugador | Meta ] [ EspejoDes ] -> [ | Meta ] [ Espejo ] sfx1
[ > Espejo | Meta ] [ JugadorDes ] -> [ | Meta ] [ Jugador ] sfx1
[ > PlayerDes | Meta ] -> [ | Meta ] sfx1
[ > Jugador | Meta ] [ no EspejoDes ] -> [ | Meta ] [ ] sfx1
[ > Espejo | Meta ] [ no JugadorDes ] -> [ | Meta ] [ ] sfx1
(Agua1)
[ > Player | Agua] -> [ Player | Agua ]
[ > Piedra | Agua] -> [ | Agua ] sfx6
vertical [ > Piedra | AguaTroncoH] -> [ | AguaTroncoH ] sfx6
horizontal [ > Piedra | AguaTroncoV] -> [ | AguaTroncoV ] sfx6
(Limitar el camino al mover un jugador por el agua)
[ > Player | > PlayerDes | Agua ] -> [ Player | PlayerDes | Agua ]
horizontal [ > Player | > PlayerDes | AguaTroncoV ] -> [ Player | PlayerDes | AguaTroncoV ]
vertical [ > Player | > PlayerDes | AguaTroncoH ] -> [ Player | PlayerDes | AguaTroncoH ]
(Corrección player agua encima de troncos)
vertical [ > Player | AguaTroncoH ] -> [ Player | AguaTroncoH ]
horizontal [ > Player | AguaTroncoV ] -> [ Player | AguaTroncoV ]
horizontal [ > Player AguaTroncoV | AguaTroncoH ] -> [ Player AguaTroncoV | AguaTroncoH ]
vertical [ > Player AguaTroncoH | AguaTroncoV ] -> [ Player AguaTroncoH | AguaTroncoV ]
vertical [ > Player AguaTroncoH ] -> [ Player AguaTroncoH ]
horizontal [ > Player AguaTroncoV ] -> [ Player AguaTroncoV ]
(Corrección PlayerDes empujando mal por los AguaTroncos)
vertical [ > PlayerDes AguaTroncoH ] -> [ PlayerDes AguaTroncoH ]
horizontal [ > PlayerDes AguaTroncoV ] -> [ PlayerDes AguaTroncoV ]
(Mecánica del hielo)
late [ HieloCapa Player ] -> [ HieloBrecha Player ]
late [ HieloCapa PlayerDes ] -> [ HieloBrecha PlayerDes ]
late [ HieloCapa PlayerWalls ] -> [ HieloBrecha PlayerWalls ]
late [ HieloBrecha no Player no PlayerDes no PlayerWalls ] -> [ Agua ] sfx7
(late up [ Muros | no Muro ] -> [ Muros | MuroUp3D ]
late down [ no Agua no AguaTroncoH no AguaTroncoV | Aguas ] -> [ no Agua no AguaTroncoH no AguaTroncoV | Aguas AguaMuro ]
late down [ Muro | no Muros ] -> [ Muro3D | no Muros ])
(MECÁNICA SETIL)
(Movimientos sin rotación)
vertical [ > Player | SetaD ] -> [ > Player | > SetaD ] sfx4
vertical [ > Player | SetaU ] -> [ > Player | > SetaU ] sfx4
horizontal [ > Player | SetaR ] -> [ > Player | > SetaR ] sfx4
horizontal [ > Player | SetaL ] -> [ > Player | > SetaL ] sfx4
(Movimientos con rotación)
right [ > Player | SetaD | no PlayerWalls ] -> [ Player | | v SetaL ]
left [ > Player | SetaD | no PlayerWalls ] -> [ Player | | ^ SetaR ]
right [ > Player | SetaU | no PlayerWalls ] -> [ Player | | ^ SetaL ]
left [ > Player | SetaU | no PlayerWalls ] -> [ Player | | v SetaR ]
up [ > Player | SetaR | no PlayerWalls ] -> [ Player | | right SetaD ]
down [ > Player | SetaR | no PlayerWalls ] -> [ Player | | right SetaU ]
up [ > Player | SetaL | no PlayerWalls ] -> [ Player | | left SetaD ]
down [ > Player | SetaL | no PlayerWalls ] -> [ Player | | left SetaU ]
(Interacción de la seta con el hueco)
right [ > SetaR | Hueco ] -> [ | SetaMetida ]
left [ > SetaL | Hueco ] -> [ | SetaMetida ]
up [ > SetaU | Hueco ] -> [ | SetaMetida ]
down [ > SetaD | Hueco ] -> [ | SetaMetida ]
(Playerhueco playerhueco XDDDD)
[ > Player | Hueco ] -> [ Player | Hueco ]
==============
WINCONDITIONS
==============
no Player (very memardo BY THE WAY.)
=======
LEVELS
=======
section level 1
(1. Mostrar mecánica doble jugador.)
aaaaaaaaaa
aa..##a..a
a.*...a.ma
a3...#h..a
a..#.#.#aa
aa..2..aaa
aa###..aaa
aaaaaaaaaa
section level 2
(2. Mostrar cómo se puede interactuar con ambos.)
#####.aa
#1....aa
#.###4aa
#.#mh..a
#.###.#a
..*....a
a..aa.aa
aaaaaaaa
section level 3
(5. Solo tiene un tronco y sería el primer nivel de troncos. tabien👍)
####&####
####m####
###&a&&##
##&..1.##
##.!...##
##..#.4##
##..#####
#########
section level 4
(20. fortinaiti la babajee)
#####&&#
##&&#..#
##..&_.#
##.....#
#&&a&&&#
#3..2am#
##.!.###
##.#####
########
section level 5
(21. Posible nivel para enseñar mejor tronco sobre tronco en aggua de otra dirección)
##########
#####.####
#..3..####
##_.2a..##
##..#.!###
###a#..###
###m#..###
##########
section extra 1 (after level 5)
(22. BUEN NIVEL (rotado 90 grados))
aaaaaaaaaa
aaaaaaaaaa
aaa....aaa
aa.!.4.aaa
aa.h_haaaa
aaaa.1aaaa
aamaaaaaaa
aaaaaaaaaa
section level 6
(8. Cuarto nivel con troncos. mostrando los huecos.)
#&&##&&##
#..##..&#
#._##.!m#
#..#&...#
##a&....#
#...h..3#
#..2.&..#
###..a..#
#########
section extra 2 (after level 6)
(8.1. NIVEL EXTRA: VERSIÓN BUFFEADA DE: Cuarto nivel con troncos. mostrando los huecos.)
#&&#&&&&#
#m.#....#
#.#&.3..#
#.#.....#
#.&&..!.#
#aaah...#
#._..&..#
#.2...a.#
#.##.#&&&
######aaa
section level 7
(9. Cuarto nivel con troncos.)
aa.#########
a######...##
a.....#.a.##
a.....#....#
a#..#h##...#
a#!1.h.#*###
a#..hh.#a###
a#m.h.....##
aa###.4...##
aaaa####...a
aaaaaaaaaaaa
section level 8
(10. Se basa en darte cuenta de que si tienes una piedra aparentemente atrapada por estar en una pared extrema y tienes un tronco con dirección perpendicular a la pared en la que está la piedra. puedes usar el tronco y los dos personajes para sacar la piedra)
aaaaaaaaa
aaaamaaaa
aaaah.aaa
aa.1...aa
a...!..aa
a..4..,aa
a,..*.aaa
aa,,,,aaa
aaaaaaaaa
section level 9
(11. Primer nivel en el que interactúan directamente el tronco y la piedra)
aaaaaaaaa
aaaaaaaaa
aaaaaa.aa
aaaa._.aa
aaaa..3.a
amha*..aa
aaa..2.aa
aaaaaa.aa
aaaaaaaaa
section extra 3 (after level 9)
(18. NIVEL EXTRA)
aaaaaaaaaaaa
aaaaa4aaaaaa
amha..*...aa
aa....!....a
aaa1aaaa.aaa
aaaaaaaaaaaa
section extra 4 (after extra 3)
(23. Lonely travel)
#&&&&##&&##
#...m&#..##
#.....&..##
#.3!*....&#
#..#......#
####&a#...#
####2h#####
###########
section level 10
(12. Te enseña completamente cómo se mueve la piedra sobre AguaTronco.)
a########
a..###..#
a..###..#
a..#.#..#
a.a2.#.##
aa....!.#
aa*....h#
aa...3#m#
aa#######
section extra 5 (after level 10)
(19. POSIBLE NIVEL EXTRA: aaajajaj te creías que mirando aquí ibas a encontrar una pista aaa pues no jijiji)
aaaaaaaaaaaa
aa..aaaaaaaa
aa._...a.aaa
aa.......aaa
a....,.2..aa
a,,.,a....aa
aaa,aa,.*.aa
aaaa...,.,aa
aamh_..a,aaa
aa,.....aaaa
aaa..3.&aaaa
aaa&&..,aaaa
aaa,,,,aaaaa
section level 11
(13. Te enseña que un tronco puede pasar sobre otro de la misma dirección que está en el agua)
#######a
####...a
#1.!!.4a
#....aaa
##ha..aa
##...aaa
#aaaaaaa
aaamaaaa
aaaaaaaa
section extra 6 (after level 11)
(16. NIVEL EXTRA: Dos troncos que prácticamente solo manipula un personaje. Y un río.)
a..#########
aa....######
aa.....#####
aaa...3..###
#aa.......##
..aaa#....##
....aa.._.##
.....a.._m##
#.2..aa...##
.....aaaa.##
.#....#aaa##
.....#####aa
section level 12
(14. Dos troncos. dos piedras. un destino.)
a#.aaaaaaaaa#.a
.#aa......aa..a
aaa......3.aa..
aa.*........a#.
a....aa._...aaa
aa...aaaa....aa
aahaaa..aaa.aaa
aahaaa..aaaaaaa
...2a.!.aaa..aa
#...a.*..aa.m#a
a#aaaa...aa#..a
aaaaaaaaaaaaaaa
section extra 7 (after level 12)
(14.1. NIVEL EXTRA: Tres troncos. dos piedras. un destinatario.)
a#.aaaaaaaaa&.a
.&aa......aa..a
aa.......3.aa..
aaa*........a&.
a....aa._...aaa
aa...aaaa....aa
aa.6aa..aaa.aaa
aahaaa..aaaaaaa
...2a.!.aaa..aa
....a.*..aa.m&a
a&aaaa...aa&..a
aaaaaaaaaaaaaaa
section extra 8 (after level 12)
(15. NIVEL EXTRA: Intercambio cruzado)
.&m#.aaaaa&.
...&aa#&&aa.
aaaaa.#..&aa
aa....#.4.aa
aa._..&....a
a....5h....a
a....aa....a
aa.1a.a...&a
aa....#.!.aa
&aa&&&&..aaa
..aaaaaaaaaa
(Hielo)
(Hielo 1)
############
####..-#####
#..4.#...###
#...##..m.##
#.1.#-....##
###---#..###
############
(Hielo 2?)
############
#####..#####
#..4#---.###
#...#-##..##
#.1---.#.m##
#####..#####
############
#&&&&&&##
#......&#
##_#....#
#&h&#.&.#
#.am#-.-#
#..&&&.##
#...2..##
#.3....##
##...####
#########
#&&&&&&##
#......&#
##_#....#
#&h&##..#
#.am#&&-#
#..&&...#
#...2...#
#.3....##
##...####
#########
(Nivel algo pero compacto)
#########
###m#####
#.!a##2.#
#.&._h.3#
#..-a...#
###...###
#########
(Nivel algo)
##########
###m######
#.!a######
#.#..#...#
#.##._h..#
#...-a..3#
####..2..#
####...###
##########
(Una puta mierda)
##########
#.....####
#..m!.####
##.2...###
##..#.a###
#####5..##
####....##
####..3###
#####..###
##########
(Testeos setiles)
............
....4.......
...h...a....
..1..t......
........#&..
........&...
...&........
............
............
(Testeos sheeesh)
............
...*...._...
..4..-......
............
.....--.....
...1.--.....
............
............
............
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment