Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Last active December 30, 2023 12:03
Show Gist options
  • Save jcmiller11/c56074869805ccb36a7a0364ac62ae7e to your computer and use it in GitHub Desktop.
Save jcmiller11/c56074869805ccb36a7a0364ac62ae7e to your computer and use it in GitHub Desktop.
Clickable Block Pushing Game (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
title Clickable Block Pushing Game
author jc
homepage www.puzzlescript.net
mouse_left Click
mouse_drag Drag
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
Crate
Orange
00000
0...0
0...0
0...0
00000
CanReach
Red
Click
transparent
Drag
transparent
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
BlocksMovement = Wall or Crate
=======
SOUNDS
=======
Crate MOVE 36772507
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
CanReach
Click
Drag
======
RULES
======
[Click no BlocksMovement] -> [Click CanReach]
[CanReach | no BlocksMovement] -> [CanReach | CanReach]
[Player CanReach] [Click] -> [] [Player]
[CanReach] -> []
[Player|Drag] -> [> Player|]
[Player|Crate Click] -> [> Player | Crate]
[Click] -> []
[ > Player | Crate ] -> [ > Player | > Crate ]
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
####..
#.O#..
#..###
#@P..#
#..*.#
#..###
####..
######
#....#
#.#P.#
#.*@.#
#.O@.#
#....#
######
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment