This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
more-design.txt
49 lines (49 loc) · 3.09 KB
/
more-design.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
NOTES ON REGIONAL MAP GENERATION:
Part 1: Outer structures
-Create the outer structures that can't be passed through (walls, steep slopes, etc.)
-Ensure that there is a path from the first area all the way to the last area
#############################################################################
#...........................................................................#
#...........................................................................#
#...........................................................................#
#...........................................................................#
#...............................................PPPPPPPPP...................#
#.......TTTTT...................................P.......P...................#
#.......T...T...................................P.......PPPPPPPP............#
#.......T...TTTTTTTTTTTTTTTTTT..................P..............P............#
#.......T....................T..................PPPPPPPPPP.....P............#
#.......T.P..................T...........................P.....P............#
#.......T....................T...........................P.....P............#
#.......T...TTTTTTTTTTTT.....T...........................P.....P............#
#.......T...T..........T.....T...........................P.....P............#
#.......TTTTT..........T.....T...........................P.....P............#
#...................CCTT.....TTCC........................P.....P....PPPPP...#
#...................CCC.......CC.........................PP...PP....PXITP...#
#.................CCCC.......CCC..........................P...P......P.P....#
#................CC.........CC...........................P...P.......P.P....#
#..............CCC........CCC...........................P...P.......P.P.....#
#............CCC.........CC..............................P...PPP...P.P......#
#...........CC..........CC................................P.....PPP.P.......#
#...........C..........CC..................................P........P.......#
#MMMMMMMMMMCC..........CCMM.................................PPPPPPPPP.......#
#MMMMMMMMMMM............MMMM................................................#
#MMMMMMMMMM..............MMMMMM.............................................#
#MMMMMMMMM................MMMMMMMM..........................................#
#MMMMMMMM................MMMMMMMMMM.........................................#
#MMMMMM......landing....MMMMMMMMMM..........................................#
#MMMMMMMM.....zone......MMMMMMMMM...........................................#
#MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM............................................#
#############################################################################
-Refine regions until there is a path from beginning to end
PART 2: Rooms
-create a graph of the rooms
#####################
# R1 -> R2-> R3 #
# ^ | #
# \ V #
# R4 #
# / #
# v #
# R5 -> R6 #
#####################
-Ensure the layout of the rooms allows a path from and to each (no walls at the entrances/exits (ie. start '(30 50) end '(40 50) for entrance/exit))