Skip to content

Commit ffe682a

Browse files
Arreglos
1 parent 5de873f commit ffe682a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

imagenes/frogger_title.png

246 KB
Loading

script.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ window.onload = function(){
1818
let posicion = 0;
1919
let inicial = 0;
2020
let puntuacion = 0;
21-
let velocidadJuego = 1;
2221

2322
let xDerecha;
2423
let xIzquierda;
@@ -237,7 +236,7 @@ window.onload = function(){
237236
rana.estado = "saltando";
238237
posicion = inicial + 1;
239238

240-
setTimeout(() => {
239+
setTimeout(() => {
241240
rana.estado = "quieto";
242241
posicion = inicial;
243242
}, 100);

style.css

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ body{
33
padding: 0;
44
height: 100vh;
55
width: 100%;
6-
background: url('imagenes/background.png') center no-repeat;
6+
background: url('imagenes/background.png') center;
7+
background-repeat: no-repeat;
78
background-size: cover;
89

910
display: flex;
@@ -14,13 +15,13 @@ body{
1415

1516
img{
1617
margin: 5px;
17-
width: 200px;
18+
width: 400px;
1819
}
1920

2021
#canvas {
2122
background: url('imagenes/background_lvl2.png') center;
2223
background-repeat: no-repeat;
23-
background-size: 600px 420px;
24+
background-size: 605px 420px;
2425
border-radius: 10px;
2526
border: solid 5px rgb(76, 57, 44);
2627
}

0 commit comments

Comments
 (0)