Commit graph

10530 commits

Author SHA1 Message Date
Chris Andrew
dad6b78c9b Documented almost all of Math.Quaternion. Fixed lint error in RandomOutside. 2018-05-31 15:17:59 +01:00
Richard Davey
20e21ff5ac Rectangle.RandomOutside is a new function that takes two Rectangles, outer and inner, and returns a random point that falls within the outer rectangle but is always outside of the inner rectangle. 2018-05-31 14:07:39 +01:00
TadejZupancic
6f7463f4f7
Particle Emitter Manager in Container
Added Alpha and ScrollFactor Mixin to Particle Emitter Manager otherwise it crashes when added to the Container.
2018-05-30 10:44:49 +02:00
Richard Davey
594fc3e27b Added new dom callback support, streamlined the event flow, moved to consts 2018-05-30 00:33:51 +01:00
Richard Davey
f79ee26945 Proxy to the dom callback methods 2018-05-30 00:33:28 +01:00
Richard Davey
bdc95217ae Calls new manager queue methods 2018-05-30 00:33:16 +01:00
Richard Davey
521ea10db9 Moved active pointers total to game config 2018-05-30 00:33:01 +01:00
Richard Davey
5db2bf5cbd Moved the event switch block from strings to consts 2018-05-30 00:32:45 +01:00
Richard Davey
45c373f9f4 Multi-touch support working properly up to 10 pointers and mouse re-enabled. 2018-05-29 16:55:52 +01:00
Richard Davey
7371a52734 Added links directly to the docs 2018-05-29 12:14:37 +01:00
Richard Davey
a739be27a1 RenderTexture.resize will allow you to resize the underlying Render Texture to the new dimensions given. Doing this also clears the Render Texture at the same time 2018-05-29 12:07:40 +01:00
Richard Davey
a11a34d287 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-29 11:50:32 +01:00
Richard Davey
a7da8dc28f The Canvas RenderTexture drawImage method incorrectly set the values of the frame, causing them to appear wrongly scaled in the canvas renderer. Fix #3710 2018-05-29 11:50:23 +01:00
Chris Andrew
911799483f
Merge pull request #3703 from rblopes/patch
Deleted `console.log`.
2018-05-27 03:05:50 +01:00
Rafael Barbosa Lopes
904b6c13da Delete console.log call on PluginManager. 2018-05-26 14:01:07 -03:00
Richard Davey
57e32761df Started work on multi-touch support. 2018-05-25 19:28:18 +01:00
Richard Davey
20d702c011 Added identifier properties for multi-touch 2018-05-25 19:28:02 +01:00
Richard Davey
700a26a196 Input systems listen to Input Manager events rathern than being directly hooked in 2018-05-25 19:27:26 +01:00
Richard Davey
a8f1b23b73 Fixed jsdoc errors 2018-05-25 17:20:50 +01:00
Richard Davey
c5b7edd9b7 Ditched using shell plugin in favour of Webpack 4 API. Disabled sloc as it crashes in node v10. 2018-05-25 16:43:31 +01:00
Richard Davey
d2981a8576 Preparing for 3.10 dev work 2018-05-25 00:21:01 +01:00
Richard Davey
23d3fe3774 3.9.0 Release 2018-05-24 23:42:40 +01:00
Richard Davey
6cfc5d49e7 The AudioContextMonkeyPatch has been updated to use an iife. Fix #3437 2018-05-24 23:17:33 +01:00
Richard Davey
3d9da060c5 Camera.shake would not effect dynamic tilemap layers. Fix #3669 2018-05-24 23:02:59 +01:00
Chris Andrew
05f55dc5ed Minor parameter renaming for SmoothStep interpolation functions. 2018-05-24 19:06:57 +01:00
Chris Andrew
2e0b50ee90 Simplified implementations of SmoothStepInterpolation and SmootherStepInterpolation. 2018-05-24 18:55:24 +01:00
Chris Andrew
2f3c35c5b5 Fixed SmoothStepInterpolation and SmootherStepInterpolation implementations.
Improved documentation consistency of SmoothStep, SmootherStep, SmoothStepInterpolation and SmootherStepInterpolation.
2018-05-24 18:48:12 +01:00
Chris Andrew
f38a0683ff Updated SmoothStep and SmootherStep documentation. Fixed lint errors. 2018-05-24 18:11:18 +01:00
Chris Andrew
424b5d72cd Added SmootherStep interpolation function. 2018-05-24 18:02:53 +01:00
Richard Davey
603483ee69 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-24 17:30:31 +01:00
Richard Davey
7d692bc7dc Added Camera.followOffset property and helper methods setLerp and setFollowOffset. 2018-05-24 17:30:28 +01:00
Richard Davey
9834e9d30b Added followOffset property to Camera target 2018-05-24 17:04:20 +01:00
Richard Davey
bed3968ff7 Added SmoothStep interpolation function 2018-05-24 17:04:02 +01:00
Richard Davey
2684e7d988 Updated docs and added native clamping 2018-05-24 17:03:42 +01:00
Chris Andrew
e6d1df56cd Started documenting Matrix3 and Matrix4. 2018-05-24 16:41:59 +01:00
Chris Andrew
3a56fc32f7 Described all easing functions. 2018-05-24 15:44:49 +01:00
Richard Davey
9a76f40f55 No such property as target, swap to _follow. 2018-05-24 15:33:49 +01:00
Richard Davey
f8cda698e4 Added Camera.lerp and implemented linear interpolation when following targets 2018-05-24 15:29:38 +01:00
Richard Davey
57c2ccbf5e Formatting fix and doc update 2018-05-24 14:03:29 +01:00
Richard Davey
37f75fd233
Merge pull request #3675 from tjb295/master
Bug: #3645 issue with clearing GameObjects from this._list. Called qu…
2018-05-24 13:51:55 +01:00
Richard Davey
fdf7fb1afc Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-24 13:50:09 +01:00
Richard Davey
35a5a6d2da updated change log 2018-05-24 13:49:51 +01:00
Richard Davey
6ab124c591
Merge pull request #3687 from thomastanck/thomastanck-typedefupdates
Update type definitions
2018-05-24 13:49:30 +01:00
Chris Andrew
1aeb8327e7 Started documenting Math.Easing functions. 2018-05-24 13:33:47 +01:00
Chris Andrew
313ae38bb1 Improved Math.Angle function documentation. 2018-05-24 13:14:04 +01:00
Chris Andrew
1c94c3d4d6 Documented a few more Phaser.Math functions. 2018-05-24 12:59:27 +01:00
Chris Andrew
c9d82c9ebd Documented Math.Snap functions.
Adapted from Phaser CE documentation.
2018-05-24 12:15:37 +01:00
Chris Andrew
5e374b29dc Elaborated fuzzy math function descriptions.
Finished up pow2 and RandomDataGenerator descriptions.
2018-05-24 12:06:44 +01:00
Chris Andrew
0f9bfc62f8 Documented Math.Distance, Math.Fuzzy and Math.Interpolation. 2018-05-24 11:40:53 +01:00
Richard Davey
d6d9b69897 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-23 23:14:56 +01:00