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 |
|
Richard Davey
|
0ac5d7b8d9
|
There was some test code left in the DOMElementCSSRenderer file that caused getBoundingClientRect to be called every render. This has been removed, which increases performance significantly for DOM heavy games.
|
2019-05-17 13:43:55 +01:00 |
|
Richard Davey
|
e23a86d45a
|
The default BaseShader vertex shader has a new uniform uResolution which is set during the Shader init and load to be the size of the Game Object to which the shader is bound.
|
2019-05-16 17:44:59 +01:00 |
|
Richard Davey
|
f792fce9cb
|
The default BaseShader vertex shader will now set the fragCoord varying to be the viewport height minus the y inPosition. This will give the correct y axis in the fragment shader, causing 'inverted' shaders to display normally when using the default vertex code.
|
2019-05-16 17:30:30 +01:00 |
|
Richard Davey
|
48bf3d2b5e
|
Update CHANGELOG.md
|
2019-05-14 09:46:33 +01:00 |
|
Richard Davey
|
4693bfb859
|
Merge pull request #4524 from rexrainbow/master
Use `customHitArea` in condition
|
2019-05-14 09:45:20 +01:00 |
|
Richard Davey
|
48a9925ed1
|
Update CHANGELOG.md
|
2019-05-14 09:44:08 +01:00 |
|
Richard Davey
|
70b500cd28
|
Merge pull request #4519 from hizzd/master
Fixed separateCircle cause the position set NaN.
|
2019-05-14 09:42:27 +01:00 |
|
Richard Davey
|
725130bc40
|
Update CHANGELOG.md
|
2019-05-14 09:37:41 +01:00 |
|
Richard Davey
|
a29bf9905f
|
Updated release version
|
2019-05-14 09:37:37 +01:00 |
|
Richard Davey
|
9f1946ec45
|
Tweens created in a paused state couldn't be started by a call to play . Fix #4525
|
2019-05-14 09:37:26 +01:00 |
|
Hua
|
fd454a1e9b
|
Use customHitArea in condition
customHitArea has been added in 3.17.0, used in text game object
|
2019-05-14 10:12:32 +08:00 |
|