Skip to content

Instantly share code, notes, and snippets.

@lyudenn
Created September 16, 2019 21:16
Show Gist options
  • Select an option

  • Save lyudenn/cf0ce2c2567114897c2745650f4ced6c to your computer and use it in GitHub Desktop.

Select an option

Save lyudenn/cf0ce2c2567114897c2745650f4ced6c to your computer and use it in GitHub Desktop.
Miner Guy (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Miner Guy
author Dennis M
homepage www.puzzlescript.net
========
OBJECTS
========
Background
DarkBrown
00000
00000
00000
00000
00000
Not_Just_Pressed
transparent
CheckpointMarker
#333333 #232323
00000
01010
00100
01010
00000
Button
Red DarkRed LightGrey
11111
11111
11011
11111
11111
Point1
whiteRed#333333
0...0
.111.
.121.
.111.
0...0
Point2
white#333333 lightgray
0...0
.222.
.212.
.222.
0...0
Pressed
Redwhite
00000
00000
00100
00000
00000
Diamond
lightblue
.000.
.000.
.000.
.000.
.000.
Rock
BROWNBlack
00000
01110
00010
00110
00000
Player
BlueYellowRedPink
.000.
.333.
22222
21112
.0.0.
Cristal
white
.....
00000
.000.
..0..
.....
Topacio
Red lightgray
.....
01110
00000
00000
.....
Door
whiteblack
00000
00000
00100
00000
00000
=======
LEGEND
=======
Pr= Pressed
A = Diamond
R = Point2
D = Door and CheckpointMarker
N = Topacio
. = Background
# = Rock
P = Player
* = Cristal
O = Point1
B = Button and Not_Just_Pressed
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Not_Just_Pressed
Background
Point1, Point2
Button
Pressed
Rock, CheckpointMarker
Player, Cristal, Door, Topacio, Diamond
======
RULES
======
[ > Player | Cristal ] -> [ > Player | > Cristal ]
[ > Player | Topacio ] -> [ > Player | > Topacio ]
==============
WINCONDITIONS
==============
no Diamond
=======
LEVELS
...############
...#..........#
...#..r.*.....#
.a.#..........#
...d.......p..#
...#..o.n.....#
...#..........#
...#..........#
...############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment