浏览代码

Some silly test code added to main.js

dev-tmpl
Bryan Miller 6 年前
父节点
当前提交
102001bc71
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      app/js/main.js

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

console.log(TileC.pixels[7]); console.log(TileC.pixels[7]);


var bnk = new NESBank(); 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));
} }





正在加载...
取消
保存