Skip to content

Commit 4505aa5

Browse files
committed
Integrated SAT. Fixed lots of examples. Fixed documentation. Added new examples and built new phaser.js file for testing.
1 parent 45518b3 commit 4505aa5

35 files changed

Lines changed: 4024 additions & 2220 deletions

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ module.exports = function (grunt) {
112112
'src/sound/SoundManager.js',
113113
'src/utils/Debug.js',
114114
'src/utils/Color.js',
115+
'src/physics/arcade/SAT.js',
115116
'src/physics/arcade/ArcadePhysics.js',
116117
'src/physics/arcade/Body.js',
117118
'src/particles/Particles.js',

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Significant API changes:
6767
* Body.customSeparateCallback allows you to set your own callback when two Bodies need to separate rather than using the built-in method.
6868
* Body.collideCallback allows you to set a callback that is fired whenever the Body is hit on any of its active faces.
6969
* Body.allowCollision has been renamed to Body.checkCollision.
70+
* 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).
7071

7172

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

171173

172174
Bug Fixes:

build/config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
<script src="$path/src/utils/Debug.js"></script>
132132
<script src="$path/src/utils/Color.js"></script>
133133
134+
<script src="$path/src/physics/arcade/SAT.js"></script>
134135
<script src="$path/src/physics/arcade/ArcadePhysics.js"></script>
135136
<script src="$path/src/physics/arcade/Body.js"></script>
136137

0 commit comments

Comments
 (0)