Commit graph

13006 commits

Author SHA1 Message Date
samme
777f436aa3 Add NumberTweenBuilderConfig to path configs 2019-05-28 14:11:28 -07:00
samme
7125334677 Duration is optional 2019-05-28 14:08:03 -07:00
Richard Davey
78d15b0b0f Fixed arguments 2019-05-28 21:41:04 +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
samme
5018061751 Add NumberTweenBuilderConfig type 2019-05-28 13:13:39 -07:00
samme
c7af250100 Add TweenBuilderConfig type 2019-05-28 11:44:43 -07:00
Richard Davey
f7a374b096 Update CHANGELOG.md 2019-05-28 17:28:01 +01:00
Richard Davey
d87cb43a7f Removed touch limit on over/out 2019-05-28 17:26:31 +01:00
Richard Davey
e12002bf74 Use a switch instead 2019-05-28 17:21:40 +01:00
samme
c3c11652ef Merge branch 'master' of https://github.com/photonstorm/phaser into types/group-classType 2019-05-28 09:16:27 -07:00
Richard Davey
a39c0c87c7 Update CHANGELOG.md 2019-05-28 17:08:33 +01:00
Richard Davey
520e2e621f Catch poll zero 2019-05-28 17:08:30 +01:00
Richard Davey
21b3f2a1ab Update CHANGELOG.md 2019-05-28 16:58:55 +01:00
Richard Davey
95f69bbd9e Split the drag method up into different parts, removed un-used properties and tided up the loop 2019-05-28 16:58:52 +01:00
Richard Davey
7142319f24 Removed un-used methods and properties 2019-05-28 16:58:31 +01:00
Richard Davey
094541d968 Removed dirty and just properties as no longer required, also removed reset method 2019-05-28 16:57:08 +01:00
Richard Davey
4ab7fe164e Update CHANGELOG.md 2019-05-28 11:39:06 +01:00
Richard Davey
6d588c4688
Merge pull request #4559 from samme/types/GroupCreateConfig
Correct types for GroupCreateConfig.key, GroupCreateConfig.frame
2019-05-28 09:57:51 +01:00
samme
84e476762a Docs description for GroupCreateConfig 2019-05-27 09:05:16 -07:00
samme
e879ec7703 Correct types for GroupCreateConfig.key, GroupCreateConfig.frame 2019-05-27 09:03:28 -07:00
Rex
9a958631fc Don't draw text only when width or height is 0
It can fix this issue:
Text is empty string '', but have fixedWidth and fixedHeight, with backgroundColor setting.
2019-05-26 20:58:40 +08:00
Richard Davey
b649ec3783 Update CHANGELOG.md 2019-05-24 19:30:16 +01:00
Richard Davey
961e858cbf Working through making the Input system DOM responsive and not reliant on the game step 2019-05-24 19:30:13 +01:00
Richard Davey
9a2b8b966d Use getFrame 2019-05-24 15:28:38 +01:00
Richard Davey
7aa3b3b07b TimeStep.now is a new property that holds the exact performance.now value, as set at the start of the current game step. Also, completed jsdocs. 2019-05-24 15:27:45 +01:00
Richard Davey
b86d737e2e Game.getTime would return NaN because it incorrectly accessed the time value from the TimeStep. 2019-05-24 15:27:33 +01:00
Richard Davey
ec5f3d3a33 The TimeStep.step method no longer uses the time value passed to the raf callback, as it's not actually the current point in time, but rather the time that the main thread began at. Which doesn't help if we're comparing it to event timestamps. 2019-05-24 14:40:11 +01:00
samme
8e717d5588 Remove GroupClassTypeConstructor type 2019-05-23 15:10:40 -07:00
Richard Davey
b9ae4685ca Update CHANGELOG.md 2019-05-23 17:19:34 +01:00
Richard Davey
7073f39a19 Removed all of the DOM Callbacks, input queue and legacy input handling. Renamed methods from 'queue' to 'on' and tidied up internal content 2019-05-23 17:19:30 +01:00
Richard Davey
1d1c4e6543 Removed all input queue elements 2019-05-23 17:19:03 +01:00
Richard Davey
186887c920 Added lastAction property and self-invoke the reset method 2019-05-23 17:18:49 +01:00
Richard Davey
81c1ced2c1 Event Managers now have clearer handlers that check enabled directly 2019-05-23 17:18:16 +01:00
Richard Davey
22d6ec1e36 Removed inputQueue config option 2019-05-23 17:17:54 +01:00
Richard Davey
ee6506af8c The TimeStep will no longer set its frame property to zero in the resetDelta method. Instead, this property is incremented every step, no matter what, giving an accurate indication of exactly which frame something happened on internally. 2019-05-23 16:10:22 +01:00
Richard Davey
74247e1ad9
Create FUNDING.yml 2019-05-23 11:03:21 +01:00
Hua
cc7870906b Fix coding style 2019-05-23 17:30:04 +08:00
Hua
d1b31649ec Fix text align to right/center issue
Calculate text-width in fixedWidth mode
2019-05-23 17:22:51 +08:00
Hua
97b60efa21 Set canvas size equal to text object size
Canvas size might less than text object size, when `fixedWidth` and `fixedHeight` is set.
2019-05-23 16:54:32 +08: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
Benjamin
35776fcd2d JSDoc: Make createDynamicLayer() position optional 2019-05-22 19:18:54 +02:00
samme
6bda5739bc Warn when plugin entry is missing plugin property
#4533
2019-05-21 13:29:58 -07:00
Richard Davey
d7af904bfa Added Matter velocity, angularVelocity and force methods 2019-05-21 14:23:32 +01:00
Richard Davey
478d6989c5 Expose the Matter.Body module 2019-05-20 17:13:05 +01:00
BdR76
f28df06bcf
drawDebug, display checkCollision sides
drawDebug, instead of rectangle only draw the sides where checkCollision is true, similar to debugger in layer
2019-05-19 14:49:15 +02:00
Richard Davey
7bcd4955e2
Merge pull request #4539 from jorbascrumps/fix-arrow-fn-syntax
Removes arrow function syntax
2019-05-19 08:15:09 +01:00
jorbascrumps
648c0faed9 Removed arrow function syntax 2019-05-18 19:15:01 -04: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