Created
October 11, 2020 00:35
-
-
Save octoConnors/0e495d1093778ba7d924eb2a50d7a7d4 to your computer and use it in GitHub Desktop.
more fixed maze gen (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 more fixed maze gen | |
again_interval 0 | |
key_repeat_interval 0.07 | |
run_rules_on_level_start | |
======== | |
OBJECTS | |
======== | |
player | |
blue | |
wall | |
brown | |
background | |
black | |
cell | |
transparent | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
go | |
transparent | |
stop | |
transparent | |
======= | |
LEGEND | |
======= | |
p = player | |
# = wall | |
. = background | |
c = cell and stop | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
background | |
player, wall | |
cell | |
go | |
stop | |
====== | |
RULES | |
====== | |
startloop | |
random [cell no wall no go |wall|wall] -> [stop no wall|no wall |stop cell no wall go] | |
random [cell no wall no go |wall|wall] -> [stop no wall|no wall |stop cell no wall go] | |
random [cell no wall no go |wall|wall] -> [stop no wall|no wall |stop cell no wall go] | |
random [cell no wall no go |wall|wall] -> [stop no wall|no wall |stop cell no wall go] | |
random [cell no go] [stop no wall|wall|wall] -> [ ] [stop|no wall|no wall stop cell] | |
[go]->[ ] | |
endloop | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
#############p############# | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
#############c############# | |
#############.############# | |
#############.############# | |
#############.############# | |
#########c.......c######### | |
#############.############# | |
#############.############# | |
#############.############# | |
#############c############# | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
########################### | |
#############.############# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment