Skip to content

Instantly share code, notes, and snippets.

@increpare
Created April 22, 2024 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save increpare/601cfd8f5923894b6f15e51baadf1ee0 to your computer and use it in GitHub Desktop.
Save increpare/601cfd8f5923894b6f15e51baadf1ee0 to your computer and use it in GitHub Desktop.
Unsolving the Problem (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Unsolving the Problem
author The Great Webbook of Block Pushing Games
homepage https://stingby12.itch.io/the-great-webbook-of-block-pushing-games
background_color white
text_color black
run_rules_on_level_start
again_interval 0.1
========
OBJECTS
========
Background
#BB76E5
Tile1
#B270DA
Tile2
#B673DF
Tile3
#BB76E5
Tile4
#BC79E5
Tile5
#BE7CE6
Target
#E4D9CD
.....
.000.
.0.0.
.000.
.....
Wall
#5B9BDD
WallTile1
#5794D3
WallTile2
#5997D8
WallTile3
#5B9BDD
WallTile4
#5E9DDD
WallTile5
#629FDE
Player
#4D2310
.0.0.
.000.
00000
.000.
.000.
Crate
#1476CE
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
Tile = Tile1 or Tile2 or Tile3 or Tile4 or Tile5
WallTile = WallTile1 or WallTile2 or WallTile3 or WallTile4 or WallTile5
=======
SOUNDS
=======
Player move 89037907
Crate move 36772507
startgame 92244503
endlevel 65328703
undo 18243307
restart 87258706
sfx10 90517100
================
COLLISIONLAYERS
================
Background
Tile
Target
Player, Wall, Crate
WallTile
======
RULES
======
[ no Tile ] -> [ random Tile ]
[ Wall no WallTile ] -> [ Wall random WallTile ] checkpoint
[ > Player | Crate ] -> [ > Player | > Crate ]
[ action Player ] -> checkpoint sfx10
==============
WINCONDITIONS
==============
no Target on Crate
=======
LEVELS
=======
###########################
######.@.@.@.###.........##
###ooo..@.@..oo#.#@#@#@#.##
###o##.@.@.@.#o#.@ooooo@.##
###o###.@.@.##oo.#o#o#o#.##
###o###.....####.@ooooo@.##
#..@..#o########.#@#@#@#.##
#.@o@.#o.......#.........##
#@ooo@##.......#o##########
#.@o@.##..@.p..#o##########
#..@..##.......#ooooooo####
########.......#####ooo####
#########o#########.***.###
#oo..oo##o#.@.#oooo*ooo*oo#
#o@@@@oooo#.@.oo#oo*o@o*oo#
#.@..@.####o@o###oo*ooo*oo#
#.@..@.####o@o#####.***.###
#oo@@@o##oo.@.######ooo####
#oo..oo.oo#.@.######ooo####
###########################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment