Skip to content

Instantly share code, notes, and snippets.

@quantumpotato
Created November 4, 2024 04:32
Show Gist options
  • Select an option

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

Select an option

Save quantumpotato/4d3ef5834640aa61ce7f309875c8f9b2 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
Player
Grey
Ice
Lightblue
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]
[ 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
########
#I.W.W.#
#.GW.W.#
#......#
#..I...#
#.I....#
#......#
#.W@...#
#.W.I..#
#.....I#
########
section 5shit
###########
#....I....#
#WWW......#
#G..I.....#
#[email protected]...#
#.I...I...#
#...I.....#
WWWWWWWWWWW
section 5
....W......
....I.G....
...........
WI.........
WI.........
WI.........
...@.......
......III..
......WWW..
WWWWWWWWWWW
...........
...........
section 6
#########
#....G#.#
#I......#
#[email protected]#
#.......#
#.......#
#.......#
#.......#
#.......#
#I......#
#W####I.#
#.....W.#
#...I..I#
#########
section goalkill?
....W......
......G....
...........
...........
......I....
...........
...@.......
...........
...........
...........
..I..I.I...
...........
section ref
....W......
....I.G....
...........
WI.........
WI.........
WI.........
...@.......
......III..
......WWW..
WWWWWWWWWWW
...........
...........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment