Commit graph

13031 commits

Author SHA1 Message Date
Richard Davey
356c57c07b The Shader will no longer set uniforms if the values are null, saving on GL ops. 2019-06-25 22:49:30 +01:00
Richard Davey
a61207b890 Math.ToXY is a new mini function that will take a given index and return a Vector2 containing the x and y coordinates of that index within a grid. 2019-06-25 16:57:05 +01:00
Richard Davey
8ecab7a1a1 JSDocs fix 2019-06-25 16:56:56 +01:00
Richard Davey
280e0e2744 Abort filter checks if renderToTexture 2019-06-25 10:10:00 +01:00
Richard Davey
63ac456c45 Flag swap 2019-06-24 14:42:34 +01:00
Richard Davey
45bfaeacfb Update CHANGELOG.md 2019-06-24 12:31:49 +01:00
Richard Davey
a3763d1468 Added setSampler2DBuffer method and willRender override. 2019-06-24 12:31:47 +01:00
Richard Davey
0d42bb2944 Update CHANGELOG.md 2019-06-24 10:58:47 +01:00
Richard Davey
839e298c4e Pointer.getDuration would return a negative / static value on desktop, or NaN on mobile, because the base time wasn't being pulled in from the Input Manager properly. Fix #4612 2019-06-24 10:58:44 +01:00
Richard Davey
9c4fdf88e5 Update CHANGELOG.md 2019-06-24 00:14:38 +01:00
Richard Davey
f323097714 Sprites need to flip the UV if the source is a GLTexture 2019-06-23 22:12:14 +01:00
Richard Davey
5bbd10b4c4 Update CHANGELOG.md 2019-06-22 11:38:28 +01:00
Richard Davey
33e15dca48 Marked argument as optional. Fix #4607 2019-06-22 11:38:24 +01:00
Richard Davey
b9f7052874 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-06-22 11:34:54 +01:00
Richard Davey
4b41c64ced Update CHANGELOG.md 2019-06-22 11:34:47 +01:00
Richard Davey
7fc6424c37
Merge pull request #4608 from rexrainbow/master
Set customHitArea to false if shape is not defined
2019-06-22 11:33:26 +01:00
Richard Davey
a83b59d860 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-06-22 11:20:09 +01:00
Richard Davey
bb29aed88a Matter.Factory.constraint wouldn't allow a zero length constraint to be created due to a falsey check of the length argument. You can now set length to be any value, including zero, or leave it undefined to have it automatically calculated 2019-06-22 11:19:56 +01:00
Richard Davey
f1490c71db
Merge pull request #4610 from Fabadiculous/master
Fix bug where graphics methods were using old names
2019-06-22 11:05:24 +01:00
Fabadiculous
255232dd2a Fix bug where graphics methods were not renamed 2019-06-22 16:55:50 +10:00
Rex
16a038674f Set customHitArea to false if shape is not defined
In setHitArea method, use setHitAreaFromTexture if shape is undefined. Suppose that it is not a case of `customHitArea`
2019-06-22 09:37:49 +08:00
Richard Davey
96f96a7258 Opps! Clear the texture :) 2019-06-21 17:20:15 +01:00
Richard Davey
3f4e4fc7e4 Update CHANGELOG.md 2019-06-21 16:35:33 +01:00
Richard Davey
9d94e35e91 If a GLTexture is given as a sampler2D it will extract the textureData from it correctly 2019-06-21 16:35:31 +01:00
Richard Davey
c33cf85456 Added isGLTexture property 2019-06-21 16:34:47 +01:00
Richard Davey
aabd6d13df Update CHANGELOG.md 2019-06-21 16:10:29 +01:00
Richard Davey
1e9ef314c9 Added addGLTexture method to save WebGL Textures directly into the Texture Manager. 2019-06-21 16:10:26 +01:00
Richard Davey
b0b5f202fe Fixed some jsdocs and added WebGLTexture support 2019-06-21 16:08:47 +01:00
Richard Davey
ba0c380109 Support rendering a shader to a texture instead of the display list 2019-06-21 16:08:29 +01:00
Richard Davey
22b107b903 Added setRenderToTexture method and supporting properties 2019-06-21 16:08:14 +01:00
Richard Davey
9a6fe49000 Typo 2019-06-21 12:25:08 +01:00
Richard Davey
e2a197eb1b Update CHANGELOG.md 2019-06-21 10:53:30 +01:00
Richard Davey
67b28d6764 The Scale Manager would throw the error 'TypeError: this.removeFullscreenTarget is not a function' when entering full-screen mode. It would still enter fullscreen, but the error would appear in the console. Fix #4605 2019-06-21 10:53:27 +01:00
Richard Davey
d811713905 Moving to 3.19.0 dev 2019-06-20 10:09:09 +01:00
Richard Davey
e076547146 3.18.1 TypeScript Defs 2019-06-20 10:01:27 +01:00
Richard Davey
3184f2843a 3.18.1 Build Files 2019-06-20 10:00:45 +01:00
Richard Davey
f999e640e1 3.18.1 release 2019-06-20 09:59:17 +01:00
Richard Davey
44408b3ea4 Update CHANGELOG.md 2019-06-20 09:59:05 +01:00
Richard Davey
6004237d37 Get the correct time value 2019-06-20 09:58:59 +01:00
Richard Davey
8837cb3fd1 JSDocs fix 2019-06-20 09:58:48 +01:00
Richard Davey
db433656c3 Preparing for 3.19 dev 2019-06-19 17:02:27 +01:00
Richard Davey
d2738f084b 3.18 Release 2019-06-19 16:06:51 +01:00
Richard Davey
d23f6587a4 Update README.md 2019-06-19 16:03:24 +01:00
Richard Davey
8265909708 3.18 TypeScript Defs 2019-06-19 15:54:00 +01:00
Richard Davey
b852ac5985 Update CHANGELOG.md 2019-06-19 15:52:13 +01:00
Richard Davey
8fe4b37a94 JSDoc fix 2019-06-19 15:52:08 +01:00
Richard Davey
6c575ca20e Arcade.Events.WORLD_STEP is a new event you can listen to. It is emitted by the Arcade Physics World every time the world steps once. It is emitted _after_ the bodies and colliders have been updated. Fix #4289 2019-06-19 15:41:45 +01:00
Richard Davey
ef4b3cfe89 Improved update handler to cut down on body iteration and stepping without an update due. Fix #4529 2019-06-19 15:32:17 +01:00
Richard Davey
96298cf920 Added new resetFlags method and willStep and delta arguments to preUpdate. 2019-06-19 15:31:29 +01:00
Richard Davey
9a5a369423 Update CHANGELOG.md 2019-06-19 15:30:59 +01:00