Skip to content

Commit

Permalink
Integrated SAT. Fixed lots of examples. Fixed documentation. Added ne…
Browse files Browse the repository at this point in the history
…w examples and built new phaser.js file for testing.
  • Loading branch information
photonstorm committed Jan 27, 2014
1 parent 45518b3 commit 4505aa5
Show file tree
Hide file tree
Showing 35 changed files with 4,024 additions and 2,220 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ module.exports = function (grunt) {
'src/sound/SoundManager.js',
'src/utils/Debug.js',
'src/utils/Color.js',
'src/physics/arcade/SAT.js',
'src/physics/arcade/ArcadePhysics.js',
'src/physics/arcade/Body.js',
'src/particles/Particles.js',
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Significant API changes:
* Body.customSeparateCallback allows you to set your own callback when two Bodies need to separate rather than using the built-in method.
* Body.collideCallback allows you to set a callback that is fired whenever the Body is hit on any of its active faces.
* Body.allowCollision has been renamed to Body.checkCollision.
* Body.rebound is a boolean that controls if a body will exchange velocity on collision. Set to false to allow it to be 'pushed' (see new examples).


New features:
Expand Down Expand Up @@ -167,6 +168,7 @@ Updates:
* Removed ArcadePhysics binding to the QuadTree, so it can now be used independantly of the physics system.
* Removed ArcadePhysics.preUpdate and postUpdate as neither are needed any more.
* Body.bottom and Body.right are no longer rounded, so will give accurate sub-pixel values.
* Fixed lots of documentation in the Emitter class.


Bug Fixes:
Expand Down
1 change: 1 addition & 0 deletions build/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
<script src="$path/src/utils/Debug.js"></script>
<script src="$path/src/utils/Color.js"></script>
<script src="$path/src/physics/arcade/SAT.js"></script>
<script src="$path/src/physics/arcade/ArcadePhysics.js"></script>
<script src="$path/src/physics/arcade/Body.js"></script>
Expand Down
Loading

0 comments on commit 4505aa5

Please sign in to comment.