repl.it
@eankeen/

babylon-tutorial-3

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • gameScene.js
  • loadingScreen.js
  • main.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="style.css">
  <script src="https://cdn.babylonjs.com/babylon.js"></script>
  <title>Babylon FPS</title>
</head>
<body>
  <canvas id="canvas"></canvas>
  <script src="main.js" type="module"></script>
</body>
</html>
result
console