sauvegarde avant tentative
This commit is contained in:
@@ -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>
|
Reference in New Issue
Block a user