Skip to content

Commit

Permalink
visual changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dlopezalvas committed May 15, 2023
1 parent bc093de commit a2f3184
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/escenas/InstalandoJuegosYvoty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class InstalandoJuegosYvoty extends InstalandoJuegos {

ajustarCompu(compu) {
compu.escala *= this.escalaSegunCuadricula(0.6)
compu.x += 9
compu.y += 14
compu.setX(compu.getX() + 9)
compu.setY(compu.getY() + 14)
}
}
7 changes: 1 addition & 6 deletions src/escenas/libroPrimaria/EscenaYvoty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EscenaYvoty extends EscenaDesdeMapa {
actor.escala *= this.escalaSegunCuadricula(0.8);
});

this.obtenerActoresConEtiqueta("Celular").forEach(actor => {
this.obtenerActoresConEtiquetas(["Celular", "Mariposa"]).forEach(actor => {
actor.aprender(Flotar, { Desvio: 4 });
actor.escala *= this.escalaSegunCuadricula(0.6);
});
Expand All @@ -40,11 +40,6 @@ class EscenaYvoty extends EscenaDesdeMapa {
actor.escala *= this.escalaSegunCuadricula(0.7);
});

this.obtenerActoresConEtiqueta("Mariposa").forEach(actor => {
actor.aprender(Flotar, { Desvio: 5 });
actor.escala *= this.escalaSegunCuadricula(0.5);
});

this.obtenerActoresConEtiqueta("Obstaculo").forEach(obstaculo => {
obstaculo.escala *= this.escalaSegunCuadricula(1.1);
});
Expand Down

0 comments on commit a2f3184

Please sign in to comment.