Integrated SAT. Fixed lots of examples. Fixed documentation. Added new examples and built new phaser.js file for testing.

This commit is contained in:
photonstorm
2014-01-27 06:29:26 +00:00
parent 45518b3ecd
commit 4505aa50f6
35 changed files with 4065 additions and 2261 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function create() {
emitter = game.add.emitter(0, 0, 200);
emitter.makeParticles('diamond');
emitter.gravity = 10;
emitter.gravity = 200;
game.input.onDown.add(particleBurst, this);
+2 -3
View File
@@ -17,9 +17,8 @@ function create() {
emitter.minParticleSpeed.setTo(-200, -300);
emitter.maxParticleSpeed.setTo(200, -400);
emitter.gravity = 8;
emitter.gravity = 150;
emitter.bounce.setTo(0.5, 0.5);
emitter.particleDrag.x = 10;
emitter.angularDrag = 30;
emitter.start(false, 8000, 400);
@@ -28,6 +27,6 @@ function create() {
function update() {
game.physics.collide(emitter, emitter);
game.physics.collide(emitter);
}