push avant modif foireuse
This commit is contained in:
parent
a192e16f73
commit
153a7d104f
BIN
Jeux_404/gifs/homme trop swag immobile.png
Normal file
BIN
Jeux_404/gifs/homme trop swag immobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 B |
@ -1,3 +1,4 @@
|
||||
<!--AUTHOR Chiara RELEVAT- Nuit de l'info 2018-->
|
||||
<!DOCTYPE html>
|
||||
<!--https:/www.w3schools.com/graphics/game_intro.asp-->
|
||||
<!--https:/www.trex-game.skipser.com-->
|
||||
@ -72,6 +73,11 @@
|
||||
<script>
|
||||
startGame()
|
||||
load()
|
||||
if (jeuxFini()) {
|
||||
var myImage = new Image(150, 150);
|
||||
myImage.src = './gifs/homme trop swag immobile.png';
|
||||
document.body.appendChild(myImage);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
@ -120,8 +120,8 @@ function everyinterval(n) {
|
||||
function jeuxFini(i) {
|
||||
var messageMort;
|
||||
if (personnage.crashWith(obstacle[i])) {
|
||||
messageMort = new component("30px", "Consolas", "red", 150, 60, "text");
|
||||
messageMort.text = "Il vous à attrapé...";
|
||||
messageMort = new component("30px", "Consolas", "red", 150, 80, "text");
|
||||
messageMort.text = "Il vous à rattrapé...";
|
||||
messageMort.update();
|
||||
}
|
||||
}
|
||||
|
@ -18,6 +18,7 @@ button {
|
||||
}
|
||||
|
||||
img {
|
||||
position: relative;
|
||||
margin-top: -10px;
|
||||
margin-left: +300px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user