File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ window.onload = function(){
18
18
let posicion = 0 ;
19
19
let inicial = 0 ;
20
20
let puntuacion = 0 ;
21
- let velocidadJuego = 1 ;
22
21
23
22
let xDerecha ;
24
23
let xIzquierda ;
@@ -237,7 +236,7 @@ window.onload = function(){
237
236
rana . estado = "saltando" ;
238
237
posicion = inicial + 1 ;
239
238
240
- setTimeout ( ( ) => {
239
+ setTimeout ( ( ) => {
241
240
rana . estado = "quieto" ;
242
241
posicion = inicial ;
243
242
} , 100 ) ;
Original file line number Diff line number Diff line change 3
3
padding : 0 ;
4
4
height : 100vh ;
5
5
width : 100% ;
6
- background : url ('imagenes/background.png' ) center no-repeat;
6
+ background : url ('imagenes/background.png' ) center;
7
+ background-repeat : no-repeat;
7
8
background-size : cover;
8
9
9
10
display : flex;
@@ -14,13 +15,13 @@ body{
14
15
15
16
img {
16
17
margin : 5px ;
17
- width : 200 px ;
18
+ width : 400 px ;
18
19
}
19
20
20
21
# canvas {
21
22
background : url ('imagenes/background_lvl2.png' ) center;
22
23
background-repeat : no-repeat;
23
- background-size : 600 px 420px ;
24
+ background-size : 605 px 420px ;
24
25
border-radius : 10px ;
25
26
border : solid 5px rgb (76 , 57 , 44 );
26
27
}
You can’t perform that action at this time.
0 commit comments