-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (48 loc) · 2.16 KB
/
index.html
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
50
51
52
53
<!DOCTYPE HTML>
<html lang="tr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dungeon Haritası</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="header">
<p id="title">Basitçe Dungeon haritası taslağı oluştur<span style="color:#14171A"> "Congrats u found a easter egg for nothing"</span></p>
</div>
<div class="page">
<div style="display: flex;flex-direction: column;"> <!--Canvas-->
<div id="view"></div>
<div id="generate">Oluştur</div>
</div>
<div class="settings"> <!--Settings-->
<span>Max oda boyutu: </span>
<input class="inp" type="range" value="24" min="1" max="64" oninput="this.nextElementSibling.value = this.value">
<output class="max">24</output>
<hr style="width: 100%;">
<span>Min oda boyutu: </span>
<input class="inp" type="range" value="4" min="1" max="64" oninput="this.nextElementSibling.value = this.value">
<output class="min">4</output>
<hr style="width: 100%;">
<span>Koridor genişliği: </span>
<input class="inp" type="range" value="1" min="1" max="3" oninput="this.nextElementSibling.value = this.value">
<output class="floor">1</output>
<hr style="width: 100%;">
<span>Max oda sayısı: </span>
<input class="inp" type="range" value="12" min="1" max="24" oninput="this.nextElementSibling.value = this.value">
<output class="room">12</output>
<hr style="width: 100%;">
<span>Mağara genişlik (X): </span>
<input class="inp" type="range" value="41" min="1" max="64" oninput="this.nextElementSibling.value = this.value">
<output class="Xaxis">41</output>
<hr style="width: 100%;">
<span>Mağara genişlik (Y): </span>
<input class="inp" type="range" value="64" min="1" max="64" oninput="this.nextElementSibling.value = this.value">
<output class="Yaxis">64</output>
</div>
</div>
</body>
<script type="text/javascript" src="./Js/dungeon-generator.js"></script>
<script type="text/javascript" src="./Js/app.js"></script>
</body>