瀏覽代碼

Some silly test code added to main.js

dev-tmpl
Bryan Miller 5 年之前
父節點
當前提交
102001bc71
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      app/js/main.js

+ 7
- 0
app/js/main.js 查看文件

@@ -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));
}



Loading…
取消
儲存