Skip to content

Instantly share code, notes, and snippets.

@quantumpotato
Created November 4, 2024 05:02
Show Gist options
  • Select an option

  • Save quantumpotato/ef30106cbf3dfbfe4cf5cc3e57e1db7a to your computer and use it in GitHub Desktop.

Select an option

Save quantumpotato/ef30106cbf3dfbfe4cf5cc3e57e1db7a to your computer and use it in GitHub Desktop.
Glacier Cracking (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
title Glacier Cracking
author quantumpotato
homepage auroriax.github.io/PuzzleScript
tween_length 0.03
smoothscreen 15x15
level_select
runtime_metadata_twiddling
text_controls smash all glaciers
========
OBJECTS
========
Background
WHITE LIGHTBLUE
00100
01010
10101
01010
00100
Wall copy:Background
DARKGRAY BLACK
Goal
Orange transparent grey
10101
00000
02220
02220
02220
Player
Grey transparent
11011
00000
10001
10001
10101
Ice
Lightblue Blue
10000
01010
10101
01010
00001
Water
Blue
Flood
Darkblue
=======
LEGEND
=======
. = Background
# = Wall
@ = Player
G = Goal
I = Ice
W = Water
F = Flood
obstacle=ice or wall
flow=ice or water
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Ice
Goal
Water, Flood
Player, Wall
======
RULES
======
[ > Player | Goal ] -> [ | Player Goal]
[ > Player | Water ] -> [ Player | Water ]
[ > Player | Ice ] -> [ Player < Flood | Water ]
[ > Flood Player | Water | no Water no Wall no Ice] -> [ Water | Water | Player]
+[ > Flood Player | no Water no Wall no Ice] -> [ Water | > Flood Player]
+[ > Flood Player | Water | Water | no Water no Wall no Ice ] -> [ Water | Water | Water | Player ]
+[ > Flood Player | Water | Water ] -> [ Water | Water | > Flood Player]
+ [> Flood Player | Water | Ice ] -> [ Water | Water Player | Ice ]
+ [> Flood Player | Water | Wall ] -> [ Water | Water Player | Wall ]
[ > Flood | Wall ] -> [ Water | Wall ]
[ > Flood | Ice ] -> [ Flood | Ice ]
[ > Flood | no Water no Ice ] -> [ Water | > Flood]
[ Water Goal ] -> [ Water ]
[ Flood ] -> [ Water ]
[action Player] -> background_color #222222
==============
WINCONDITIONS
==============
all Player on Goal
no Ice
=======
LEVELS
=======
section 1
########
#......#
#....G.#
#......#
WWWWWWWW
#......#
#.@....#
#......#
#.II...#
#......#
########
section 2
########
#......#
#.G...I#
#......#
WWWWWWWW
#......#
#.@....#
#......#
#.I....#
#......#
########
section 3
........
#I.....#
#.G.@..#
.......#
......I#
......I#
......##
.......#
#......#
########
section 4
#########
#....G#.#
#I......#
#...@..I#
#.......#
#.......#
#.......#
#.......#
#.......#
#I......#
#W####I.#
#.....W.#
#...I..I#
#########
section 5
....W......
....I.G....
...........
WI.........
WI.........
WI.........
...@.......
......III..
......WWW..
WWWWWWWWWWW
...........
...........
section 6
########
#I.W.W.#
#.GW.W.#
#......#
#..I...#
#.I....#
#......#
#.W@...#
#.W.I..#
#.....I#
########
section 7
###########
#....I....#
#WWW......#
#G..I.....#
#.I@..I...#
#.I...I...#
#...I.....#
WWWWWWWWWWW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment