Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created December 14, 2024 01:18
Show Gist options
  • Save jcmiller11/a0c97f2c8e748e9b77e8dfd7b6772c4c to your computer and use it in GitHub Desktop.
Save jcmiller11/a0c97f2c8e748e9b77e8dfd7b6772c4c to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
title Simple Block Pushing Game w/ D-pad
author jc
homepage www.puzzlescript.net
mouse_left Click
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Void
black
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
L
red darkgrey black
21101
11011
10000
11011
21101
R
red darkgrey black
10112
11011
00001
11011
10112
U
red darkgrey black
21112
11011
10001
01010
11011
D
red darkgrey black
11011
01010
10001
11011
21112
Click
transparent
=======
LEGEND
=======
. = Background
, = void
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
dpad = L or R or U or D
=======
SOUNDS
=======
Crate MOVE 36772507
================
COLLISIONLAYERS
================
Background
Void
Target
Player, Wall, Crate
dpad
Click
======
RULES
======
[L Click] [Player] -> [L] [LEFT Player]
[R Click] [Player] -> [R] [RIGHT Player]
[U Click] [Player] -> [U] [UP Player]
[D Click] [Player] -> [D] [DOWN Player]
[ > Player | Crate ] -> [ > Player | > Crate ]
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
####..,,,
#.O#..,,,
#..###,U,
#@P..#L,R
#..*.#,D,
#..###,,,
####..,,,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment