-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
78 lines (61 loc) · 2.02 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
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
</head>
<style>
html, body
{
margin: 0;
padding: 0;
border: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
}
</style>
<body>
<div style="text-align:center">
<canvas id="webgl_canvas" width="864" height="512">
</div>
<audio id="sndJump" preload="auto">
<source src="jump.wav" type="audio/wav">
</audio>
<audio id="sndSkid" preload="auto">
<source src="skid.wav" type="audio/wav">
</audio>
<audio id="sndLand" preload="auto">
<source src="land.wav" type="audio/wav">
</audio>
<audio id="sndStep1" preload="auto">
<source src="step1.wav" type="audio/wav">
</audio>
<audio id="sndStep2" preload="auto">
<source src="step2.wav" type="audio/wav">
</audio>
<audio id="sndStep3" preload="auto">
<source src="step3.wav" type="audio/wav">
</audio>
<audio id="mscLevel" preload="auto" autoplay loop volume=0.5>
<source src="https://www.mariowiki.com/images/2/21/Super_Mario_Galaxy_2_Fluffy_Bluff_Galaxy_Music.oga" type="audio/ogg">
</audio>
</body>
<script type="text/javascript" src="glMatrix.js"></script>
<script type="text/javascript" src="gl.js"></script>
<script type="text/javascript" src="shader.js"></script>
<script type="text/javascript" src="main.js"></script>
<script type="text/javascript" src="collisionMesh.js"></script>
<script type="text/javascript" src="gravityMesh.js"></script>
<script type="text/javascript" src="objPlayer.js"></script>
<script type="text/javascript" src="modelPlayer.js"></script>
<script type="text/javascript" src="objSmoke.js"></script>
<script type="text/javascript" src="objCamera.js"></script>
<script type="text/javascript" src="objLaunchStar.js"></script>
<script type="text/javascript" src="planetTest.js"></script>
<script type="text/javascript" src="planetTest2.js"></script>
<script type="text/javascript" src="planetSphere1.js"></script>
<script type="text/javascript" src="planetStart.js"></script>
<script type="text/javascript">
document.getElementById("mscLevel").volume = 0.2;
mainStart();
</script>
</html>