Commit graph

13118 commits

Author SHA1 Message Date
Richard Davey
061ff9e9e7 Update CHANGELOG.md 2019-05-30 22:28:47 +01:00
Richard Davey
114b7b570d
Merge pull request #4552 from rexrainbow/master
Set canvas size equal to text object size
2019-05-30 22:24:51 +01:00
Richard Davey
ff8707fd15 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-05-30 22:15:56 +01:00
Richard Davey
e4cc8f74a1 Update CHANGELOG.md 2019-05-30 22:15:50 +01:00
Richard Davey
5b85cd49a7
Merge pull request #4547 from Nallebeorn/master
JSDoc: Make createDynamicLayer() position optional
2019-05-30 22:14:25 +01:00
Richard Davey
897de33a64
Merge pull request #4554 from samme/types/group-classType
Remove GroupClassTypeConstructor type
2019-05-30 22:05:55 +01:00
Richard Davey
90e04c7e90
Merge pull request #4563 from samme/types/tween-configs
Add types for tween configs
2019-05-30 22:00:37 +01:00
samme
7a98fe6d8a Add tween callbacks 2019-05-29 11:42:19 -07:00
samme
d6b3141b8b Add the remaining tween config properties 2019-05-29 10:45:55 -07:00
samme
a1e8668aee Extra properties for tween configs 2019-05-29 10:42:30 -07:00
Richard Davey
df0b474638 Added getTopCenter, getBottomCenter, getLeftCenter and getRightCenter 2019-05-29 16:27:31 +01:00
Richard Davey
09318530a4 Matter.Factory.fromVertices can now take a vertices path string as its vertexSets argument, as well as an array of vertices. 2019-05-29 14:50:57 +01:00
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