-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobile.html
More file actions
27 lines (26 loc) · 1020 Bytes
/
Copy pathmobile.html
File metadata and controls
27 lines (26 loc) · 1020 Bytes
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
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./src/css/style.css">
<title>Document</title>
</head>
<body is="main-controller">
<canvas is="com-canvas"></canvas>
<div class="ui">
<gm-joystick id="movement_joystick"></gm-joystick>
<gm-joystick id="aiming_joystick"></gm-joystick>
</div>
<script src="./src/js/CanvasObjectModel.js"></script>
<!-- Data -->
<script>const data = new Object;</script>
<script src="./src/js/data/templates.js"></script>
<script src="./src/js/data/animations.js"></script>
<script src="./src/js/data/items.js"></script>
<!-- Game Engine -->
<script src="./src/js/engine/map.js"></script>
<script src="./src/js/engine/main.js"></script>
<script src="./src/js/engine/mobile_controls.js" defer></script>
<!-- Custom Elements -->
<script src="./src/js/custom_elements/joystick.js"></script>
</body>