-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (62 loc) · 1.66 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Phaser 3 Template</title>
<style>
html,
body,
#game-container {
margin: 0;
padding: 0;
}
body {
background: rgb(71, 146, 112);
background: linear-gradient(
180deg,
rgba(71, 146, 112, 1) 0%,
rgba(209, 222, 143, 1) 25%,
rgba(209, 222, 143, 1) 66%,
rgba(193, 142, 89, 1) 67%,
rgba(193, 142, 89, 1) 95%,
rgba(146, 71, 71, 1) 100%
);
/*
background: rgb(133, 169, 135);
background: linear-gradient(
rgba(133, 169, 135, 1) 66%,
rgba(181, 136, 59, 1) 66%
);
background: rgb(74, 20, 57);
background: linear-gradient(
180deg,
rgba(74, 20, 57, 1) 0%,
rgba(146, 71, 71, 1) 11%,
rgba(133, 169, 135, 1) 25%,
rgba(133, 169, 135, 1) 66%,
rgba(181, 136, 59, 1) 67%,
rgba(181, 136, 59, 1) 93%,
rgba(145, 112, 74, 1) 100%
);*/
}
#game-container {
min-width: 100vw;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
#game-container > canvas {
border-radius: 5px;
}
</style>
</head>
<body>
<div id="game-container"></div>
<script src="js/SceneMainMenu.js"></script>
<script src="js/SceneMain.js"></script>
<script src="./index.js"></script>
</body>
</html>