Created
September 6, 2020 23:03
-
-
Save thacuber2a03/1ff4240ce9fe3bdff49532efeecacb88 to your computer and use it in GitHub Desktop.
procedural generation dungeon (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 procedural generation dungeon | |
author Tha Cuber | |
homepage thacuber.itch.io | |
run_rules_on_level_start | |
======== | |
OBJECTS | |
======== | |
PlayerD | |
blue black lightbrown brown | |
.333. | |
.222. | |
00000 | |
.000. | |
.1.1. | |
PlayerU | |
blue black brown | |
.222. | |
.222. | |
00000 | |
.000. | |
.1.1. | |
PlayerR | |
blue black lightbrown brown | |
.333. | |
.322. | |
.000. | |
.000. | |
..1.. | |
PlayerL | |
blue black lightbrown brown | |
.333. | |
.223. | |
.000. | |
.000. | |
..1.. | |
Walls | |
gray darkgray lightgray | |
11110 | |
10002 | |
10002 | |
10002 | |
02222 | |
Floor | |
gray | |
Floor2 | |
gray darkgray | |
00010 | |
01000 | |
00001 | |
10000 | |
00100 | |
RandomObject | |
red | |
======= | |
LEGEND | |
======= | |
P = PlayerD | |
. = Floor | |
F = Floor2 | |
W = Walls | |
R = RandomObject | |
Player = PlayerD or PlayerR or PlayerU or PlayerL | |
Object = Floor or Floor2 or Walls | |
Background = Floor | |
======= | |
SOUNDS | |
======= | |
Player move 39105507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Floor2, RandomObject | |
Walls, Player | |
====== | |
RULES | |
====== | |
[ RandomObject ] -> [ random Object ] | |
right [ > Player ] -> [ > PlayerR ] | |
left [ > Player ] -> [ > PlayerL ] | |
up [ > Player ] -> [ > PlayerU ] | |
down [ > Player ] -> [ > PlayerD ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
rrrrrrrrrrrrrr | |
rrrrrrrrrrrrrr | |
rrrrrrrrrrrrrr | |
rrrrrrrrrrrrrr | |
rrrrrrrrrrrrrr | |
..rrrrrrrrrrrr | |
P.rrrrrrrrrrrr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment