-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
72 lines (59 loc) · 2.22 KB
/
game.html
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<html>
<head>
<title>Dead Hunting</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/game.css">
<link rel="stylesheet" href="css/pause.css">
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="js/three.js"></script>
<script src="http://mamboleoo.be/learnThree/demos/OBJLoader.js"></script>
<script type="text/javascript" src="js/game.js"></script>
<script type="text/javascript" src="js/MTLLoader.js"></script>
<script type="text/javascript" src="js/render.js"></script>
<script type="text/javascript" src="js/stats.min.js"></script>
<style>
@font-face {
font-family: DeadKansas;
src: url(font/DeadKansas.ttf);
font-weight: bold;
}
* {
font-family: DeadKansas;
}
</style>
</head>
<body oncontextmenu="return false;">
<div class="juego" style="display: flex;">
<div id="scene-section"></div>
<div class="bordeVida"><div class="vida"></div></div>
<div class="score">Score<div class="numScore"></div></div>
<div class="bombas"><img src="assets/textures/tnt.png" width="45px" height="45px"><div class="numBombas"></div></div>
<div class="balas"><img src="assets/textures/bullet.png" width="45px" height="45px"><div class="numBalas"></div></div>
</div>
<div class="pausa" style="display: none;">
<div class="titulo"><img src="imagenes/Pause.png"></div>
<div class="menu" id="Pausa" onclick='resume();'>CONTINUAR</div>
<div class="menu" onclick="window.location='index.html';">SALIR</div>
</div>
<div id="dialog-form" title="GAME OVER" style="text-align: center;">
<form>
<fieldset>
<p id="playerName"></p>
<br>
<p id="scoreModal"></p>
</fieldset>
</form>
</div>
<div id="dialog-form2" title="GAME OVER" style="text-align: center;">
<form>
<fieldset>
<label for="name">Nombre </label>
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all">
<input type="submit" tabindex="-1" style="position:absolute; top:-1000px">
</fieldset>
</form>
</div>
</body>
</html>