photonstorm
1f24d95e1a
New force
parameter added to Group.set, setAll, setAllChildren, setProperty which controls if a property is created even if it doesn't exist.
...
Group.hasProperty will check a child for the given property and return a boolean.
2014-05-01 11:45:17 +01:00
photonstorm
422e769a3e
Tilemap.createFromObjects will now force the creation of the property again even if it doesn't exist (regression fix from 2.0.4)
2014-05-01 11:42:15 +01:00
Wouter Commandeur
cc102a1924
Fix Phaser.Line.intersectsPoints by properly checking the boundaries
2014-05-01 11:28:00 +02:00
photonstorm
a01b8f2387
Doc updates.
2014-05-01 02:42:06 +01:00
photonstorm
032fc11576
Emitter.makeParticles updated to use Array.isArray() check on the key/frame values, so non-string objects can be passed in (thanks @AnderbergE, fix #786 )
2014-05-01 02:41:53 +01:00
photonstorm
69c868f67d
Moved the this._reversed flag outside of the property loop in Tween (as per tween.js issue 115)
2014-05-01 02:40:36 +01:00
photonstorm
bd4c2176f0
Added an additional tile index check to P2.World.convertTilemap.
2014-05-01 02:40:17 +01:00
photonstorm
fd9d454bc6
Documentation updates.
2014-05-01 02:38:12 +01:00
photonstorm
b40769019b
The P2 DistanceConstraint method signature has changed. Updated Phaser so maxForce is now passed as object ( fix #788 )
2014-04-30 16:54:56 +01:00
Luis Fonseca
d49a8f1159
Update TypeScript definitions
...
Made the "index" parameter optional to reflect the JS version.
2014-04-30 15:00:53 +01:00
photonstorm
a7fe3a5346
Line.pointOnLine corrected algorithm (thanks @woutercommandeur, fix #784 )
2014-04-30 11:57:52 +01:00
Richard Davey
616fb0c7ae
Merge pull request #784 from woutercommandeur/dev
...
Fix pointOnLine
2014-04-30 11:55:37 +01:00
Wouter Commandeur
fbd6d9c33e
Fix pointOnLine
...
Corrected algorithm via: http://stackoverflow.com/questions/11907947/how-to-check-if-a-point-lays-on-a-line-between-2-provided-points
2014-04-30 11:50:01 +02:00
photonstorm
4af89dbd15
2.0.5-dev build release.
2014-04-29 23:00:28 +01:00
photonstorm
046707bc92
Merge branch 'origin/master'
2014-04-29 22:58:44 +01:00
photonstorm
e0083dcb26
Phaser 2.0.4 zero hour update.
2014-04-29 22:40:18 +01:00
photonstorm
12f4c9ef21
P2 fixed creation of RevoluteConstraint by passing maxForce in the options (thanks @woutercommandeur, fix #783 )
2014-04-29 22:39:28 +01:00
photonstorm
dad90a6bdd
readme update.
2014-04-29 22:36:46 +01:00
photonstorm
26b2aa42ab
Patching back into 2.0.4 master release a couple of important updates.
...
Tilemap.getTile and getTileXY used to return `null` in 2.0.3 but returned a Tile object in 2.0.4 (with an index of -1), they now return `null` again.
ScaleManager seeds _check private var with null to avoid later comparison check (thanks @jflowers45, fix #782 )
P2.Body.applyForce should have used pxmi instead of pxm (thanks @Trufi, fix #776 )
P2 fixed creation of RevoluteConstraint by passing maxForce in the options (thanks @woutercommandeur, fix #783 )
Merge pull request #783 from woutercommandeur/dev
fix creation of RevoluteConstraint by passing maxForce in the options
2014-04-29 22:35:30 +01:00
photonstorm
486153d3e0
Patching back into 2.0.4 master release a couple of important updates.
2014-04-29 22:00:16 +01:00
photonstorm
55dc748953
Tilemap.getTile and getTileXY used to return null
in 2.0.3 but returned a Tile object in 2.0.4 (with an index of -1), they now return null
again.
2014-04-29 21:28:14 +01:00
photonstorm
fa613c5fe1
ScaleManager seeds _check private var with null to avoid later comparison check (thanks @jflowers45, fix #782 )
...
P2.Body.applyForce should have used pxmi instead of pxm (thanks @Trufi, fix #776 )
P2 fixed creation of RevoluteConstraint by passing maxForce in the options (thanks @woutercommandeur, fix #783 )
2014-04-29 19:34:38 +01:00
Richard Davey
edef6cc56f
Merge pull request #783 from woutercommandeur/dev
...
fix creation of RevoluteConstraint by passing maxForce in the options
2014-04-29 19:26:12 +01:00
Wouter Commandeur
b1953bd0a0
fix creation of RevoluteConstraint by passing maxForce in the options
2014-04-29 20:12:56 +02:00
photonstorm
eb86f612b3
Prep for 2.0.5 development.
2014-04-29 16:25:10 +01:00
photonstorm
1c92caad42
2.0.4 release build
2014-04-29 15:39:53 +01:00
photonstorm
ba3f6355f4
Docs update.
2014-04-29 15:39:02 +01:00
photonstorm
9fd4ac5950
Fixed and tested on IE9.
2014-04-29 15:38:33 +01:00
photonstorm
75a848f0ef
Loader now uses XDomainRequest in IE9 to load JSON data to help with CORS issues.
2014-04-29 14:41:26 +01:00
photonstorm
9135b05ff7
readme updates
2014-04-29 04:04:24 +01:00
photonstorm
2449c71331
readme updates.
2014-04-29 03:50:33 +01:00
photonstorm
8fc33506f1
Tidying the readme.
2014-04-29 03:49:12 +01:00
photonstorm
90cb20cc11
readme updates.
2014-04-29 03:28:11 +01:00
photonstorm
010c2de41b
Updated readme for 2.0.4 release.
2014-04-29 03:18:13 +01:00
photonstorm
1d37cde66f
Updated p2 to latest build and patched for Float32Array + UMD issues.
2014-04-29 02:34:16 +01:00
photonstorm
06c69951c1
New Phaser Project Template specifically for requireJS in the resources/Project Templates
folder (many thanks @ashatch)
2014-04-29 02:14:13 +01:00
photonstorm
937085afda
Added Uint32Array polyfill for BitmapData manipulation, and optional dataview polyfill for IE9 P2 requirements in the resources folder.
2014-04-29 02:09:58 +01:00
photonstorm
b32312dca5
Animation.setFrame allows you to set the animation to a specific frame (thanks @adamholdenyall, #706 )
2014-04-28 23:35:08 +01:00
photonstorm
74108148ac
CSV Tilemap tiles would incorrectly set the Tile layer reference, causing collision to fail (thanks @Chapelin, fix #692 )
2014-04-28 23:21:57 +01:00
photonstorm
57775e9e86
Fixed Timer issue where pausing then restarting could add to the duration of running manual timers ( fix #759 )
2014-04-28 22:08:13 +01:00
photonstorm
add6b3966c
jshint fix
2014-04-28 21:22:11 +01:00
photonstorm
a5cbd8f2a6
Fixed an issue where Sounds that had been paused via game code would un-mute if the game paused and resumed.
2014-04-28 20:30:47 +01:00
Richard Davey
7a63aeabde
Merge pull request #775 from killalau/patch-2
...
Update phaser.d.ts
2014-04-28 16:00:07 +01:00
photonstorm
15c9621402
Timer._now seeded on creation.
2014-04-28 15:25:05 +01:00
photonstorm
e85bbf8bc5
Text.updateText now sets the lineCap to round
to avoid occassional font glitching issues in Chrome.
2014-04-28 15:17:47 +01:00
Franky Lau
4a31db6a64
Update phaser.d.ts
...
Fix imcompatible override Phaser.Point.clone
2014-04-28 22:12:25 +08:00
photonstorm
360d744472
Camera.unfollow allows you to easily unfollow a tracked object (thanks @alvinsight, #755 )
2014-04-28 14:56:48 +01:00
Richard Davey
56d7dcfadb
Merge pull request #774 from clark-stevenson/patch-1
...
Fixed Emitter.makeParticles optional parameters
2014-04-28 14:53:36 +01:00
photonstorm
8812d20162
Testing some small time tweaks.
2014-04-28 14:52:09 +01:00
Richard Davey
202150ac4e
Merge pull request #772 from gre/dev
...
Fix #771 : make smoothstep(x,a,b) work if a > b
2014-04-28 14:51:07 +01:00