Skip to content

Commit

Permalink
update v4.1.0
Browse files Browse the repository at this point in the history
add fps property
  • Loading branch information
drawcall committed Nov 16, 2019
1 parent 171b96e commit a8f496c
Show file tree
Hide file tree
Showing 11 changed files with 451 additions and 350 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ proton.addRenderer(renderer);

* Added `Proton.Cyclone` behavior, you can make vortex effects with Cyclone. Demo please check [here](https://codesandbox.io/s/proton-cyclone-rzweu).

* `proton.fps=60` In most cases, you don't need to set this property. You can set this property when the game engine has fixed fps or some browsers have a higher refresh rate.

* Use Euler integration calculation is more accurate (default false) `Proton.USE_CLOCK = false or true;`.

Proton has now been upgraded to the __v4__ version. Performance has been greatly improved and api also has some improvements. For more details, please check [here](https://github.com/a-jie/Proton/releases).
Expand Down
154 changes: 97 additions & 57 deletions build/proton.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/proton.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/proton.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/proton.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit a8f496c

Please sign in to comment.