Skip to content

Commit

Permalink
desaparecer celu
Browse files Browse the repository at this point in the history
  • Loading branch information
dlopezalvas committed May 27, 2023
1 parent 0a3ac46 commit 4878add
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/actores/segundoCiclo/Yvoty/Celular.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ class Celular extends ActorAnimado {
static _grilla = 'actor.celular.png'

constructor(prendido = false) {
super(0, 0, {cantColumnas: 2});
super(0, 0, {cantColumnas: 3});
this.definirAnimacion("cargado", [1], 1);
this.definirAnimacion("prendido", [1], 1);
this.definirAnimacion("descargado", [0], 1);
this.definirAnimacion("desaparecer", [2], 1);

if(prendido) this.cargarAnimacion("prendido")
}
Expand Down
2 changes: 1 addition & 1 deletion src/actores/segundoCiclo/Yvoty/Yvoty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Yvoty extends ActorAnimado {
this.definirAnimacion("error", [30, 30, 30, 30, 30, 30, 30, 31, 32, 33, 34, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 36, 36, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37], 12)
this.definirAnimacion("recoger", [0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 0, 0, 0], 12);
this.definirAnimacion("usarCelu", [38, 38, 38, 39, 39, 40, 40, 40, 41, 42, 43, 41, 43, 42, 42, 42, 44, 45, 46, 47, 46, 42, 42, 42, 45, 46, 46, 46, 45, 44, 48, 48, 48, 49, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 51, 38, 38, 38, 38, 38, 38, 38], 20);
this.definirAnimacion("sacarFoto", [38, 38, 38, 39, 39, 40, 40, 40, 40, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 40, 40, 40, 40], 20);
this.definirAnimacion("sacarFoto", [38, 38, 38, 39, 39, 40, 40, 40, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 40, 40, 40, 40], 20);
this.definirAnimacion("escribir", [16, 16, 17, 17, 18, 18, 18, 19, 19, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18], 20);
}
}
Binary file modified src/assets/actor.celular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4878add

Please sign in to comment.