sauvegarde avant tentative

This commit is contained in:
Chiara
2019-12-05 23:49:19 +01:00
parent 30eb5c26d5
commit f0f8da4a2d
3 changed files with 70 additions and 11 deletions

View File

@@ -1,7 +1,11 @@
<!DOCTYPE html>
<!--https:/www.w3schools.com/graphics/game_intro.asp-->
<!--https:/www.trex-game.skipser.com-->
<html>
<head>
<meta charset="UTF8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
canvas {
@@ -12,15 +16,23 @@
.center {
text-align: center;
}
button {
margin-top: +300px;
display: block;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body onload="startGame()">
<body onload="startGame()" onload="load()">
<h1 class="center">Fuyez l'homme en noir !</h1>
<script src="./scores.js"></script>
<script src="./script.js"></script>
<br>
<button onmousedown="sauter(-0.5)" onmouseup="sauter(0.05)" class="center">SAUTER</button>
<button onmousedown="sauter(-0.5)" onmouseup="sauter(0.05)">SAUTER</button>
</body>
</html>