Commit graph

13628 commits

Author SHA1 Message Date
Richard Davey
4be4ba4823
Merge pull request #4707 from MatthewAlner/Bug#4706-ignored-attempt-to-cancel-a-touchstart
Bug#4706 add `event.cancelable` check
2019-09-26 12:09:06 +01:00
Richard Davey
1e8fcc0ee1
Merge pull request #4761 from rexrainbow/rendertexture-enhancement
Update display-origin when resizing
2019-09-26 12:05:24 +01:00
Richard Davey
b704fdd680 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-09-24 12:36:32 +01:00
Richard Davey
d875a59958 InteractiveObject.alwaysEnabled is a new boolean that allows an interactive Game Object to always receive input events, even if it's invisible or won't render. 2019-09-24 12:36:28 +01:00
Hua
2559a06705 Merge branch 'master' of https://github.com/rexrainbow/phaser 2019-09-23 08:55:32 +08:00
Rex
6deec2c44b Also resize hit-area when resizing 2019-09-21 20:24:26 +08:00
Rex
08a2082d46 Update display-origin when resizing 2019-09-21 20:21:09 +08:00
Rex
7795713ab5 Set dirty flag only when render state of bob is changed 2019-09-21 20:15:56 +08:00
Richard Davey
5c04e20b20 The private Shader._savedKey property has been removed as it wasn't used anywhere internally. 2019-09-20 14:48:41 +01:00
Richard Davey
bc5c7cf7ab When calling Shader.setRenderToTexture() it will now draw the shader just once, immediately to the texture, to avoid the texture being blank for a single frame (thanks Kyle) 2019-09-19 23:32:40 +01:00
Funnisimo
4455237967 need to do velocity based separation too 2019-09-19 14:13:07 -05:00
Richard Davey
9f8e9d2afc InputPlugin.processDragMove has been updated so that the resulting dragX and dragY values, sent to the event handler, now compensate for the scale of the Game Objects parent container, if inside of one. This means dragging a child of a scale Container will now still drag at 'full' speed. 2019-09-16 15:47:18 +01:00
Richard Davey
d41e0899ab Update CHANGELOG.md 2019-09-13 19:18:17 +01:00
Funnisimo
b7ff2c02ae FIX #4751 - Physics.Arcade.World.separateCircle - weird effects when bounce=0 2019-09-13 11:34:11 -05:00
Funnisimo
4bffc5a341 updated for lint 2019-09-12 10:09:47 -05:00
Funnisimo
bfcfde52f9 FIX: #4748 Physics.Arcade.Body.hitTest - bug with circles 2019-09-12 10:02:01 -05:00
Nicolas Ferrero
a76e3c7cb6 update vertexComponentCount in WebGLPipeline 2019-09-10 18:55:30 +03:00
Richard Davey
6a40d6fa92
Merge pull request #4744 from yhwh/bug/RenderTextureResize
RenderTexture would not update texture size on resize
2019-09-10 15:48:21 +01:00
Nicolas Ferrero
18060a841e RenderTexture would not update texture size on resize 2019-09-10 17:03:52 +03:00
Richard Davey
5b10c07d2e ArcadePhysics.Body.checkWorldBounds would incorrectly report as being on the World bounds if the blocked.none flag had been toggled elsewhere in the Body. It now only sets if it toggles a new internal flag 2019-09-05 16:06:08 +01:00
Richard Davey
d0c40b647f SpineCanvasPlugin.shutdown would try to dispose of the sceneRenderer, but the property isn't set for Canvas. 2019-09-04 14:25:56 +01:00
Richard Davey
fc5630cb72 The displayWidth and height should never be negative. 2019-08-30 19:35:52 +01:00
Richard Davey
67e28efd2e Removed dead code 2019-08-30 03:47:58 +01:00
Richard Davey
e3039ffb64 Added antialiasGL option 2019-08-29 11:46:58 +01:00
Ben Richards
95d413dc3f Fix friction issues at low frame rates or repeated physics steps.
- Add `prevFrame` to hold previous frame positions (`prev` now holds
  previous step positions explicitly).
- Reset `prev` per step, fixing physics that relies on it.
- Remove `_reset` in favour of `moves`, which was all it ever checked.
  Ironically, `_reset` never reset itself.
- Remove some `postUpdate` property setting which is now unnecessary.
  The `prev` values now update just before they're used, so if you check
  them outside the physics step, they reflect the previous step.
- Reset `World#stepsLastFrame` per frame, so it won't get stuck on.
2019-08-29 10:06:10 +12:00
Ben Richards
fd0dd79417 Prevent objects from sinking into tilemaps at low frame rates.
Because `blocked` would be set by the first collision,
repeated steps would then skip it, and allow gravity or acceleration
to ignore tiles in that direction for those steps.
2019-08-29 10:06:10 +12:00
Richard Davey
24f0187028 Preparing for 3.20 dev 2019-08-28 12:03:38 +01:00
Richard Davey
6887e7b4f0 JSDoc fix 2019-08-28 12:00:19 +01:00
=
e7cce944dd Container now can apply alpha quads 2019-08-19 13:26:14 -03:00
Matthew Alner
4b42bc426b Bug#4706 add event.cancelable check 2019-08-11 12:46:28 +01:00
Richard Davey
e0ec646496 3.19 Release 2019-08-08 16:12:17 +01:00
Richard Davey
517d5a0f47 3.19 TypeScript defs 2019-08-08 15:53:09 +01:00
Richard Davey
e75d66022a Update README.md 2019-08-08 15:52:11 +01:00
Richard Davey
9d32127659 Removed incorrect member state 2019-08-08 15:52:05 +01:00
Richard Davey
4d7e3fcf22 Fixed jsdocs 2019-08-08 15:51:56 +01:00
Richard Davey
2524691d00 Update README.md 2019-08-08 14:15:46 +01:00
Richard Davey
7d2eaae693 The Container renderer functions will now read the childs alpha property, instead of _alpha, allowing it to work with more variety of custom children. 2019-08-08 14:03:23 +01:00
Richard Davey
331d5605ad All new versions of the Spine plugin built 2019-08-08 13:32:26 +01:00
Richard Davey
ead12de198 Update CHANGELOG.md 2019-08-08 13:32:10 +01:00
Richard Davey
149d28c985 Added new module 2019-08-08 13:32:03 +01:00
Richard Davey
57a2bb171e Updated Spine webpack configs and runtimes 2019-08-08 13:31:52 +01:00
Richard Davey
dce27a8dcf Added spine TS defs 2019-08-08 13:30:50 +01:00
Richard Davey
35c2f9c28a Bumped version 2019-08-08 13:30:36 +01:00
Richard Davey
b3615b77df Added more jsdocs 2019-08-08 12:27:30 +01:00
Richard Davey
6c1d59ec2e Lots more jsdocs completed 2019-08-08 01:46:58 +01:00
Richard Davey
172ebef093 More docs added 2019-08-07 18:24:09 +01:00
Richard Davey
9486487a3e Update CHANGELOG.md 2019-08-07 18:20:29 +01:00
Richard Davey
ca74b85b75 Better Sound Manager type 2019-08-07 18:20:19 +01:00
Richard Davey
f27606bdaa New plugin build 2019-08-07 17:43:25 +01:00
Richard Davey
dc332f1e1e JSDocs added for whole Spine Plugin 2019-08-07 17:43:19 +01:00