Skip to content

Benchmark (box2d.jsx)

kazuho edited this page Aug 4, 2012 · 1 revision

Steps required for taking the benchmark of Box2D.jsx.

  1. download

    $ git clone https://github.com/tkihira/box2djsx

  2. compile the JSX version

    $ cd box2djsx/sample $ make

  3. open box2djsx/sample/index.html using your favorite web browser

  4. (after 10 seconds) the average fps will be reported in the console.

Open js/index.html from the web browser, and see the console 10 seconds later.

Clone this wiki locally