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>
|
<!DOCTYPE html>
|
||||||
<!--https:/www.w3schools.com/graphics/game_intro.asp-->
|
<!--https:/www.w3schools.com/graphics/game_intro.asp-->
|
||||||
<!--https:/www.trex-game.skipser.com-->
|
<!--https:/www.trex-game.skipser.com-->
|
||||||
@ -72,6 +73,11 @@
|
|||||||
<script>
|
<script>
|
||||||
startGame()
|
startGame()
|
||||||
load()
|
load()
|
||||||
|
if (jeuxFini()) {
|
||||||
|
var myImage = new Image(150, 150);
|
||||||
|
myImage.src = './gifs/homme trop swag immobile.png';
|
||||||
|
document.body.appendChild(myImage);
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
@ -120,8 +120,8 @@ function everyinterval(n) {
|
|||||||
function jeuxFini(i) {
|
function jeuxFini(i) {
|
||||||
var messageMort;
|
var messageMort;
|
||||||
if (personnage.crashWith(obstacle[i])) {
|
if (personnage.crashWith(obstacle[i])) {
|
||||||
messageMort = new component("30px", "Consolas", "red", 150, 60, "text");
|
messageMort = new component("30px", "Consolas", "red", 150, 80, "text");
|
||||||
messageMort.text = "Il vous à attrapé...";
|
messageMort.text = "Il vous à rattrapé...";
|
||||||
messageMort.update();
|
messageMort.update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
position: relative;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
margin-left: +300px;
|
margin-left: +300px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user