Richard Davey
|
fac2efedc4
|
Container + List.sort scope fixed and custom handler option added. Fix #4241
|
2019-01-24 11:04:36 +00:00 |
|
Richard Davey
|
dc080c053d
|
README URL fix
|
2019-01-24 09:37:47 +00:00 |
|
Richard Davey
|
cf2095f0c8
|
The Arcade Physics Body has a new property maxSpeed which limits the vector length of the Body velocity. You can set it via the method setMaxSpeed and it is applied in the World.computeVelocity method
|
2019-01-24 00:26:29 +00:00 |
|
Richard Davey
|
60fbd9540e
|
Update CHANGELOG.md
|
2019-01-23 23:49:08 +00:00 |
|
Richard Davey
|
510f9e8a60
|
Update CHANGELOG.md
|
2019-01-23 23:17:56 +00:00 |
|
Richard Davey
|
dd221f54a6
|
Update CHANGELOG.md
|
2019-01-23 23:10:51 +00:00 |
|
Richard Davey
|
67679f58f6
|
Return actual booleans from button checks and reset buttons to zero correctly.
|
2019-01-23 23:00:29 +00:00 |
|
Richard Davey
|
8111d8062e
|
Pointer.up and Pointer.down now use a hasOwnProperty check for the existance of the buttons property on the event, causing it to be set even if equal to zero, which it is when there are no buttons down
|
2019-01-23 22:34:48 +00:00 |
|
Richard Davey
|
2a478abb86
|
Update CHANGELOG.md
|
2019-01-23 22:03:49 +00:00 |
|
Richard Davey
|
9651d4dba1
|
New Input Manager process event.
|
2019-01-23 15:50:57 +00:00 |
|
Richard Davey
|
ea9678cc85
|
Removed TextStyle auto-quotes and added docs instead.
|
2019-01-22 14:02:25 +00:00 |
|
Richard Davey
|
4c24799eac
|
Arcade Physics could trigger a collide event on a Body even if it performing an overlap check, if the onCollide property was true
|
2019-01-18 16:16:14 +00:00 |
|
Richard Davey
|
b73ba710ab
|
Update CHANGELOG.md
|
2019-01-18 16:10:17 +00:00 |
|
Richard Davey
|
a151a02f2c
|
The Scene transitionstart event is now dispatched by the Target Scene of a transition, regardless if the Scene has a create method or not. Previously, it was only dispatched if the Scene had a create method.
|
2019-01-18 12:06:43 +00:00 |
|
Richard Davey
|
33189b429f
|
Update CHANGELOG.md
|
2019-01-17 18:38:39 +00:00 |
|
Richard Davey
|
44cff816ba
|
Added all the Sound Events.
|
2019-01-17 17:20:54 +00:00 |
|
Richard Davey
|
99cd0259fe
|
Spelling mistake fix.
|
2019-01-17 14:57:24 +00:00 |
|
Richard Davey
|
5494f6ac79
|
Arcade Physics Events
|
2019-01-17 14:04:36 +00:00 |
|
Richard Davey
|
8b9feb8a82
|
Added all of the Loader Events.
|
2019-01-17 13:04:26 +00:00 |
|
Richard Davey
|
25c1a5fe74
|
Added Texture Manager Events and moved 'ready' responsibility to it
|
2019-01-17 11:54:41 +00:00 |
|
Richard Davey
|
f9167d5fd5
|
Update CHANGELOG.md
|
2019-01-17 11:17:29 +00:00 |
|
Richard Davey
|
0297a6625c
|
Added Data Manager events and fixed some jsdoc links
|
2019-01-16 10:16:31 +00:00 |
|
Richard Davey
|
e882218fc4
|
Renamed boot to core and updated events accordingly
|
2019-01-15 16:17:04 +00:00 |
|
Richard Davey
|
69ea6ed590
|
Update CHANGELOG.md
|
2019-01-15 14:37:46 +00:00 |
|
Richard Davey
|
79dc611b95
|
Quote the font family in Text objects.
|
2019-01-12 16:31:48 +00:00 |
|
Richard Davey
|
988d1a2922
|
Update CHANGELOG.md
|
2019-01-11 16:47:31 +00:00 |
|
Richard Davey
|
83752c9a99
|
Update CHANGELOG.md
|
2019-01-11 12:12:12 +00:00 |
|
Richard Davey
|
caca07699d
|
Update CHANGELOG.md
|
2019-01-10 13:54:10 +00:00 |
|
Richard Davey
|
30dda882eb
|
Matter.TileBody.setFromTileCollision no longer checks if the shape is concave or convex before modifying the vertices, as the update to the Matter.js lib in 3.12 stopped this from working with Tiled collision shapes.
|
2019-01-08 11:50:21 +00:00 |
|
Richard Davey
|
a8708f26cd
|
Update CHANGELOG.md
|
2019-01-06 23:36:16 +00:00 |
|
Richard Davey
|
6a361ba8ea
|
Line.Extend is a new static function that allows you extend the start and/or end points of a Line by the given amounts.
|
2019-01-05 00:38:20 +00:00 |
|
Richard Davey
|
730c84e3e3
|
Draggable Game Objects would not work if you had multiple Scenes running in parallel, with draggable objects in both of them. Only the top-most Scene would work fully. Items in the bottom Scene would never finish their drag cycle, causing them to get stuck. Fix #4249
|
2019-01-04 16:34:59 +00:00 |
|
Richard Davey
|
566df734a0
|
MatterSprite would set its type property to be Image . It now sets it to be Sprite as it should do.
|
2019-01-04 14:16:10 +00:00 |
|
Richard Davey
|
439c644702
|
Fixed an API validation error in the chooseContext method. Fix #4248
|
2019-01-04 14:05:53 +00:00 |
|
Richard Davey
|
36f08d83e6
|
The processDomCallbacks method in the Input Manager wasn't correctly clearing the once arrays. Responsibility for this has now been passed to the queue methods queueTouchStart , queueTouchMove , queueTouchEnd , queueMouseDown , queueMouseMove and queueMouseUp . Fix #4257
|
2019-01-04 14:03:21 +00:00 |
|
Richard Davey
|
a6447cd6b0
|
Updated docs and change log
|
2019-01-04 13:33:56 +00:00 |
|
Sean Heber
|
92d47f197f
|
Fixed spelling errors and did some light editing
|
2019-01-03 16:51:23 -06:00 |
|
Richard Davey
|
a18c838058
|
Update CHANGELOG.md
|
2018-12-21 18:51:59 +00:00 |
|
Richard Davey
|
98c68b8595
|
Update CHANGELOG.md
|
2018-12-21 02:47:14 +00:00 |
|
Richard Davey
|
cb57425a34
|
The Alpha, Flip and Origin components have been removed from the Mesh Game Object (and by extension, Quad as well) as they are not used in the renderer and should be manipulated via the Mesh properties. Fix #4188
|
2018-12-18 15:47:07 +00:00 |
|
Richard Davey
|
a2723249a3
|
CanvasTexture.destroy is a new method that specifically handles the destruction of the CanvasTexture and all of its associated typed arrays. This prevents a memory leak when creating and destroying lots of RenderTextures (which are CanvasTexture backed). Fix #4239
|
2018-12-18 15:21:24 +00:00 |
|
Richard Davey
|
68a87516dd
|
Update CHANGELOG.md
|
2018-12-18 13:36:08 +00:00 |
|
Richard Davey
|
8ec71c7bd1
|
Update CHANGELOG.md
|
2018-12-18 12:12:52 +00:00 |
|
Richard Davey
|
3b1c578634
|
Update CHANGELOG.md
|
2018-12-18 11:39:08 +00:00 |
|
Richard Davey
|
7586f4df33
|
Update CHANGELOG.md
|
2018-12-13 13:10:18 +00:00 |
|
Richard Davey
|
ffd217dbdd
|
Fixed size calculation and updated docs
|
2018-12-13 11:46:17 +00:00 |
|
Richard Davey
|
caad527b29
|
Added getData and putData methods.
|
2018-12-13 00:30:13 +00:00 |
|
Richard Davey
|
b8fbd0d2c0
|
keydown and keyup events now fire for every possible key, no matter if they exist in the KeyCodes list or not.
|
2018-12-12 16:50:04 +00:00 |
|
Richard Davey
|
17e7ddedf7
|
Update CHANGELOG.md
|
2018-12-12 13:15:04 +00:00 |
|
Richard Davey
|
af5b1f2427
|
StaticBody.reset in Arcade Physics would ignore the x and y values given to it. If given, they're now used to reset the parent Game Object before the body is updated. Fix #4224
|
2018-12-12 12:39:47 +00:00 |
|
Richard Davey
|
cc55ee73cf
|
Changing scaleX or scaleY on a MatterImage or MatterSprite would cause the body scale to become distorted as the setters didn't use the correct factor when resetting the initial scale. Fix #4206
|
2018-12-12 12:07:16 +00:00 |
|
Richard Davey
|
cc2981d590
|
Update CHANGELOG.md
|
2018-12-12 11:56:13 +00:00 |
|
Richard Davey
|
9ee0535621
|
Update CHANGELOG.md
|
2018-12-12 11:10:31 +00:00 |
|
Richard Davey
|
744bcf4791
|
Update CHANGELOG.md
|
2018-12-12 11:09:06 +00:00 |
|
Richard Davey
|
d9f89fbde1
|
Fixed lint error, added docs.
|
2018-12-11 09:31:56 +00:00 |
|
Richard Davey
|
27c1426856
|
Updated earcut from 2.1.1 to 2.1.4.
|
2018-12-10 16:35:11 +00:00 |
|
Richard Davey
|
a62f01e97c
|
Update CHANGELOG.md
|
2018-12-08 15:02:52 +00:00 |
|
Richard Davey
|
c3524b345f
|
Added CanvasTexture.drawFrame method.
|
2018-12-08 13:10:55 +00:00 |
|
Richard Davey
|
9dd7d2d8aa
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-12-07 19:28:48 +00:00 |
|
Richard Davey
|
f1113358b8
|
Update CHANGELOG.md
|
2018-12-07 19:28:43 +00:00 |
|
Richard Davey
|
06c6b280e7
|
New global adshowerror handler and better event flow.
|
2018-12-07 04:29:18 +00:00 |
|
Richard Davey
|
2ed6c649a3
|
Swapped ad events placement.
|
2018-12-07 01:49:01 +00:00 |
|
Richard Davey
|
e672592aef
|
Modified how ad placement loading works.
|
2018-12-07 01:39:30 +00:00 |
|
Richard Davey
|
e6f5d0144e
|
Added Animation.chain method to queue an animation to start when the current one ends.
|
2018-12-06 15:57:52 +00:00 |
|
Richard Davey
|
96fab45ced
|
Update CHANGELOG.md
|
2018-12-06 15:40:00 +00:00 |
|
Richard Davey
|
8955c50ab5
|
Update CHANGELOG.md
|
2018-12-06 14:47:29 +00:00 |
|
Richard Davey
|
bca8d9b0c9
|
Add Key capture information
|
2018-12-06 11:55:14 +00:00 |
|
Richard Davey
|
4174626b84
|
Update CHANGELOG.md
|
2018-12-05 16:07:51 +00:00 |
|
Richard Davey
|
2780babe10
|
Final Doc Jam merge
|
2018-12-03 15:16:23 +00:00 |
|
Richard Davey
|
6f8759c186
|
Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0 ) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects.
|
2018-11-30 10:27:25 +00:00 |
|
Richard Davey
|
146745057a
|
Utils.Array.MoveUp wouldn't let you move an array element to the top-most index in the array. This also impacted Container.moveUp .
|
2018-11-29 23:33:54 +00:00 |
|
Richard Davey
|
52cfd5b4d6
|
Update CHANGELOG.md
|
2018-11-29 13:44:53 +00:00 |
|
Richard Davey
|
f3488b0d7c
|
Undid CSS background style
|
2018-11-28 15:51:31 +00:00 |
|
Richard Davey
|
171191e1d8
|
Added Camera centerOnX and centerOnY methods.
|
2018-11-28 13:24:29 +00:00 |
|
Richard Davey
|
f8cd23766e
|
Update CHANGELOG.md
|
2018-11-28 13:13:46 +00:00 |
|
Richard Davey
|
30972f4528
|
Camera.getBounds is a new method that will return a rectangle containing the bounds of the camera.
|
2018-11-27 17:16:03 +00:00 |
|
Richard Davey
|
b0df6892b5
|
The Canvas SetTransform method would save the context state, but it wasn't restored at the end in the following Game Objects: Dynamic Bitmap Text, Graphics, Arc, Curve, Ellipse, Grid, IsoBox, IsoTriangle, Line, Polygon, Rectangle, Star and Triangle. These now all restore the context, meaning if you're using non-canvas sized cameras in Canvas mode, it will now render beyond just the first custom camera.
|
2018-11-27 13:54:59 +00:00 |
|
Richard Davey
|
91e4a91c5a
|
Added GetNearestPoint and GetShortestDistance methods
|
2018-11-27 00:42:37 +00:00 |
|
Richard Davey
|
2c78c22112
|
Geom.Intersects.PointToLine has a new optional argument lineThickness (which defaults to 1). This allows you to determine if the point intersects a line of a given thickness, where the line-ends are circular (not square)
|
2018-11-26 23:28:07 +00:00 |
|
Richard Davey
|
a74616b090
|
Added getDistanceX and getDistanceY
|
2018-11-26 15:35:18 +00:00 |
|
Richard Davey
|
449c6a3ca5
|
Update CHANGELOG.md
|
2018-11-26 11:28:24 +00:00 |
|
Richard Davey
|
f51de18bb2
|
Updated docs and added quick bail-out clause
|
2018-11-26 11:27:02 +00:00 |
|
Richard Davey
|
93a76475ea
|
The Input Plugin was emitting a preUpdate event, with the capital U, instead of preupdate . This has now been corrected. Fix #4185
|
2018-11-26 11:13:25 +00:00 |
|
Richard Davey
|
31e0f95954
|
Update CHANGELOG.md
|
2018-11-21 11:53:50 +00:00 |
|
Richard Davey
|
ab85d480a7
|
Added setState method.
|
2018-11-21 02:24:54 +00:00 |
|
Richard Davey
|
7c00bd4dc8
|
Added Pointer.velocity and Pointer.angle as they're so common for gesture calculations.
|
2018-11-20 17:03:22 +00:00 |
|
Richard Davey
|
f1fdc5dcf5
|
Changing TileSprite.width or TileSprite.height will now flag the texture as dirty and call updateDisplayOrigin , allowing you to resize TileSprites dynamically in both Canvas and WebGL.
|
2018-11-20 15:32:15 +00:00 |
|
Richard Davey
|
625955178e
|
Updated docs
|
2018-11-20 12:45:47 +00:00 |
|
Richard Davey
|
c22edb548a
|
Update CHANGELOG.md
|
2018-11-20 11:07:50 +00:00 |
|
Richard Davey
|
8cd45a72b2
|
ESLint fixes
|
2018-11-20 11:02:19 +00:00 |
|
Richard Davey
|
ec570a639d
|
Update CHANGELOG.md
|
2018-11-20 10:33:09 +00:00 |
|
Richard Davey
|
274f86cc97
|
Update CHANGELOG.md
|
2018-11-20 10:31:26 +00:00 |
|
Richard Davey
|
e9274601a9
|
Update CHANGELOG.md
|
2018-11-20 10:21:06 +00:00 |
|
Richard Davey
|
319e4de0a1
|
Update CHANGELOG.md
|
2018-11-20 09:46:49 +00:00 |
|
Richard Davey
|
068ba0f7cd
|
Update CHANGELOG.md
|
2018-11-19 15:31:09 +00:00 |
|
Richard Davey
|
51223c518a
|
Added Graphics.fill and Graphics.stroke
|
2018-11-19 11:09:53 +00:00 |
|
Richard Davey
|
202c6c9c1a
|
Added nextFrame and previousFrame to the Animation component
|
2018-11-16 14:34:09 +00:00 |
|
Richard Davey
|
eb5da1f26d
|
Docs update
|
2018-11-16 10:56:43 +00:00 |
|
Richard Davey
|
f85a79c0d7
|
There is a new boolean Game Config property called customEnvironment . If set to true it will skip the internal Feature checks when working out which type of renderer to create, allowing you to run Phaser under non-native web environments. If using this value, you _must_ set an explicit renderType of either CANVAS or WEBGL. It cannot be left as AUTO. Fix #4166
|
2018-11-16 10:46:30 +00:00 |
|
Richard Davey
|
476a31093a
|
onFocus and onBlur ignore if locked
|
2018-11-13 19:47:47 +00:00 |
|