12345678910111213141516171819202122232425 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Game Demo</title>
- <style type="text/css">
- #canvas-section {
- display: none;
- }
- </style>
- </head>
- <body>
- <div id="login-section">
- <input id="username" type="username" value="admin" placeholder="username" />
- <input id="password" type="password" value="password" placeholder="password" />
- <button id="login">Login</button>
- </div>
- <div id="canvas-section">
- <div id="container"></div>
- <button id="connect">Connect</button>
- </div>
- <!-- <script src="./cannon-es.js"></script> -->
- <script type="module" src="./game.js"></script>
- </body>
- </html>
|