-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExample_tutorial_00.html
More file actions
35 lines (31 loc) · 872 Bytes
/
Copy pathExample_tutorial_00.html
File metadata and controls
35 lines (31 loc) · 872 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
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GameLibZero [webGL game engine] - 2020/2023 - Luis lopez martinez.</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<style>
@font-face {
font-family: 'fnt';
src: url('data/Example_tutorial_00/fonts/fnt.ttf');
}
#usetFont{
font-family: 'fnt';
font-size: 0pt;
}
</style>
<body oncontextmenu="return false"></body>
<canvas id="myCanvas2d" onclick="requestFullScreen()"></canvas>
<script type="importmap">
{
"imports": {
"three": "./library/three.module.min.js",
"three/addons/": "./library/"
}
}
</script>
<script type="module" src="data/Example_tutorial_00/game.js"></script>
</body>
</html>