Richard Davey
|
b1e3ee4eec
|
Added base64 to ArrayBuffer and ArrayBuffer to base64
|
2019-06-11 14:14:31 +01:00 |
|
Hua
|
382afd6945
|
Set (width,height) of arc/cicle to (diameter,diameter)
Set (width,height) of arc/cicle to (diameter,diameter), not (radius,radius).
|
2019-06-11 12:38:26 +08:00 |
|
Markus Appel
|
5ff9b20668
|
Correct docs of arcade physics body member
|
2019-06-09 12:22:15 +02:00 |
|
samme
|
c55ee432ce
|
Docs for easedValueEmit()
|
2019-06-07 13:32:12 -07:00 |
|
samme
|
cf627a07e1
|
Correct emitOnly values for angle, lifespan, x, y
|
2019-06-07 13:31:01 -07:00 |
|
Richard Davey
|
0dfc9806cc
|
Fixed lots of jsdos and moved the frame.cutX/Y addition into each function, allowing the x/y defaults to work again. Fix #4528
|
2019-06-06 17:45:18 +01:00 |
|
Richard Davey
|
2c8a5d3446
|
Renamed translate, rotate and scale to make them more explicit
|
2019-06-06 17:41:42 +01:00 |
|
Richard Davey
|
6b5b751134
|
Handle sending previous size to event and updating canvas size in setGameSize. Cleaned-up workflow.
|
2019-06-06 15:58:23 +01:00 |
|
Richard Davey
|
dc2375de70
|
Camera Manager will now listen for RESIZE event and resize full-sized cameras automatically
|
2019-06-06 15:57:51 +01:00 |
|
Richard Davey
|
254eef9787
|
Use the event constant instead of a string
|
2019-06-06 15:56:45 +01:00 |
|
Richard Davey
|
0a761e104c
|
Added new arguments to RESIZE event
|
2019-06-06 15:56:26 +01:00 |
|
Richard Davey
|
89fe081f74
|
Added new Tiled Object and Object Layer defs. Fix #4364
|
2019-06-06 11:20:40 +01:00 |
|
Richard Davey
|
3da69ade29
|
Tilemap.createDynamicLayer would fail if you called it without setting the x and y arguments, even though they were flagged as being optional. Fix #4508
|
2019-06-06 10:43:46 +01:00 |
|
Richard Davey
|
04ec7b26a1
|
Tilemap.createBlankDynamicLayer would fail if you provided a string for the tileset as the base tile width and height were incorrectly read from the tileset argument. Fix #4495
|
2019-06-06 10:29:28 +01:00 |
|
Richard Davey
|
11d845a77e
|
Specifically state this is a render flag only #4574
|
2019-06-06 09:52:19 +01:00 |
|
Richard Davey
|
2cdb672d36
|
Added new Text Padding typedef
|
2019-06-05 23:40:27 +01:00 |
|
Richard Davey
|
2446e2f3fc
|
Setting padding in a Text style configuration object would cause an error about calling split on undefined. Padding can now be applied both in the config and via setPadding
|
2019-06-05 23:40:10 +01:00 |
|
Richard Davey
|
458c592596
|
Changing the radius of an Arc Game Object wouldn't update the size, causing origin issues. It now updates the size and origin correctly in WebGL. Fix #4542
|
2019-06-05 23:02:59 +01:00 |
|
Richard Davey
|
515adc737d
|
Fixed typo
|
2019-06-05 22:48:22 +01:00 |
|
Richard Davey
|
ab17888c18
|
Merge pull request #4577 from samme/feature/group-name
Add Group#name
|
2019-06-05 22:45:58 +01:00 |
|
Richard Davey
|
3947fe38cf
|
Merge pull request #4576 from samme/fix/StaticBody-drawDebug
Use defaultStrokeWidth in drawDebug()
|
2019-06-05 22:43:39 +01:00 |
|
Richard Davey
|
9327351e86
|
Added deltaX, Y, Z and wheel method.
|
2019-06-05 15:31:25 +01:00 |
|
Richard Davey
|
98be6adfda
|
Native support for wheel events
|
2019-06-05 15:31:13 +01:00 |
|
Richard Davey
|
62cb5c68a8
|
Added 3 new Wheel input events
|
2019-06-05 15:30:54 +01:00 |
|
Richard Davey
|
700c9daaa1
|
New input const (and changed order to be numeric order)
|
2019-06-05 15:30:42 +01:00 |
|
Richard Davey
|
8968b2179c
|
Added GameObject.scale transform property for a unified scale setter
|
2019-06-05 15:30:23 +01:00 |
|
Richard Davey
|
af3efc9e2f
|
Added more docs to make #4575 clearer
|
2019-06-05 14:08:01 +01:00 |
|
samme
|
6a2c476557
|
Use defaultStrokeWidth in drawDebug()
|
2019-06-04 13:27:02 -07:00 |
|
Richard Davey
|
12bcda98a6
|
Added support for a desynchronized context and alpha support in 2D
|
2019-06-04 19:13:49 +01:00 |
|
Richard Davey
|
4ed0f90bf7
|
Merged touch handler methods into one
|
2019-06-04 18:54:35 +01:00 |
|
Richard Davey
|
befbc788a3
|
Added new TouchCancelWindow handler
|
2019-06-04 18:54:00 +01:00 |
|
Richard Davey
|
15654be545
|
update motion automatically
|
2019-06-04 18:53:48 +01:00 |
|
Richard Davey
|
d82b46c4d2
|
Updates TS Parser to handle Function[]
Fix #4522
|
2019-06-04 18:14:58 +01:00 |
|
samme
|
04384f78a6
|
Add Group#name
|
2019-06-04 09:33:08 -07:00 |
|
Richard Davey
|
558f6aea55
|
JSDoc fixes
|
2019-06-04 16:01:37 +01:00 |
|
Richard Davey
|
7f2feea4ae
|
All the touch handlers now store the full TouchEvent, not just the Touch List entry
|
2019-06-04 15:46:16 +01:00 |
|
Richard Davey
|
bf48c53103
|
Added new over and out handlers for touch events
|
2019-06-04 15:43:02 +01:00 |
|
Richard Davey
|
9b93ad9985
|
Removed changed pointers IIFE and un-needed method methods
|
2019-06-04 15:40:05 +01:00 |
|
samme
|
d9ecd70f59
|
Add TimelineBuilderConfig type and callbacks
|
2019-06-03 12:12:01 -07:00 |
|
samme
|
3ebd1839eb
|
Docs for Tween
|
2019-06-03 12:09:04 -07:00 |
|
samme
|
0306aab176
|
Docs for Timeline
|
2019-06-03 12:08:45 -07:00 |
|
Richard Davey
|
77626d854d
|
Merge pull request #4568 from samme/types/tween-configs-2
Add types for tween `props` configs
|
2019-06-02 14:06:58 +01:00 |
|
samme
|
d3407c5e44
|
Add EmitterOpOnEmitType and EmitterOpOnUpdateType
Also some corrections in ParticleEmitterConfig docs
|
2019-06-01 13:33:06 -07:00 |
|
samme
|
8410f6b131
|
Add types for tween props configs
|
2019-06-01 10:24:15 -07:00 |
|
Richard Davey
|
17ad54b35b
|
You can pass in a Body for a Matter Game Object to use
|
2019-06-01 10:53:05 +01:00 |
|
Richard Davey
|
63ead0cbc1
|
Added Matter.bodies
|
2019-05-31 19:42:49 +01:00 |
|
BdR76
|
717c89d79b
|
Changed if-statements to multiple lines
Changed the if-statements to multiple lines as per ESLint config
|
2019-05-31 13:15:23 +02:00 |
|
Richard Davey
|
a67d0ab3c3
|
Merge pull request #4565 from samme/types/tween-configs-ease
Correct types for NumberTweenBuilderConfig.ease and TweenBuilderConfig.ease
|
2019-05-31 11:46:39 +01:00 |
|
samme
|
8f2e774c4b
|
Correct ease type
|
2019-05-30 16:11:34 -07:00 |
|
Richard Davey
|
278bde236b
|
lint fix
|
2019-05-30 23:05:06 +01:00 |
|
Richard Davey
|
ec6bbdeebd
|
Added typedefs for the Text Game Object. Fix #4551
|
2019-05-30 23:01:53 +01:00 |
|
Richard Davey
|
a7fbd0bcfe
|
Merge pull request #4545 from samme/feature/warn-for-missing-plugin-in-boot
Warn when plugin entry is missing `plugin` property
|
2019-05-30 22:29:39 +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
|
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
|
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
|
520e2e621f
|
Catch poll zero
|
2019-05-28 17:08:30 +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 |
|
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
|
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
|
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 |
|
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 |
|
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 |
|
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
|
4693bfb859
|
Merge pull request #4524 from rexrainbow/master
Use `customHitArea` in condition
|
2019-05-14 09:45:20 +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
|
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 |
|
hizzd
|
4aa3d9f81a
|
Fixed separateCircle cause the position set NaN.
|
2019-05-11 20:52:57 +08:00 |
|
Richard Davey
|
06d1618e29
|
Preparing for 3.18 dev
|
2019-05-10 18:32:03 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
f9315bac3f
|
Updated Scene config types
|
2019-05-10 14:39:35 +01:00 |
|
Richard Davey
|
7deaa9e2b2
|
Merge pull request #4517 from antoine-pous/patch-1
JSDoc fix returned object type
|
2019-05-10 14:19:36 +01:00 |
|
Richard Davey
|
e8f6bae7cb
|
A Body with damping and drag enabled would fail to move if it went from zero velocity to a new velocity inside an update loop. It will now reset its speed accordingly and retain its new velocity
|
2019-05-10 12:28:06 +01:00 |
|
Richard Davey
|
78d1b75872
|
Add the modes back in, as we need them internally
|
2019-05-10 12:27:59 +01:00 |
|
Richard Davey
|
725e1d7ef7
|
JSDoc changes to help TypeScript not get its knickers in a twist
|
2019-05-09 17:13:25 +01:00 |
|
Richard Davey
|
a6341a97a8
|
Fixed Types references
|
2019-05-09 15:32:53 +01:00 |
|
Richard Davey
|
2008438919
|
Added new Matter World config def
|
2019-05-09 15:31:59 +01:00 |
|
Antoine Pous
|
ce1577bcc3
|
JSDoc fix returned object type
|
2019-05-09 15:20:37 +02:00 |
|
Richard Davey
|
0a0330bdfc
|
Tween Types
|
2019-05-09 12:40:41 +01:00 |
|
Richard Davey
|
173652ea2b
|
Time Types
|
2019-05-09 12:39:52 +01:00 |
|
Richard Davey
|
44faa01578
|
Tilemap Types
|
2019-05-09 12:39:19 +01:00 |
|
Richard Davey
|
0d831ccf71
|
Texture Types
|
2019-05-09 12:38:45 +01:00 |
|
Richard Davey
|
dc18d06f10
|
Sound Types
|
2019-05-09 12:38:12 +01:00 |
|
Richard Davey
|
1dca2c2c8a
|
Scenes Types
|
2019-05-09 12:37:37 +01:00 |
|
Richard Davey
|
11d6f2e802
|
Renderer Types
|
2019-05-09 12:36:36 +01:00 |
|
Richard Davey
|
15abc3824a
|
Plugins Types
|
2019-05-09 12:35:33 +01:00 |
|
Richard Davey
|
6955507ee0
|
Physics root type
|
2019-05-09 12:35:01 +01:00 |
|
Richard Davey
|
1531288301
|
Matter Types
|
2019-05-09 12:34:27 +01:00 |
|
Richard Davey
|
490dd62f2b
|
Impact Types
|
2019-05-09 12:34:05 +01:00 |
|
Richard Davey
|
fbe2470f99
|
Arcade Physics Types
|
2019-05-09 12:33:37 +01:00 |
|
Richard Davey
|
e916dbe783
|
Math Types
|
2019-05-09 12:32:37 +01:00 |
|
Richard Davey
|
9fe265121a
|
FileType Defs update
|
2019-05-09 12:32:00 +01:00 |
|
Richard Davey
|
9a28946069
|
FileType Types
|
2019-05-09 12:20:21 +01:00 |
|
Richard Davey
|
ae1b5a664f
|
Loader Types
|
2019-05-09 12:04:54 +01:00 |
|
Richard Davey
|
53ac066d25
|
More Input Types
|
2019-05-09 12:03:36 +01:00 |
|
Richard Davey
|
290389c4ae
|
Input Types
|
2019-05-09 12:02:03 +01:00 |
|
Richard Davey
|
b09ddc9048
|
GameObject Types
|
2019-05-09 12:01:00 +01:00 |
|
Richard Davey
|
7ba03dff54
|
TileSprite Types
|
2019-05-09 11:59:43 +01:00 |
|
Richard Davey
|
1a3263ad5e
|
Text Types
|
2019-05-09 11:59:10 +01:00 |
|
Richard Davey
|
ff723f64b6
|
Sprite Types
|
2019-05-09 11:58:41 +01:00 |
|
Richard Davey
|
275a3afe5f
|
RenderTexture Types
|
2019-05-09 11:58:09 +01:00 |
|
Richard Davey
|
3ca2b667b3
|
PathFollower Types
|
2019-05-09 11:57:27 +01:00 |
|
Richard Davey
|
29aee69aa0
|
Particles Types
|
2019-05-09 11:57:00 +01:00 |
|
Richard Davey
|
8e8b182359
|
Group Types
|
2019-05-09 11:56:16 +01:00 |
|
Richard Davey
|
32b4e6b04e
|
Graphics Types
|
2019-05-09 11:55:40 +01:00 |
|
Richard Davey
|
a51a81791f
|
Bitmap Text Types
|
2019-05-09 11:54:43 +01:00 |
|
Richard Davey
|
dc3b3ecb03
|
Display Types
|
2019-05-09 11:53:08 +01:00 |
|
Richard Davey
|
e7f091b20d
|
Curve Types
|
2019-05-09 11:52:07 +01:00 |
|
Richard Davey
|
622d0dd5c8
|
Create Types
|
2019-05-09 11:51:26 +01:00 |
|
Richard Davey
|
a269816129
|
Core Types
|
2019-05-09 11:50:26 +01:00 |
|
Richard Davey
|
e556cd9c68
|
Camera Types
|
2019-05-09 11:49:44 +01:00 |
|
Richard Davey
|
69f84f3ccf
|
Animations Types
|
2019-05-09 11:46:07 +01:00 |
|
Richard Davey
|
d5443ecd61
|
Added namespace
|
2019-05-09 11:45:01 +01:00 |
|
Richard Davey
|
2b073cba51
|
Actions Types
|
2019-05-09 11:44:01 +01:00 |
|
Richard Davey
|
ba424ac62a
|
Added root types namespace
|
2019-05-09 11:41:35 +01:00 |
|
Richard Davey
|
4092056e84
|
Fixed namespace
|
2019-05-09 11:05:42 +01:00 |
|
Richard Davey
|
c6dc93dba0
|
Added missing plugins jsdoc hook
|
2019-05-08 22:13:04 +01:00 |
|
Richard Davey
|
49a27bdeaf
|
Merge pull request #4514 from BeLi4L/master
TypeScript: Improve `Phaser.Utils.Array.Matrix` types
|
2019-05-08 21:54:13 +01:00 |
|
Richard Davey
|
ad09a18133
|
Finished JSDocs
|
2019-05-08 21:49:36 +01:00 |
|
Valentin Vetter
|
f33a9d730f
|
TypeScript: Fix matrix types
|
2019-05-08 19:17:52 +02:00 |
|
Richard Davey
|
64572c430c
|
Finished JSDocs for all DOM Element methods and properties
|
2019-05-08 17:35:35 +01:00 |
|
Richard Davey
|
ff9f7cf574
|
Always world step once
|
2019-05-08 15:43:01 +01:00 |
|
Richard Davey
|
04e4e07047
|
More JSDocs
|
2019-05-08 15:42:53 +01:00 |
|
Richard Davey
|
860cdbf2bf
|
Adding DOM Element JSDocs
|
2019-05-08 15:00:04 +01:00 |
|
Richard Davey
|
faa72add9b
|
Removed ComputedSize component as we need the values read-only.
Fixed renderer for DOM Elements inside of Containers, or outside, or in a scaled canvas.
|
2019-05-08 00:26:54 +01:00 |
|
Richard Davey
|
cdd9d85b8e
|
DOM Elements set visible in preUpdate now. Fix #4486
|
2019-05-07 16:39:46 +01:00 |
|
Richard Davey
|
18a924c39c
|
Passing an _array_ of configuration objects to physics.add.group would ignore them and none of the children would be assigned a physics body. Fix #4511
|
2019-05-07 16:17:28 +01:00 |
|
Richard Davey
|
63ddc0b07d
|
Merge pull request #4279 from akuskis/Issue_#4256.Circles_collision
Fix circles collision #4256
|
2019-05-04 12:44:29 +01:00 |
|
Richard Davey
|
acc5f92a8a
|
Merge pull request #4503 from jcyuan/master
expose ParseXMLBitmapFont for combined XML font file
|
2019-05-04 12:23:02 +01:00 |
|
Richard Davey
|
9672602c2f
|
Merge pull request #4504 from rexrainbow/master
Constraints canvas size via object size
|
2019-05-04 12:21:06 +01:00 |
|
Richard Davey
|
73d50071a8
|
DOM Element will check if parent can render
|
2019-05-03 19:01:02 +01:00 |
|
Richard Davey
|
fda7772d3f
|
Fixed jsdocs to flag arguments as optional. Fix #4506
|
2019-05-03 18:23:39 +01:00 |
|
Richard Davey
|
935a9814ca
|
Check SoundManager exists before accessing it. Fix #4428
|
2019-05-03 17:42:45 +01:00 |
|
Richard Davey
|
dcf2d44f4a
|
Removed un-used properties
|
2019-05-03 17:38:37 +01:00 |
|
Richard Davey
|
d75431fc2b
|
lint fixes
|
2019-05-03 17:38:27 +01:00 |
|
Richard Davey
|
bf741e962c
|
Restored Arcade Physics v1 and merged in all the core changes
|
2019-05-03 17:28:06 +01:00 |
|
Richard Davey
|
40b325accf
|
A Camera will pause following a Game Object for the duration of the Camera Pan Effect, as the two will clash over the Camera scroll position
|
2019-05-02 10:51:46 +01:00 |
|
Richard Davey
|
f9482ef580
|
BaseCache.getKeys is a new method that will return all keys in use in the current cache, i.e. this.cache.shader.getKeys() .
|
2019-05-02 02:27:29 +01:00 |
|
Richard Davey
|
abccac28f8
|
Can pass in either a BaseShader or a string
|
2019-05-01 17:04:53 +01:00 |
|
Richard Davey
|
8536049b65
|
Fixed shaderType reference
|
2019-05-01 14:12:06 +01:00 |
|
Richard Davey
|
b22f5ce5fd
|
Improved jsdocs
|
2019-05-01 12:59:05 +01:00 |
|
Richard Davey
|
8ef5e9789c
|
Renamed from Shader to BaseShader to avoid confusion with the Shader Game Object
|
2019-05-01 12:58:52 +01:00 |
|
Richard Davey
|
4edd77275a
|
Removed funcmap and moved to renderer. Finished method jsdocs.
|
2019-05-01 12:30:09 +01:00 |
|
Richard Davey
|
3d40a95a00
|
Added glFuncMap
|
2019-05-01 12:29:45 +01:00 |
|
Richard Davey
|
4c95d69711
|
Added new SetValue function for property setting to any depth
|
2019-05-01 12:28:21 +01:00 |
|
Richard Davey
|
3759714703
|
Try catch the uniform json parse
|
2019-05-01 11:12:42 +01:00 |
|
Richard Davey
|
2f48d68735
|
A shader can now be used as a bitmap mask
|
2019-05-01 11:12:31 +01:00 |
|
Rex
|
72df134571
|
Constrains canvas sizer via game object size
|
2019-05-01 11:48:08 +08:00 |
|
Rex
|
2a51bb8c3b
|
Remove redundant code
|
2019-05-01 10:10:05 +08:00 |
|
Rex
|
816eb6d677
|
Remove redundant code
|
2019-05-01 10:09:20 +08:00 |
|
Rex
|
b2a32a8e8f
|
Constraints canvas size if using fixedWidth, fixedHeight style
|
2019-05-01 10:06:04 +08:00 |
|
Richard Davey
|
08f4a0ccf4
|
Tidying up
|
2019-05-01 02:10:38 +01:00 |
|
Richard Davey
|
de7c804c47
|
Shaders can now easily handle sampler2D uniforms
|
2019-05-01 00:05:52 +01:00 |
|
Richard Davey
|
34fe7a8c50
|
Better default checking
|
2019-05-01 00:05:37 +01:00 |
|
Richard Davey
|
0ebdf7073c
|
Optional texture key array
|
2019-05-01 00:05:22 +01:00 |
|
Richard Davey
|
b1de52009d
|
Now extracts uniforms
|
2019-05-01 00:05:13 +01:00 |
|
Richard Davey
|
8484f33c18
|
Handle invalid shader keys gracefully
|
2019-04-30 19:56:03 +01:00 |
|
Richard Davey
|
272fbfcd7a
|
Improved jsdocs, finished splitting up render process
|
2019-04-30 19:43:50 +01:00 |
|
Richard Davey
|
38d8ae7d68
|
Uniforms properly applied
|
2019-04-30 19:11:29 +01:00 |
|
Richard Davey
|
e5d944b977
|
Updating Shader Game Object to use new Shader class
|
2019-04-30 17:11:55 +01:00 |
|
Richard Davey
|
ab7dbf6c93
|
New Shader class
|
2019-04-30 17:11:42 +01:00 |
|
Richard Davey
|
e0a9980fda
|
Updated docs
|
2019-04-30 17:11:26 +01:00 |
|
Richard Davey
|
0c84853524
|
Expanding GLSL File Loader
|
2019-04-30 17:11:18 +01:00 |
|
J.C
|
b6047df1b5
|
flag which version has this method
|
2019-04-30 23:29:28 +08:00 |
|
J.C
|
8c3de0897e
|
expose ParseXMLBitmapFont for combined XML font file
|
2019-04-30 19:31:47 +08:00 |
|
Richard Davey
|
3c655bff3e
|
Improved jsdocs
|
2019-04-30 11:08:34 +01:00 |
|
Richard Davey
|
14ae8ecf19
|
Added NOOP
|
2019-04-29 17:14:05 +01:00 |
|
Richard Davey
|
84e898fd90
|
Fixed nested bitmap mask issue
|
2019-04-29 14:45:54 +01:00 |
|
Richard Davey
|
80a0bf3f1a
|
Re-apply stencil after a bitmap mask
|
2019-04-29 14:29:13 +01:00 |
|
Richard Davey
|
3efcd1ca49
|
New cam mask object
|
2019-04-29 14:28:58 +01:00 |
|
Richard Davey
|
ac1cc1762d
|
Use new cam mask object
|
2019-04-29 14:28:45 +01:00 |
|
Richard Davey
|
6f639ddec2
|
Preparing to store level state
|
2019-04-29 13:21:23 +01:00 |
|
Richard Davey
|
28b1a170ab
|
Fixed null mask issue
|
2019-04-29 13:04:34 +01:00 |
|
Richard Davey
|
902d04d55e
|
Move to functions so we can call from outside the class
|
2019-04-26 19:14:06 +01:00 |
|
Richard Davey
|
93dabaa34e
|
Store and restore previous framebuffer
|
2019-04-26 19:13:55 +01:00 |
|
Richard Davey
|
e07248a403
|
Use proper elapsed time for the shader
|
2019-04-26 19:13:45 +01:00 |
|
Richard Davey
|
70b5b01db2
|
Restore previous framebuffer
|
2019-04-26 19:13:32 +01:00 |
|
Richard Davey
|
cf878ca553
|
Better stencil mask checking
|
2019-04-26 19:13:24 +01:00 |
|
Richard Davey
|
813429d8dc
|
Added getDuration and getDurationMS
|
2019-04-26 19:13:12 +01:00 |
|
Richard Davey
|
95eb4fc03d
|
Setting pixelPerfect when input enabling a Container would cause it to crash, because Container's don't have a texture to check. It will now throw a run-time warning and skip the Container for input. You should use a custom input callback instead. Fix #4492
|
2019-04-26 10:56:06 +01:00 |
|
Richard Davey
|
183ce1b96c
|
BMP fix
|
2019-04-26 02:30:24 +01:00 |
|
Richard Davey
|
6e70f0e19c
|
Shaders now work with camera masks and can have their own geometry masks
|
2019-04-26 01:53:34 +01:00 |
|
Richard Davey
|
8620e2303d
|
Added setPointer
|
2019-04-26 00:56:53 +01:00 |
|
Richard Davey
|
55410038eb
|
Updated factory
|
2019-04-25 17:48:06 +01:00 |
|
Richard Davey
|
4d16f21c20
|
re-init uniforms if setShader
|
2019-04-25 17:13:31 +01:00 |
|
Richard Davey
|
2c4d0d9fd3
|
Uniforms are now synced properly and attribute is hard coded
|
2019-04-25 16:57:12 +01:00 |
|
Richard Davey
|
a26a420f23
|
Added transformOnly flag
|
2019-04-25 15:44:19 +01:00 |
|
Richard Davey
|
d849031195
|
Y oh Y :)
|
2019-04-25 15:08:32 +01:00 |
|
Richard Davey
|
a0ef6e9d1b
|
Added default shader
|
2019-04-25 15:07:46 +01:00 |
|
Richard Davey
|
27d6bd544f
|
Drop the modelMatrix, it's not needed for this GO. Also only change vertexView elements that need changing.
|
2019-04-25 14:21:33 +01:00 |
|
Richard Davey
|
5449f7b51d
|
Skip blendMode and add setShader method
|
2019-04-25 14:03:50 +01:00 |
|
Richard Davey
|
9356744399
|
argument caps
|
2019-04-25 12:14:04 +01:00 |
|
Richard Davey
|
2ff76eb4b5
|
Removed un-needed Quad Pipeline and shaders
|
2019-04-25 12:13:09 +01:00 |
|
Richard Davey
|
f37a61de27
|
Shader now using viewLoad2D instead and accounting for origin
|
2019-04-25 12:12:49 +01:00 |
|
Richard Davey
|
ba8d1adbbb
|
Removing use of Shader pipeline
|
2019-04-25 11:30:23 +01:00 |
|
Richard Davey
|
e05ff03ed0
|
Added Systems.renderer reference
|
2019-04-25 11:30:10 +01:00 |
|
Richard Davey
|
86896bd581
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2019-04-25 03:16:51 +01:00 |
|
Richard Davey
|
72af4a21d1
|
Default shader
|
2019-04-25 03:16:46 +01:00 |
|
Richard Davey
|
9b4309b38c
|
Added QuadShader Pipeline to the renderer
|
2019-04-25 03:16:39 +01:00 |
|
Richard Davey
|
2727408e7c
|
Don't disable the vertex attribute if the location is invalid
|
2019-04-25 03:16:25 +01:00 |
|
Richard Davey
|
e0c22c5534
|
Added QuadShader Pipeline
|
2019-04-25 03:16:03 +01:00 |
|
Richard Davey
|
7d74425491
|
Added new Shader Game Object
|
2019-04-25 03:15:51 +01:00 |
|
Richard Davey
|
87c3215216
|
Merge pull request #4487 from florianvazelle/master
Fix issue #4483
|
2019-04-24 22:03:57 +01:00 |
|
Richard Davey
|
f64d0a935b
|
Geometry Masks are now batched. Previously, using the same mask on multiple Game Objects would create brand new stencil operations for every single Game Object, causing performance to tank. Now, the mask is only set if it's different from the previously masked object in the display list, allowing you to mask thousands of Game Objects and retain batching through-out.
|
2019-04-24 16:45:31 +01:00 |
|
Richard Davey
|
1f0a516c77
|
GeometryMask.setInvertAlpha is a new method that allows you to set the invertAlpha property in a chainable call.
|
2019-04-24 15:00:16 +01:00 |
|
Richard Davey
|
12b6041d20
|
inverseAlpha support added back in and tidied up renderer
|
2019-04-24 14:51:39 +01:00 |
|
Richard Davey
|
2bd45865d4
|
Stack restore working. Time to try invertAlpha.
|
2019-04-24 14:38:24 +01:00 |
|
Richard Davey
|
ac3fac4ab6
|
UpdateList.remove will now move the removed child to the internal _pendingRemoval array, instead of slicing it directly out of the active list. The pending list is cleared at the start of the next game frame. Fix #4365
|
2019-04-24 13:58:05 +01:00 |
|
Richard Davey
|
11c1b458fa
|
Phaser.Physics.Arcade.Events is now exposed in the namespace, preventing it from erroring if you use them in TypeScript. Fix #4481
|
2019-04-24 13:44:57 +01:00 |
|
Richard Davey
|
64532d8d7b
|
InputPlugin.clear has a new argument skipQueue which is used to avoid clearing a Game Object twice. This, combined with the fix for 4463 means you will no longer get a Cannot read property 'dragState' error if you destroy a Game Object enabled for drag where another draggable object exists. Fix #4228
|
2019-04-24 13:38:40 +01:00 |
|