Explorar el Código

Some silly test code added to main.js

dev-tmpl
Bryan Miller hace 5 años
padre
commit
102001bc71
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      app/js/main.js

+ 7
- 0
app/js/main.js Ver fichero

@@ -107,6 +107,13 @@ function initialize(DOC){
console.log(TileC.pixels[7]);

var bnk = new NESBank();
bnk.lp[1] = TileB;
bnk.lp[0] = TileC;
bnk.rp[16] = TileD;
console.log(bnk.chr);
console.log("Bank color at coordinates (8,0): ", bnk.getColor(8,0));
console.log("Bank color at coordinates (7,0): ", bnk.getColor(7,0));
console.log("Bank color at coordinates (135, 15): ", bnk.getColor(135,15));
}



Cargando…
Cancelar
Guardar