Created
October 10, 2021 11:28
-
-
Save sftrabbit/a33ee7b80e19d116bf75105a7fd0529b to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Simple Block Pushing Game | |
author David Skinner | |
homepage www.puzzlescript.net | |
again_interval 0.06 | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGREEN GREEN | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Ice | |
LightBlue | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Marker_SlideU | |
transparent | |
Marker_SlideR | |
transparent | |
Marker_SlideD | |
transparent | |
Marker_SlideL | |
transparent | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
O = Ice | |
Marker_Slide = Marker_SlideU or Marker_SlideR or Marker_SlideD or Marker_SlideL | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Ice | |
Player, Wall | |
Marker_Slide | |
====== | |
RULES | |
====== | |
UP [ Player Ice Marker_SlideU ] -> [ > Player Ice ] | |
RIGHT [ Player Ice Marker_SlideR ] -> [ > Player Ice ] | |
DOWN [ Player Ice Marker_SlideD ] -> [ > Player Ice ] | |
LEFT [ Player Ice Marker_SlideL ] -> [ > Player Ice ] | |
UP [ > Player | Ice ] -> [ > Player | Ice Marker_SlideU ] again | |
RIGHT [ > Player | Ice ] -> [ > Player | Ice Marker_SlideR ] again | |
DOWN [ > Player | Ice ] -> [ > Player | Ice Marker_SlideD ] again | |
LEFT [ > Player | Ice ] -> [ > Player | Ice Marker_SlideL ] again | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
########## | |
#........# | |
#.P..#...# | |
#....O.#.# | |
#.O.OOOOO# | |
#..OOOOOO# | |
#...OO.O.# | |
#.....O..# | |
#........# | |
########## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment