Skip to content

Instantly share code, notes, and snippets.

@TheRealLindFate
Created June 7, 2023 00:44
Show Gist options
  • Save TheRealLindFate/3a8b081426c890941519c02bc1bb6038 to your computer and use it in GitHub Desktop.
Save TheRealLindFate/3a8b081426c890941519c02bc1bb6038 to your computer and use it in GitHub Desktop.
Text Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Text Pushing Game
author LindFate
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
Target
darkblue
.....
.000.
.0.0.
.000.
.....
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
black orange white blue
.000.
.111.
22222
.333.
.3.3.
Crate
orange
00000
0...0
0...0
0...0
00000
text
black
.....
.....
.....
.....
.....
textA
black
..0..
.0.0.
00000
0...0
0...0
textB
black
000..
0..0.
000..
0..0.
0000.
textC
black
.000.
0....
0....
0....
.000.
textD
black
0000.
0...0
0...0
0...0
0000.
textE
black
00000
0....
0000.
0....
00000
textF
black
00000
0....
0000.
0....
0....
textG
black
.000.
0....
0..00
0...0
.0000
textH
black
0...0
0...0
00000
0...0
0...0
textI
black
00000
..0..
..0..
..0..
00000
textJ
black
.0000
....0
....0
0...0
.000.
textK
black
0...0
0..0.
000..
0..0.
0...0
textL
black
0....
0....
0....
0....
00000
textM
black
0...0
00.00
0.0.0
0...0
0...0
textN
black
00..0
00..0
0.0.0
0..00
0..00
textO
black
.000.
0...0
0...0
0...0
.000.
textP
black
0000.
0...0
0000.
0....
0....
textQ
black
.000.
0...0
0.0.0
0..00
.0000
textR
black
0000.
0...0
0000.
0.00.
0..00
textS
black
.000.
0....
.000.
....0
.000.
textT
black
00000
..0..
..0..
..0..
..0..
textU
black
0...0
0...0
0...0
0...0
.000.
textV
black
0...0
0...0
.0.0.
.0.0.
..0..
textW
black
0...0
0...0
0...0
0.0.0
.0.0.
textX
black
0...0
.0.0.
..0..
.0.0.
0...0
textY
black
0...0
.0.0.
..0..
..0..
..0..
textZ
black
00000
...0.
..0..
.0...
00000
ק
yellow
00000
00000
0....
0....
0....
black darkgray gray
..2.2
..111
00111
0000.
0..0.
𝞹
white blue
.....
.....
00000
.111.
.1.1.
Beam
darkblue blue lightblue
.....
.011.
11221
.011.
.....
Light
lightgray gray yellow
.222.
22222
.222.
.111.
.000.
Egg
white lightgray
..0..
.100.
11110
11111
.111.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
⧈ = Target
(With the help of https://shapecatcher.com/ I could replace some of these letters!)
a = textA
b = textB
c = textC
d = textD
e = textE
f = textF
g = textG
h = textH
i = textI
j = textJ
k = textK
l = textL
m = textM
n = textN
o = textO
р = textP
q = textQ
r = textR
s = textS
t = textT
u = textU
ⴸ = textV
w = textW
x = textX
y = textY
z = textZ
=======
SOUNDS
=======
ק action 58432500
Ꝍ action 71604708
Crate move 36772507
Player move 83407307
Player cantmove 57464707
(Why not give unique sounds to all the letters?)
textA move 39538707
textB move 98074707
textC move 65692707
textD move 71890107
textE move 95296307
textF move 26455907
textG move 40431907
textH move 68942507
textI move 97289907
textJ move 45015307
textK move 46017707
textL move 30374907
textM move 21306907
textN move 69170307
textO move 95432707
textP move 18472907
textQ move 54664507
textR move 63681307
textS move 76039307
textT move 82782307
textU move 80837307
textV move 55465107
textW move 85592707
textX move 65980707
textY move 32491307
textZ move 70892307
================
COLLISIONLAYERS
================
Background
Target, text, ק, Ꝍ, 𝞹, Light
Player, Wall, Crate, a, b, c, d ,e ,f ,g, h, i, j, k, l, m, n, o, р, q, r, s, t, u, ⴸ, w, x, y, z, beam, egg
======
RULES
======
[ Beam ] -> [ > Beam ]
[ > Player | 𝞹 ] -> [ Player | ]
[ > Player | Crate ] -> [ > Player | > Crate ]
(I don't wanna need to repeat this over and over ⍨)
[ > Player | a ] -> [ > Player | > a ]
[ > Player | b ] -> [ > Player | > b ]
[ > Player | c ] -> [ > Player | > c ]
[ > Player | d ] -> [ > Player | > d ]
[ > Player | e ] -> [ > Player | > e ]
[ > Player | f ] -> [ > Player | > f ]
[ > Player | g ] -> [ > Player | > g ]
[ > Player | h ] -> [ > Player | > h ]
[ > Player | i ] -> [ > Player | > i ]
[ > Player | j ] -> [ > Player | > j ]
[ > Player | k ] -> [ > Player | > k ]
[ > Player | l ] -> [ > Player | > l ]
[ > Player | m ] -> [ > Player | > m ]
[ > Player | n ] -> [ > Player | > n ]
[ > Player | o ] -> [ > Player | > o ]
[ > Player | р ] -> [ > Player | > р ]
[ > Player | q ] -> [ > Player | > q ]
[ > Player | r ] -> [ > Player | > r ]
[ > Player | s ] -> [ > Player | > s ]
[ > Player | t ] -> [ > Player | > t ]
[ > Player | u ] -> [ > Player | > u ]
[ > Player | ⴸ ] -> [ > Player | > ⴸ ]
[ > Player | w ] -> [ > Player | > w ]
[ > Player | x ] -> [ > Player | > x ]
[ > Player | y ] -> [ > Player | > y ]
[ > Player | z ] -> [ > Player | > z ]
(Das all da letters!)
(transform!)
down right [ w | i | n ] -> [ | ק | ]
down right [ c | a | t ] -> [ | Ꝍ | ]
down right [ р | l | a | y | e | r ] -> [ | | player | | | ]
down right [ c | r | a | t | e ] -> [ | | Crate | | ]
down right [ b | o | x ] -> [ | Crate | ]
down right [ a | i | r ] -> [ | | ]
down right [ w | e | a | r ] -> [ | 𝞹 | | ]
down right [ c | l | o | a | t | h | s ] -> [ | | | 𝞹 | | | ]
down right [ w | a | l | l | s ] -> [ Wall | Wall | Wall | Wall | Wall ]
down right [ w | a | l | l ] -> [ | Wall | | ]
down right [ b | e | a | m ] -> [ | Beam | | ]
down right [ l | a | z | e | r ] -> [ Beam | Beam | Beam | Beam | Beam ]
down right [ l | i | g | h | t ] -> [ | | Light | | ]
down right [ o | n ] -> [ light | ]
down right [ e | g | g ] -> [ | egg | ] (egg)
==============
WINCONDITIONS
==============
some Player on ק
=======
LEVELS
=======
..###..
..#⧈###
..#*..#
..#P#.#
#####.#
#wi.n.#
#######
.###.....
##ק######
#⧈bo.x..#
###P###.#
..#.....#
..#######
##############
#...#wal.s...#
#.ip....l..*.#
###⧈#n#...####
..#########...
......bo.n........e
c.te.g..x..р......g
.a..g......l.ight..
....p.....aa......g
..........iy....c..
..l.s....b.eam..r..
wa.l..wea.r.....a..
...a.........ca.t..
....z.the.end......
...e............e..
...r.cloath.s......
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment