Skip to content

Commit

Permalink
visuals chuy
Browse files Browse the repository at this point in the history
  • Loading branch information
dlopezalvas committed May 26, 2023
1 parent f99b0c6 commit 0af6b80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/escenas/libroPrimaria/EscenaChuy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ class EscenaChuy extends EscenaDesdeMapa {
ajustarGraficos() {
this.automata.escala *= this.escalaSegunCuadricula(2.5);
this.automata.setY(this.automata.getY() + this.automata.getAlto() / 4);
this.automata.setX(this.automata.getX() + 15)

this.obtenerActoresConEtiquetas(["Trofeo", "Paleta"]).forEach(actor => {
this.obtenerActoresConEtiquetas(["Trofeo", "Paleta", "Pulpito"]).forEach(actor => {
actor.aprender(Flotar, { Desvio: 4 });
actor.escala *= this.escalaSegunCuadricula(0.5);
});

this.obtenerActoresConEtiquetas(["PelotaAnimada", "Pulpito"]).forEach(actor => {
this.obtenerActoresConEtiqueta("PelotaAnimada").forEach(actor => {
actor.aprender(Flotar, { Desvio: 4 });
actor.traer_al_frente()
actor.escala *= this.escalaSegunCuadricula(1) * 0.25;
Expand Down

0 comments on commit 0af6b80

Please sign in to comment.