Richard Davey
|
e4cc8f74a1
|
Update CHANGELOG.md
|
2019-05-30 22:15:50 +01:00 |
|
Richard Davey
|
df0b474638
|
Added getTopCenter, getBottomCenter, getLeftCenter and getRightCenter
|
2019-05-29 16:27:31 +01:00 |
|
Richard Davey
|
09318530a4
|
Matter.Factory.fromVertices can now take a vertices path string as its vertexSets argument, as well as an array of vertices.
|
2019-05-29 14:50:57 +01:00 |
|
Richard Davey
|
3c52a3b27a
|
Pass the pointers array in directly, no need to iterate them all every time
|
2019-05-28 21:31:54 +01:00 |
|
Richard Davey
|
f7a374b096
|
Update CHANGELOG.md
|
2019-05-28 17:28:01 +01:00 |
|
Richard Davey
|
a39c0c87c7
|
Update CHANGELOG.md
|
2019-05-28 17:08:33 +01:00 |
|
Richard Davey
|
21b3f2a1ab
|
Update CHANGELOG.md
|
2019-05-28 16:58:55 +01:00 |
|
Richard Davey
|
4ab7fe164e
|
Update CHANGELOG.md
|
2019-05-28 11:39:06 +01:00 |
|
Richard Davey
|
b649ec3783
|
Update CHANGELOG.md
|
2019-05-24 19:30:16 +01:00 |
|
Richard Davey
|
b9ae4685ca
|
Update CHANGELOG.md
|
2019-05-23 17:19:34 +01:00 |
|
Richard Davey
|
8e4632fb51
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2019-05-22 19:19:36 +01:00 |
|
Richard Davey
|
d2dac14f9f
|
Update CHANGELOG.md
|
2019-05-22 19:19:32 +01:00 |
|
Richard Davey
|
d7af904bfa
|
Added Matter velocity, angularVelocity and force methods
|
2019-05-21 14:23:32 +01:00 |
|
Richard Davey
|
9959dce57e
|
Passing a Frame object to Bob.setFrame would fail, as it expected a string or integer. It now checks the type of object, and if a Frame it checks to make sure it's a Frame belonging to the parent Blitter's texture, and if so sets it. Fix #4516
|
2019-05-17 14:00:39 +01:00 |
|
Richard Davey
|
3504819b33
|
The CameraManager would incorrectly destroy the default Camera in its shutdown method, meaning that if you used a fixed mask camera and stopped then resumed a Scene, the masks would stop working. The default camera is now destroyed only in the destroy method. Fix #4520
|
2019-05-17 13:54:55 +01:00 |
|
Richard Davey
|
0ac5d7b8d9
|
There was some test code left in the DOMElementCSSRenderer file that caused getBoundingClientRect to be called every render. This has been removed, which increases performance significantly for DOM heavy games.
|
2019-05-17 13:43:55 +01:00 |
|
Richard Davey
|
e23a86d45a
|
The default BaseShader vertex shader has a new uniform uResolution which is set during the Shader init and load to be the size of the Game Object to which the shader is bound.
|
2019-05-16 17:44:59 +01:00 |
|
Richard Davey
|
f792fce9cb
|
The default BaseShader vertex shader will now set the fragCoord varying to be the viewport height minus the y inPosition. This will give the correct y axis in the fragment shader, causing 'inverted' shaders to display normally when using the default vertex code.
|
2019-05-16 17:30:30 +01:00 |
|
Richard Davey
|
48bf3d2b5e
|
Update CHANGELOG.md
|
2019-05-14 09:46:33 +01:00 |
|
Richard Davey
|
48a9925ed1
|
Update CHANGELOG.md
|
2019-05-14 09:44:08 +01:00 |
|
Richard Davey
|
725130bc40
|
Update CHANGELOG.md
|
2019-05-14 09:37:41 +01:00 |
|
Richard Davey
|
06d1618e29
|
Preparing for 3.18 dev
|
2019-05-10 18:32:03 +01:00 |
|
Richard Davey
|
ca66db35ed
|
Updated Change Log and README
|
2019-05-10 16:05:32 +01:00 |
|
Richard Davey
|
f9315bac3f
|
Updated Scene config types
|
2019-05-10 14:39:35 +01:00 |
|
Richard Davey
|
5dfea01d61
|
Update CHANGELOG.md
|
2019-05-10 12:28:12 +01:00 |
|
Richard Davey
|
edb0a8bfc2
|
Update CHANGELOG.md
|
2019-05-09 15:32:58 +01:00 |
|
Richard Davey
|
3b19b87ed2
|
Update CHANGELOG.md
|
2019-05-08 23:47:23 +01:00 |
|
Richard Davey
|
6609046905
|
Update CHANGELOG.md
|
2019-05-08 22:13:04 +01:00 |
|
Richard Davey
|
18a924c39c
|
Passing an _array_ of configuration objects to physics.add.group would ignore them and none of the children would be assigned a physics body. Fix #4511
|
2019-05-07 16:17:28 +01:00 |
|
Richard Davey
|
71db4ab24e
|
Update CHANGELOG.md
|
2019-05-04 12:50:54 +01:00 |
|
Richard Davey
|
fda7772d3f
|
Fixed jsdocs to flag arguments as optional. Fix #4506
|
2019-05-03 18:23:39 +01:00 |
|
Richard Davey
|
f0a25f4b9a
|
Update CHANGELOG.md
|
2019-05-03 17:38:41 +01:00 |
|
Richard Davey
|
40b325accf
|
A Camera will pause following a Game Object for the duration of the Camera Pan Effect, as the two will clash over the Camera scroll position
|
2019-05-02 10:51:46 +01:00 |
|
Richard Davey
|
f9482ef580
|
BaseCache.getKeys is a new method that will return all keys in use in the current cache, i.e. this.cache.shader.getKeys() .
|
2019-05-02 02:27:29 +01:00 |
|
Richard Davey
|
3d40a95a00
|
Added glFuncMap
|
2019-05-01 12:29:45 +01:00 |
|
Richard Davey
|
4c95d69711
|
Added new SetValue function for property setting to any depth
|
2019-05-01 12:28:21 +01:00 |
|
Richard Davey
|
95eb4fc03d
|
Setting pixelPerfect when input enabling a Container would cause it to crash, because Container's don't have a texture to check. It will now throw a run-time warning and skip the Container for input. You should use a custom input callback instead. Fix #4492
|
2019-04-26 10:56:06 +01:00 |
|
Richard Davey
|
e05ff03ed0
|
Added Systems.renderer reference
|
2019-04-25 11:30:10 +01:00 |
|
Richard Davey
|
f64d0a935b
|
Geometry Masks are now batched. Previously, using the same mask on multiple Game Objects would create brand new stencil operations for every single Game Object, causing performance to tank. Now, the mask is only set if it's different from the previously masked object in the display list, allowing you to mask thousands of Game Objects and retain batching through-out.
|
2019-04-24 16:45:31 +01:00 |
|
Richard Davey
|
1f0a516c77
|
GeometryMask.setInvertAlpha is a new method that allows you to set the invertAlpha property in a chainable call.
|
2019-04-24 15:00:16 +01:00 |
|
Richard Davey
|
ac3fac4ab6
|
UpdateList.remove will now move the removed child to the internal _pendingRemoval array, instead of slicing it directly out of the active list. The pending list is cleared at the start of the next game frame. Fix #4365
|
2019-04-24 13:58:05 +01:00 |
|
Richard Davey
|
11c1b458fa
|
Phaser.Physics.Arcade.Events is now exposed in the namespace, preventing it from erroring if you use them in TypeScript. Fix #4481
|
2019-04-24 13:44:57 +01:00 |
|
Richard Davey
|
64532d8d7b
|
InputPlugin.clear has a new argument skipQueue which is used to avoid clearing a Game Object twice. This, combined with the fix for 4463 means you will no longer get a Cannot read property 'dragState' error if you destroy a Game Object enabled for drag where another draggable object exists. Fix #4228
|
2019-04-24 13:38:40 +01:00 |
|
Richard Davey
|
00dbf8b03e
|
Destroying a Game object during its pointerup event handler on a touch device will no longer cause Uncaught TypeError: Cannot read property 'localX' of undefined . All InputPlugin process handlers now check to see if the Game Object has been destroyed at any stage and abort if it has. Fix #4463
|
2019-04-24 12:54:56 +01:00 |
|
Richard Davey
|
61921525f1
|
There is a new webpack config FEATURE_SOUND which is set to true by default, but if set to false it will exclude the Sound Manager and all of its systems into the build files.
|
2019-04-24 12:23:21 +01:00 |
|
Richard Davey
|
f4a86fd368
|
The Container.setScrollFactor method has a new optional argument updateChildren . If set, it will change the scrollFactor values of all the Container children as well as the Container. Fix #4466 #4475
|
2019-04-24 12:09:16 +01:00 |
|
Richard Davey
|
61011d3ae9
|
Camera.clearRenderToTexture will check to see if the Scene is available before proceeding, avoiding potential errors when a Camera is destroyed multiple times during a Scene shutdown.
|
2019-04-24 11:46:31 +01:00 |
|
Richard Davey
|
da6b520e64
|
Update CHANGELOG.md
|
2019-04-24 11:21:55 +01:00 |
|
Richard Davey
|
94b7db0e82
|
Update CHANGELOG.md
|
2019-04-24 11:06:54 +01:00 |
|
Richard Davey
|
c9075a4c40
|
Update CHANGELOG.md
|
2019-04-24 10:48:07 +01:00 |
|
Richard Davey
|
fd4f45673b
|
Pointer.getDuration would only return zero until the pointer was released, or moved (basically any action that generated a DOM event). It now returns the duration regardless of the DOM events. Fix #4444
|
2019-04-24 10:08:56 +01:00 |
|
Richard Davey
|
4d38283746
|
Update CHANGELOG.md
|
2019-04-24 10:04:17 +01:00 |
|
Richard Davey
|
4aa256a04c
|
Update CHANGELOG.md
|
2019-04-23 22:50:01 +01:00 |
|
Richard Davey
|
9298492b01
|
Update CHANGELOG.md
|
2019-04-23 11:21:29 +01:00 |
|
Richard Davey
|
226daaa731
|
Update CHANGELOG.md
|
2019-04-16 17:08:19 +01:00 |
|
Richard Davey
|
1f9aec524e
|
Update CHANGELOG.md
|
2019-04-15 23:46:28 +01:00 |
|
Richard Davey
|
53870c0699
|
Update CHANGELOG.md
|
2019-04-15 16:46:51 +01:00 |
|
Richard Davey
|
0bdf1cc083
|
Allow geometry masks to work within bitmap masks
|
2019-04-12 18:36:31 +01:00 |
|
Richard Davey
|
216bf3d904
|
Update CHANGELOG.md
|
2019-04-12 17:47:05 +01:00 |
|
Richard Davey
|
da82ced343
|
Update CHANGELOG.md
|
2019-04-11 17:10:16 +01:00 |
|
Richard Davey
|
16f7553ff3
|
Update CHANGELOG.md
|
2019-04-09 23:29:37 +01:00 |
|
Richard Davey
|
26bdff978c
|
Update CHANGELOG.md
|
2019-04-09 17:55:20 +01:00 |
|
Richard Davey
|
2690561eee
|
Update CHANGELOG.md
|
2019-04-08 16:45:51 +01:00 |
|
Richard Davey
|
2d3c905f53
|
Calling Tween.play on a tween that had already finished and was pending removal will stop the tween from getting stuck in an isPlaying state and will restart the tween again from the beginning. Calling play on a Tween that is already playing does nothing. Fix #4184
|
2019-04-08 16:25:31 +01:00 |
|
Richard Davey
|
0012ed3524
|
Added Tilemap.renderDebugFull method.
|
2019-04-08 16:05:12 +01:00 |
|
Richard Davey
|
95cf972dec
|
Update CHANGELOG.md
|
2019-04-08 15:59:52 +01:00 |
|
Richard Davey
|
d63321eba5
|
Layers now remove themselves from the Tilemap when destroyed. Fix #4319
|
2019-04-08 15:45:43 +01:00 |
|
Richard Davey
|
0cfbc7917e
|
The InputPlugin will now dispatch an update event regardless, allowing the Gamepad Plugin to update itself every frame, regardless of DOM events. This allows Gamepads to work correctly again. Fix #4414
|
2019-04-08 14:39:28 +01:00 |
|
Richard Davey
|
f552dde229
|
Texture.add will no longer let you add a frame to a texture with the same name or index as one that already exists in the texture. Doing so will now return null instead of a Frame object, and the frameTotal will never be incremented. Fix #4459
|
2019-04-08 14:22:03 +01:00 |
|
Richard Davey
|
ce2d9868a6
|
Update CHANGELOG.md
|
2019-04-08 14:02:22 +01:00 |
|
Richard Davey
|
83e3bd313f
|
Update CHANGELOG.md
|
2019-04-08 13:53:08 +01:00 |
|
Richard Davey
|
ded1320e8e
|
Fixed issue with multiple calls to Tween.restart
|
2019-04-08 12:58:03 +01:00 |
|
Richard Davey
|
94fad47b1a
|
Update CHANGELOG.md
|
2019-04-08 12:49:06 +01:00 |
|
Richard Davey
|
b4f62ff301
|
Update CHANGELOG.md
|
2019-04-08 12:18:25 +01:00 |
|
Richard Davey
|
5c2dcb6e0e
|
Update CHANGELOG.md
|
2019-04-08 12:18:25 +01:00 |
|
Richard Davey
|
00638ae9ee
|
Swapped to use GetValue instead.
|
2019-04-08 11:45:08 +01:00 |
|
Richard Davey
|
cd8fb4217a
|
Tweens created with a duration of zero will now render for one frame before completing. Fix #4235
|
2019-04-08 11:18:42 +01:00 |
|
Richard Davey
|
b9fef30d99
|
Update CHANGELOG.md
|
2019-04-08 11:01:25 +01:00 |
|
Richard Davey
|
09487bbfc6
|
Added new resetCollisionIDs method re: #4334
|
2019-04-08 10:34:52 +01:00 |
|
Richard Davey
|
77fa68721e
|
Update CHANGELOG.md
|
2019-04-08 10:18:47 +01:00 |
|
Richard Davey
|
382fed3de7
|
Added TextureManager.removeKey method and invoke it from Texture.destroy. Fix #4461
|
2019-04-06 11:35:58 +01:00 |
|
Richard Davey
|
199f5989e6
|
Update CHANGELOG.md
|
2019-04-05 18:35:34 +01:00 |
|
Richard Davey
|
2ecaad5f03
|
Fixes use of static keyword. Fix #4458
|
2019-04-05 18:04:34 +01:00 |
|
Richard Davey
|
f4f33ed53c
|
Update CHANGELOG.md
|
2019-04-05 17:41:31 +01:00 |
|
Richard Davey
|
3b3e426752
|
Update CHANGELOG.md
|
2019-04-05 17:12:31 +01:00 |
|
Richard Davey
|
cc1b96a309
|
The Body.setCollideWorldBounds method has two new optional arguments bounceX and bounceY which, if given, will set the World Bounce values for the body.
|
2019-03-27 11:53:34 +00:00 |
|
Richard Davey
|
6a2397bbae
|
The Clock.now property value is now synced to be the TimeStep.time value when the Clock plugin boots and is no longer Date.now() until the first update
|
2019-03-26 14:35:14 +00:00 |
|
Richard Davey
|
e017691c68
|
The ScaleMode Component has been removed from every Game Object, and along with it the scaleMode property and setScaleMode method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413
|
2019-03-24 23:07:27 +00:00 |
|
Richard Davey
|
a85e6283ec
|
All of the Arcade Physics Components are now available directly under the Phaser.Physics.Arcade.Components namespace. Fix #4440
|
2019-03-24 22:51:34 +00:00 |
|
Richard Davey
|
f895dab6c8
|
Update CHANGELOG.md
|
2019-03-22 19:08:11 +00:00 |
|
Richard Davey
|
cf504ac9c2
|
Body.setVelocity was cause the speed property to be set to NaN if you didn't provide a y argument.
|
2019-03-22 13:16:37 +00:00 |
|
Richard Davey
|
de14633247
|
Update CHANGELOG.md
|
2019-03-15 13:32:02 +00:00 |
|
Richard Davey
|
0a87a0bdef
|
Added new getProduct method and fixed naming of consumePurchases .
|
2019-03-13 12:37:01 +00:00 |
|
Richard Davey
|
ab1d39bebb
|
Update CHANGELOG.md
|
2019-03-08 20:09:31 +00:00 |
|
Richard Davey
|
8839ab1c0e
|
Added the new overlapRect method.
|
2019-03-07 15:16:31 +00:00 |
|
Richard Davey
|
8e872fcb51
|
Fixed closest and furthest when the RTree is disabled
|
2019-03-07 14:13:45 +00:00 |
|
Richard Davey
|
d36ada0386
|
Added collideTiles and overlapTiles to AP.
|
2019-03-07 13:36:15 +00:00 |
|
Richard Davey
|
4196a7380e
|
Update CHANGELOG.md
|
2019-03-07 12:36:30 +00:00 |
|
Richard Davey
|
0ee2442597
|
Bumping to 3.17.0
|
2019-03-07 12:31:06 +00:00 |
|
Richard Davey
|
ccdb109873
|
Update CHANGELOG.md
|
2019-03-05 14:45:57 +00:00 |
|