Commit graph

13055 commits

Author SHA1 Message Date
Richard Davey
65a0f95027 Update .travis.yml 2019-06-27 13:09:27 +01:00
Richard Davey
eb72b4253c Update CHANGELOG.md 2019-06-27 13:04:36 +01:00
Richard Davey
7b9b264146 Added dispatchTimelineEvent method and improved docs 2019-06-27 13:04:32 +01:00
Richard Davey
f7d2410a76 JSDoc fix 2019-06-27 13:04:14 +01:00
Richard Davey
cf51e1a551 Removed loopCounter value as it was incorrect 2019-06-27 13:04:07 +01:00
Richard Davey
4de9c3c93c Update CHANGELOG.md 2019-06-27 12:41:41 +01:00
Richard Davey
f3200ec3d1 Added isSeeking flag and consolidated all the event and callback handling into two methods. 2019-06-27 12:41:37 +01:00
Richard Davey
46b56c4d2b All changes to Tween.state are now set _before_ any events or callbacks, allowing you to modify the state of the Tween in those handlers 2019-06-27 12:02:45 +01:00
Richard Davey
9582a21d4f Tween JSDocs complete 2019-06-27 11:50:24 +01:00
Richard Davey
34bf26592e Fixed missing loop callback 2019-06-27 01:37:36 +01:00
Richard Davey
14a6864f21 If you called Scene.destroy within a Game Object pointerdown or pointerup handler, it would cause the error "Cannot read property 'game' of null" if the event wasn't cancelled in your handler. It now checks if the manager is still there before accessing its property. Fix #4436 2019-06-27 01:13:27 +01:00
Richard Davey
aad9d38e13 You can now specify easeParams for any custom easing function you wish to use. Fix #3826 2019-06-27 01:06:25 +01:00
Richard Davey
4eb163573b Update CHANGELOG.md 2019-06-27 01:00:41 +01:00
Richard Davey
eeb02c69b4 Finished all the new Tween Events 2019-06-27 01:00:37 +01:00
Richard Davey
5e4e6ca49f Tween.seek has been rewritten so you can now seek to any point in the Tween, regardless of repeats, loops, delays and hold settings. Fix #4409 2019-06-26 23:17:52 +01:00
Richard Davey
bd99ff36d8 New onActive callback 2019-06-26 17:45:32 +01:00
Richard Davey
c1578012c0 Tween now extends EventEmitter
Also added startDelay, hasStarted and new onActive callback. onStart now only fires when the Tween actually starts tweening. Lots of debug stuff left to remove.
2019-06-26 17:45:01 +01:00
Richard Davey
c89fac2288 Adding new Tween events 2019-06-26 17:43:43 +01:00
Richard Davey
da50dd5336 Update CHANGELOG.md 2019-06-26 00:36:51 +01:00
Richard Davey
d97fb97cf6 Typo 2019-06-26 00:36:47 +01:00
Richard Davey
a79da485c3 Added glTexture property 2019-06-26 00:36:40 +01:00
Richard Davey
fc3c93b578 Added flipY argument 2019-06-26 00:35:42 +01:00
Richard Davey
c0d58ee69e Better flip handling 2019-06-26 00:35:22 +01:00
Richard Davey
3bf3057da0 WebGLRenderer.setScissor will default the drawingBufferHeight if no argument is provided, stopping NaN scissor heights. 2019-06-25 23:03:57 +01:00
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