Commit graph

1658 commits

Author SHA1 Message Date
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
clark-stevenson
53da55d6a8 Fixed Emitter.makeParticles optional parameters 2014-04-28 14:23:44 +01:00
Gaëtan Renaudeau
1f948d8994 Fix #771: make smoothstep(x,a,b) work if a > b 2014-04-28 15:16:51 +02:00
photonstorm
f12168a888 Fixed jshint error. 2014-04-28 13:48:23 +01:00
photonstorm
e9436293a8 Tilemap.addTilesetImage will now raise a console.warn if you specify an invalid tileset key and not create the tileset rather than pick the default set. 2014-04-28 13:47:27 +01:00
photonstorm
348e3c14bd LoaderParser.bitmapFont updated so xml parsing works properly on IE9 (thanks @georgiee) 2014-04-28 13:35:30 +01:00
photonstorm
838027a93b Timer.timeCap is a new setting allowing your Timers to protect against unexpectedly large delta timers. 2014-04-28 13:22:29 +01:00
photonstorm
95fe57e4fe BitmapData.extract working :) 2014-04-28 05:33:52 +01:00
photonstorm
de9fc08e7d Color.updateColor - updates an existing color object to update the rgba property.
Color.HSVColorWheel will return an array with 360 color objects for each segment of an HSV color wheel, you can optionally set the saturation and value amounts.
Color.HSLColorWheel will return an array with 360 color objects for each segment of an HSL color wheel, you can optionally set the saturation and lightness amounts.
2014-04-28 04:19:26 +01:00
photonstorm
27d62aa147 Color.HSVColorWheel will return an array with 360 color objects for each segment of an HSV color wheel. 2014-04-28 03:25:45 +01:00
photonstorm
65022ccc55 Blank Tilemaps no longer create null tiles, but instead create Tile objects with an index of -1 which can be replaced and updated like any other tile.
Tilemap.fill would throw an error if called on a blank tilemap full of null values (thanks @DrHackenstein, fix #761)
2014-04-28 02:42:38 +01:00
photonstorm
b1153299c0 Tilemap.fill would throw an error if called on a blank tilemap full of null values (thanks @DrHackenstein, fix #761) 2014-04-28 02:23:07 +01:00
photonstorm
ce6215c98a Improved the docs to do with Sound duration / durationMS and added the extra output to the Debug.soundInfo (issue #630) 2014-04-28 02:08:19 +01:00