-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (51 loc) · 1.82 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
<!doctype html>
<html>
<head>
<title>My first game!</title>
<style>
@font-face {
font-family: 'hbc';
src: url('assets/Hbc.ttf') format('truetype');
/* Update the path accordingly */
font-weight: normal;
font-style: normal;
}
body {
font-family: 'hbc', sans-serif;
}
.bottom-right-text {
text-align: right;
position: fixed;
bottom: 10px;
right: 10px;
color: #0303036e;
/* Text color */
}
</style>
<script src="lib/phaser.min.js"></script>
<!--L'ordine è importante, va prima inizializzato phaser e poi la nostra versione custom-->
<script src="lib/poliphaser.js"></script>
<!--Scene vanno messe prima del main-->
<script src="src/scenes/menu.js" type="module"></script>
<script src="src/scenes/storia.js" type="module"></script>
<script src="src/scenes/scene1.js" type="module"></script>
<script src="src/scenes/scene2.js" type="module"></script>
<script src="src/scenes/scene3.js" type="module"></script>
<script src="src/scenes/death.js" type="module"></script>
<script src="src/scenes/credits.js" type="module"></script>
<script src="src/player.js"></script>
<script src="src/platform.js"></script>
<script src="src/mushroom.js"></script>
<script src="src/rain.js"></script>
<script src="src/egg.js"></script>
<script defer src="src/main.js"></script> <!--defer fa si che si carichi solo dopo che ha caricato tutto il resto-->
</head>
<body>
<div id="game_area" style="text-align: center;"></div>
<!-- PROVA -->
<div class="bottom-right-text">
Alessandro Magnocavallo <br>
Student @ Design della Comunicazione - Politecnico
</div>
</body>
</html>