You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Template Jeu</title>
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" href="jeu.css"/>
|
|
<script src="Sprite.js"></script>
|
|
<script src="Anime.js"></script>
|
|
<script src="Scene.js"></script>
|
|
<script src="Jeu.js"></script>
|
|
<script src="Balle.js"></script>
|
|
<script src="Palet.js"></script>
|
|
|
|
<!-- Inclure ici les fichiers JavaScript necessaires a la scene. -->
|
|
<script>
|
|
let scene;
|
|
|
|
function load() {
|
|
scene = new Jeu(document.getElementById("scene"));
|
|
scene.start();
|
|
scene.resize();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="load()" onresize="scene.resize()">
|
|
|
|
<h1 id="textepause">PARTIE EN PAUSE</h1>
|
|
<img id="pause" src="pause.png" width="50px" height="50px" alt="bouton de restart">
|
|
<img id="unpause" src="unpause.png" width="50px" height="50px" alt="bouton de derestart">
|
|
|
|
<div id="defaite">
|
|
<h1>VOUS AVEZ PERDU : (</h1>
|
|
<h3 style="color: white;" id="scoreI"></h3>
|
|
<button id="recommencer">RECOMMENCER</button>
|
|
</div>
|
|
|
|
<div id="victoire">
|
|
<h1>VOUS AVEZ GAGNÉ : )</h1>
|
|
<h3 style="color: white;" id="scoreI"></h3>
|
|
<button id="recommencer">RECOMMENCER</button>
|
|
</div>
|
|
|
|
<h1 id="score"></h1>
|
|
<div id="scene">
|
|
<!-- Definir ici les elements HTML qui seront manipules dans la scene. -->
|
|
|
|
<div id="jeu"></div>
|
|
|
|
|
|
|
|
<!-- Le code ci-dessous permet affiche un bouton pour le plein ecran -->
|
|
<!-- <div id="fullscreen" onmousedown="scene.toggleFullscreen(event);">F</div> -->
|
|
</div>
|
|
</body>
|
|
</html>
|