Skip to content
プロジェクト

概要

NES emulator written in typescript

ゲーム・エミュレーター

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

TsNES

NES emulator written in typescript, Online demo

Usage

const emulator = new Emulator(Uint8ArrayNESData, {
  onFrame: frame => {
    ... // output image
  },
  onSample: volume => {
    ... // output audio
  }
});

document.addEventListener('keydown', e => {
  ... // analyse key board code 
  emulator.standardController1.updateButton(StandardControllerButton.A, true);
});

setInterval(() => {
  emulator.frame();
}, 16);

Demo

Here is an demo running in browser

yarn build

Open dist/index.html in your browser, then you can choose any nes file

関連プロジェクトを探す

読み込み中…