Skip to content

Instantly share code, notes, and snippets.

@thacuber2a03
Created December 2, 2024 13:41
Show Gist options
  • Select an option

  • Save thacuber2a03/e3df991821bd5f0610ceddcd45ccc5e9 to your computer and use it in GitHub Desktop.

Select an option

Save thacuber2a03/e3df991821bd5f0610ceddcd45ccc5e9 to your computer and use it in GitHub Desktop.
longcat (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
title longcat
author editmouse
level_select
again_interval 0.1
========
OBJECTS
========
Background .
lightgreen green
11111
01111
11101
11111
10111
Wall #
brown darkbrown
00010
11111
01000
11111
00010
Player P
white black
01010
01010
00000
10101
01010
Body
white
Crate *
brown lightbrown
00000
01110
01010
01110
00000
Water W
lightblue blue
11111
01111
11101
11111
10111
Robot R
darkgray gray
00000
01110
01010
01110
00000
Metal
gray
Sand S
orange yellow
11111
01111
11101
11111
10111
Void V
white black
11111
01111
11101
11111
10111
Slash /
brown
...00
..000
.000.
000..
00...
Backslash \
brown
00...
000..
.000.
..000
...00
SlashPop
gray
.000.
00000
00000
00000
.000.
Movable
transparent
Trapped
transparent
Portal ?
purple
.000.
00000
00000
00000
.000.
=======
LEGEND
=======
Lifelike=Player or Robot
Solid=Lifelike or Wall or Body or Crate or Metal or Water
Something=Solid or Void
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Movable
Trapped
Water Sand Void Slash Backslash Portal
Player Wall Body Crate Robot Metal
SlashPop
======
RULES
======
[SlashPop] -> [] again
[Player|no Wall no Body]->[Player Movable|]
[Movable|]->[Movable|Movable]
[Player no Movable]->message Z to undo, R to restart
[Movable]->[]
[> Player no Trapped no Portal|Water]->[Body|Body]
+[> Crate no Trapped no Portal|Water]->[|]
+[> Robot no Trapped no Portal|Water]->[Metal|Metal]
+[right Solid stationary Slash]->[up Solid action Slash SlashPop] again
+[down Solid stationary Slash]->[left Solid action Slash SlashPop] again
+[left Solid stationary Slash]->[down Solid action Slash SlashPop] again
+[up Solid stationary Slash]->[right Solid action Slash SlashPop] again
+[right Solid stationary Backslash]->[down Solid action Backslash SlashPop] again
+[down Solid stationary Backslash]->[right Solid action Backslash SlashPop] again
+[left Solid stationary Backslash]->[up Solid action Backslash SlashPop] again
+[up Solid stationary Backslash]->[left Solid action Backslash SlashPop] again
+[Crate action Slash]->[Crate Slash SlashPop] again
+[Crate action Backslash]->[Crate Backslash SlashPop] again
+[> Player Portal][Portal no Solid]->[Body][> Player]
+[> Crate Portal][stationary Portal no Solid]->[action Portal][> Crate Portal]
+[> Robot Portal][Portal no Solid]->[Metal][> Robot]
+[> Player no Sand no Trapped no Portal|no Solid]->[Body|> Player]
+[> Player no Sand no Trapped no Portal|Crate no Slash no Backslash no Portal|no Solid]->[Body|> Player|> Crate]
+[> Solid no Crate Sand]->[Solid]
+[> Player no Trapped no Portal|Robot no Trapped]->[Player no Slash no Backslash|> Robot]
+[> Robot no Sand no Trapped no Portal|no Solid]->[Metal|> Robot]
+[> Robot no Sand no Trapped no Portal|Crate no Slash no Backslash no Portal|no Solid]->[Metal|> Robot|> Crate]
+[no Lifelike|> Crate no Trapped|no Solid]->[||Crate]
[> Solid]->[Solid]
late[Solid Slash]->[Solid Slash Trapped]
late[Solid Backslash]->[Solid Backslash Trapped]
late[Lifelike Portal]->[Lifelike]
late[Solid Void]->[Void]
==============
WINCONDITIONS
==============
all Background on Something
=======
LEVELS
=======
message the game is very much open for suggestions :3
section 1
######
#..###
#..###
#.p..#
#....#
#....#
######
section 2
######
#....#
#.#p.#
#....#
#....#
#....#
######
section 3
######
#....#
#.p..#
#....#
#...*#
#....#
######
section 4
######
#...w#
#.p..#
#....#
#...*#
#....#
######
section 5
######
#p...#
#..w.#
#....#
#....#
#....#
######
section 6
######
#....#
#.p..#
#..r.#
#....#
#...##
######
section 7
######
#w...#
#.p*.#
#..r.#
#....#
#...##
######
section 8
######
#....#
#...r#
#..*.#
#..w.#
#p...#
######
section 9
######
#ssww#
#wsss#
#ssss#
#sssw#
#...p#
######
section 10
######
#....#
#.p..#
#...r#
#.v..#
#w...#
######
section 11
######
#../.#
#.p..#
#....#
#....#
#....#
######
section 12
######
#....#
#.p..#
#.//.#
#...\#
#....#
######
section 13
######
#....#
#.p..#
#../.#
#..\.#
#....#
######
section 14
######
#/..\#
#.p..#
#....#
#.*..#
#\../#
######
section 15
######
#/..\#
#.p..#
#....#
#.r..#
#\../#
######
section 16
######
#....#
#.p.*#
#..p.#
#....#
#.w..#
######
section 17
######
#....#
#.p.r#
#..p.#
#....#
#.w..#
######
section 18
######
#?...#
#.p..#
#....#
#....#
#...?#
######
section 19
######
#?...#
#.p..#
#....#
#.*..#
#..?.#
######
section 20
######
#.r..#
#....#
#..r.#
#.?.p#
#...?#
######
message meow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment