-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>p5.js Template</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- What p5.js shows while running preload() -->
<div id="p5_loading" class="center">
<div class="container">
<p>Loading...</p>
</div>
</div>
<main oncontextmenu="return false;">
<!-- Where p5.js will add the canvas -->
</main>
<!-- Libraries -->
<script src="/js/libs/p5.min.js"></script>
<script src="/js/libs/p5.sound.min.js"></script>
<script src="/js/libs/p5.collide2d.min.js"></script>
<script src="/js/libs/p5.clickable.min.js"></script>
<!-- Utilities -->
<script src="/js/util/text_utils.js"></script>
<!-- Game files -->
<script src="/js/game/sounds.js"></script>
<script src="/js/game/game.js"></script>
<!-- Main script -->
<script src="/js/main.js"></script>
<!-- Shows a console on the web page itself, for easier debugging on restricted computers -->
<script src="/js/util/on_page_console.js"></script>
</body>
</html>