Skip to content

Instantly share code, notes, and snippets.

@quantumpotato
Created November 5, 2024 21:14
Show Gist options
  • Save quantumpotato/f39885f4db342e307b814d7e36a4a4ae to your computer and use it in GitHub Desktop.
Save quantumpotato/f39885f4db342e307b814d7e36a4a4ae to your computer and use it in GitHub Desktop.
Glacier Cracking (Puzzlescript Next Script)
Play this game by pasting the script into https://puzzlescriptnext.polyomino.com/editor.html
title Glacier Cracking
author quantumpotato
homepage auroriax.github.io/PuzzleScript
tween_length 0.07
again_interval 0.5
smoothscreen 25x25
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
flooding:directions
transparent
=======
LEGEND
=======
. = Background
# = Wall
@ = Player
G = Goal
I = Ice
W = Water
F = Flood
obstacle=ice or wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Ice
Goal
Water
Flood
Player Wall
flooding:directions
======
RULES
======
(start flood) [> player | ice] -> [player | flood flooding:<] again
(move player) [player flooding:>] -> [> player flooding:>]
(expand flood) [flood flooding:> | no obstacle] -> [flood | flood flooding:>] again
(finish flood) [flood flooding:> | obstacle] -> [flood|]
[ Water Goal ] -> [ Water ]
[action Player] -> background_color #222222
==============
WINCONDITIONS
==============
all Player on Goal
no Ice
=======
LEVELS
=======
section crossing
#######
#.....#
#...G.#
#.....#
WWWWWWW
#.....#
#@....#
#.....#
#II...#
#######
section puddle
########
#......#
#.G...I#
#......#
WWWWWWWW
#......#
#.@....#
#......#
#.I....#
#......#
########
section swept away
########
###I...#
#WG.@..#
#W.....#
#.....I#
#.....I#
#W.....#
#W.....#
#WWW...#
########
section bridge
#############
#W....I..I###
#WWWWW.....I#
#W..GW..@...#
#W...W.....I#
#W...W......#
#############
section stony lagoon
#########
#....G#.#
#I......#
#[email protected]#
#.......#
#.......#
#.......#
#.......#
#.......#
#I......#
#W####I.#
#.....W.#
#...I..I#
#########
section crossings
########
#I#G.W.#
#....W.#
#.#....I
#.I....#
#I.....#
#......#
#.W@...#
#.W.I..#
#.W#..I#
########
section mountain springs
#############
#....WWWWWWW#
#....I.G....#
#.......W...#
#WI.....W...#
#WI.........#
#WI.........#
#W..@.......#
#......III.W#
#......WWW.W#
#WWWWWWWWWWW#
#...........#
#...........#
#############
section bowl
###########
#.WWWW.WWW#
#.WG..I...#
#[email protected].#
#.W.I...I.#
#.W#..I...#
W.WWWWWWWWW
###########
message in development after this
section dv
###################
#.....I..I.II.....#
#.................#
#[email protected].#
#.................#
#......II....II...#
###################
section lake
#############
#....WWWWWWW#
#..I...I....#
#...........#
#...I.......#
#...I.G.....#
#...I.......#
#...@.......#
#.........WW#
#W....III...#
#I.........I#
#...........#
#..I........#
#############
section wading
################
#..I..I.II.....#
#..............#
#[email protected].#
#..............#
#...II....II...#
################
section funnel
########################
#..####G########.......#
#..####W########.......#
#..I.......I####.......#
#..I.......I####.......#
#.............###......#
#.....#......I@#.......#
#I.....I.......#.......#
########################
section skating
#################
#WWWWWWWWW......#
#..I.....W......#
#........I.######
#[email protected].....#
#I...I....I.....#
#........#..G...#
#..I...I.#......#
#################
(section ref2
########################
#......................#
#......................#
#......................#
#...........@..........#
#......................#
#......................#
#......................#
########################)
section laked
########################
#......................#
#......................#
#.....I.I..............#
#...I..G....@..........#
#...I.I.I..............#
#...I..................#
#......................#
########################
section lake
#############
#....WWWWWWW#
#..I...I....#
#...........#
#...I.......#
#...I.G.....#
#...I.......#
#...@.......#
#.........WW#
#W....III...#
#I.........I#
#...........#
#..I........#
#############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment