-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (26 loc) · 1.18 KB
/
index.html
File metadata and controls
27 lines (26 loc) · 1.18 KB
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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>Phaser 3.x.x lance multiplayer network game</title>
<script src="/socket.io/socket.io.js"></script>
<script src="bundle.js" type="text/javascript"></script>
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body style="margin: 0px;">
<div id="guiContainer">
<button id="joinGame">Join Game</button>
<button id="tryAgain" disabled>Try again</button>
<button id="reconnect" disabled>Reconnect</button>
<div class="hud">
<div>Latency: <span class="latencyData">N/A</span></div>
<div>Latency (avg): <span class="averageLatencyData">N/A</span></div>
</div>
<div class="score"></div>
<div id="offscreenIndicatorContainer"></div>
<div class="keysContainer"></div>
<div class="fireButton"></div>
<h2>This is a live JavaScript multiplayer game</h2>
</div>
<div id="phaser-app" style="margin: 0px;padding: 0px;" class=""></div>
</body>
</html>