-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.js
47 lines (42 loc) · 1.05 KB
/
config.js
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
const config = {
global: {
repoUrl: 'https://github.com/mlknz/Dungeonizer.js'
},
generationMode: {
withWalls: true,
isDebug: false
},
dungeonParams: {
roomSizeDistribution: 'normal',
dungeonSize: 10,
roomSizeMean: 9,
roomSizeDeviation: 0.75,
mainRoomThreshold: 1.1,
connectivity: 0.7,
density: 0.6,
fromDungeonId: false,
dungeonId: ''
},
camera: {
cameraPos: [-90, 110, 50],
near: 1,
far: 1400,
walkerNear: 0.005,
walkerFar: 100
},
visParams: {
floorHeight: 1,
tunnelHeight: 1,
wallHeight: 4,
floorTunnelColor: [1, 1, 1],
wallColor: [0.6, 0.6, 0.6],
mainFloorDebugColor: [0.6, 0.1, 0.1],
attachedFloorDebugColor: [0.1, 0.4, 0.04],
trashFloorDebugColor: [0.3, 0.3, 0.3],
trashFloorY: -0.9,
tunnelDebugHeight: 1.2,
tunnelDebugColor: [0.7, 0.7, 0.7],
joystickReturnSpeed: 15
}
};
export default config;