@eankeen/

babylon-animation-tutorial-3

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • actions.js
  • gameScene.js
  • loadingScreen.js
  • main.js
  • pointerLock.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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://cdnjs.cloudflare.com/ajax/libs/cannon.js/0.6.2/cannon.min.js">
	</script>
	<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