Richard Davey
|
4606f0b443
|
Merge pull request #4850 from rexrainbow/group-improvement
Add some action methods
|
2019-11-19 11:04:17 +00:00 |
|
Richard Davey
|
171ca39544
|
Merge pull request #4847 from rexrainbow/Action-of-scrollFactor
Add SetScrollFactor into Action and Group's createFromConfig
|
2019-11-19 10:55:16 +00:00 |
|
Richard Davey
|
e5f93738ca
|
Merge pull request #4807 from jcyuan/master
fix TS issues and fix the condition to check video support.
|
2019-11-19 10:49:09 +00:00 |
|
Richard Davey
|
1091d09d93
|
Video.destroy has been renamed to Video.preDestroy , so that it now destroys properly like all other Game Objects. Fix #4821
|
2019-11-18 22:20:08 +00:00 |
|
Richard Davey
|
9ff331e10e
|
Merge pull request #4829 from jsoref/spelling
Spelling
|
2019-11-18 21:47:26 +00:00 |
|
Richard Davey
|
50d9931c11
|
Added cached MIN/MAX SAFE INT for IE support #4833
|
2019-11-18 17:01:55 +00:00 |
|
Hua
|
f0c1d8f846
|
Add some action methods
|
2019-11-06 14:22:47 +08:00 |
|
Hua
|
53e9fd1465
|
Add SetScrollFactor into Action and Group's createFromConfig
|
2019-11-05 14:39:56 +08:00 |
|
Josh Soref
|
c0d92a56a7
|
spelling: will
|
2019-10-29 02:42:27 -04:00 |
|
Josh Soref
|
4a322dc7be
|
spelling: dynamic
|
2019-10-29 01:52:45 -04:00 |
|
Josh Soref
|
0b4a951cf5
|
spelling: discrepancies
|
2019-10-29 01:52:04 -04:00 |
|
J.C
|
9507ec7591
|
fix ts error, and update the output file.
|
2019-10-16 13:39:06 +08:00 |
|
Richard Davey
|
04bfe30255
|
Container.mask wouldn't render in WebGL due to a change in the way child masks were handled. Container masking now works again as in 3.19. Fix #4803
|
2019-10-15 11:29:47 +01:00 |
|
Richard Davey
|
c37a3634c0
|
UpdateList.shutdown wasn't removing the Scene Update event listener, causing actions to be multiplied on Scene restart (such as animation playback). Fix #4799
|
2019-10-15 11:18:36 +01:00 |
|
Richard Davey
|
28316ec4fe
|
Merged ProcessQueue docs
|
2019-10-11 18:53:11 +01:00 |
|
Richard Davey
|
c60530eedd
|
Removed commented-out code
|
2019-10-11 18:35:27 +01:00 |
|
Richard Davey
|
e8ac166ab2
|
Update UpdateList.js
|
2019-10-11 18:34:01 +01:00 |
|
Richard Davey
|
312797dc8e
|
JSDoc fixes
|
2019-10-11 18:29:55 +01:00 |
|
Richard Davey
|
39118a2778
|
Merge pull request #4700 from cristlee/master
add an optional textureData when initialize shader
|
2019-10-11 13:34:22 +01:00 |
|
Richard Davey
|
9656c9858c
|
Emit event after playback
|
2019-10-11 13:19:55 +01:00 |
|
Richard Davey
|
29f5acab15
|
Added all of the Video Events and completed the jsdocs
|
2019-10-11 12:26:24 +01:00 |
|
Richard Davey
|
0958df8592
|
Finished method jsdocs
|
2019-10-10 23:51:03 +01:00 |
|
Richard Davey
|
9b8bc99538
|
Lots of jsdocs added
|
2019-10-10 17:42:57 +01:00 |
|
Richard Davey
|
e3b4ec1b6f
|
Don't access currentTime if no video loaded
|
2019-10-10 14:26:19 +01:00 |
|
Richard Davey
|
dcdc219442
|
Added flipY support into saveTexture for use in shaders
|
2019-10-10 12:27:14 +01:00 |
|
Richard Davey
|
2fb190f023
|
changeSource works and loadURL works too
|
2019-10-09 17:42:51 +01:00 |
|
Richard Davey
|
bd7592a408
|
No URL in constructor
|
2019-10-09 17:42:37 +01:00 |
|
Richard Davey
|
bede5d29f0
|
Video source change now working
|
2019-10-09 15:31:37 +01:00 |
|
Richard Davey
|
e69c46d30e
|
Added snapshot methods.
|
2019-10-09 10:50:01 +01:00 |
|
Richard Davey
|
ed69ef6626
|
The GameObject.setTexture method can now accept either a string, in which case it looks for the texture in the Texture Manager, or a Texture instance, in which case that instance is set as the Game Object's texture.
|
2019-10-09 10:49:37 +01:00 |
|
Richard Davey
|
226a0f87ea
|
Video seeking only updates texture when the seek is complete and added marker support
|
2019-10-09 10:17:15 +01:00 |
|
Richard Davey
|
35dfd2fb30
|
Fixed noAudio
|
2019-10-09 00:40:09 +01:00 |
|
Richard Davey
|
5b98d5737e
|
Non-Promise support + seeking texture update
|
2019-10-08 17:44:01 +01:00 |
|
Richard Davey
|
5b34726e64
|
Refactored how pause / resume / play works and texture updating, much cleaner and more resilient
|
2019-10-08 17:15:26 +01:00 |
|
Richard Davey
|
5ac4afb1f8
|
Getting autoplay working
|
2019-10-07 17:08:45 +01:00 |
|
Richard Davey
|
07a2a81263
|
grab and saveToTexture methods now work
|
2019-10-04 13:40:42 +01:00 |
|
Richard Davey
|
633af46f71
|
Removed snapshot and handled locked and unlocked playback
|
2019-10-04 13:14:32 +01:00 |
|
Richard Davey
|
3d31e27926
|
Don't render if there's no texture
|
2019-10-04 13:14:06 +01:00 |
|
Richard Davey
|
6b67862cb7
|
Finally resolved webgl texture issues when loaded too early
|
2019-10-04 00:58:43 +01:00 |
|
Richard Davey
|
800381b7fc
|
Better handling of texture creation
|
2019-10-03 17:51:11 +01:00 |
|
Richard Davey
|
9989f271d4
|
Pass in the key and url
|
2019-10-03 17:50:42 +01:00 |
|
Richard Davey
|
9429f66adb
|
Added first pass at Video Game Object
|
2019-10-03 02:29:05 +01:00 |
|
Richard Davey
|
3ab903b3c5
|
UpdateList now extends ProcessQueue and uses all of its methods instead.
|
2019-10-02 12:13:43 +01:00 |
|
Richard Davey
|
ea75c5ca9a
|
Updated quad alpha checks
|
2019-10-02 10:11:07 +01:00 |
|
Richard Davey
|
a7a15bcb4d
|
Merge pull request #4715 from MrcSnm/master
Container now can apply alpha quads
|
2019-10-02 09:55:59 +01:00 |
|
Marcelo Silva Nascimento Mancini
|
b7166bba3b
|
ESLint correction
|
2019-10-01 16:11:29 -03:00 |
|
Richard Davey
|
be02c80be9
|
Origin and canvas renderer work again now. Fix #4108
|
2019-10-01 17:43:47 +01:00 |
|
Richard Davey
|
1a42c54398
|
Set image smoothing based on renderer or scale mode.
|
2019-10-01 16:10:50 +01:00 |
|
Richard Davey
|
d405bab92c
|
Set image smoothing based on renderer or scale mode.
|
2019-10-01 16:10:46 +01:00 |
|
FengLi
|
217d1daa2f
|
add an optional textureData when initialize shader
|
2019-10-01 22:52:35 +08:00 |
|
Richard Davey
|
b1b95c066b
|
The BuildGameObject function will no longer set scaleMode because it's not a valid Game Object property.
|
2019-10-01 14:54:52 +01:00 |
|
Richard Davey
|
55c73d399b
|
GameObject.ToJSON will no longer output the scaleMode in the json because it's not a valid Game Object property.
|
2019-10-01 14:41:58 +01:00 |
|
Richard Davey
|
ea7691518b
|
Use public property for blend mode check #4771
|
2019-10-01 14:08:13 +01:00 |
|
Richard Davey
|
5b6d9895be
|
TileSprites will now throw a console warning if you try to use a RenderTexture or GLTexture as their frame source. Fix #4719
|
2019-10-01 13:37:37 +01:00 |
|
Hua
|
8a9e74ffe9
|
Add tint feature of bob
|
2019-10-01 10:17:14 +08:00 |
|
Richard Davey
|
487ec88529
|
RenderTexture.fill wasn't setting the camera up before drawing the fill rect, causing it to appear in the wrong place and the wrong size. Fix #4390
|
2019-09-30 15:08:53 +01:00 |
|
Richard Davey
|
cde1210523
|
The Container WebGLRenderer will now handle child new type switching, allowing you to carry on with a batch of same-type Game Objects even if they're nested within Containers. Fix #4710
|
2019-09-27 15:41:51 +01:00 |
|
Richard Davey
|
f3e18000f2
|
Merge pull request #4760 from rexrainbow/blitter-enhancement
Set dirty flag only when render state of bob is changed
|
2019-09-26 12:32:34 +01:00 |
|
Rex
|
6deec2c44b
|
Also resize hit-area when resizing
|
2019-09-21 20:24:26 +08:00 |
|
Rex
|
08a2082d46
|
Update display-origin when resizing
|
2019-09-21 20:21:09 +08:00 |
|
Rex
|
7795713ab5
|
Set dirty flag only when render state of bob is changed
|
2019-09-21 20:15:56 +08:00 |
|
Richard Davey
|
5c04e20b20
|
The private Shader._savedKey property has been removed as it wasn't used anywhere internally.
|
2019-09-20 14:48:41 +01:00 |
|
Richard Davey
|
bc5c7cf7ab
|
When calling Shader.setRenderToTexture() it will now draw the shader just once, immediately to the texture, to avoid the texture being blank for a single frame (thanks Kyle)
|
2019-09-19 23:32:40 +01:00 |
|
Nicolas Ferrero
|
18060a841e
|
RenderTexture would not update texture size on resize
|
2019-09-10 17:03:52 +03:00 |
|
Richard Davey
|
fc5630cb72
|
The displayWidth and height should never be negative.
|
2019-08-30 19:35:52 +01:00 |
|
Richard Davey
|
6887e7b4f0
|
JSDoc fix
|
2019-08-28 12:00:19 +01:00 |
|
=
|
e7cce944dd
|
Container now can apply alpha quads
|
2019-08-19 13:26:14 -03:00 |
|
Richard Davey
|
7d2eaae693
|
The Container renderer functions will now read the childs alpha property, instead of _alpha , allowing it to work with more variety of custom children.
|
2019-08-08 14:03:23 +01:00 |
|
Richard Davey
|
717258e3f1
|
Docs update
|
2019-08-05 14:07:36 +01:00 |
|
Richard Davey
|
9f15b5a96b
|
Removed scale abs, as deeper effects unknown
|
2019-08-03 11:08:22 +01:00 |
|
Richard Davey
|
cc85ec1d35
|
Fixed scaleX and scaleY
|
2019-08-02 17:28:46 +01:00 |
|
Richard Davey
|
c1767e404f
|
Fixed scaleX and scaleY to handle negative scales and added rotation fix
|
2019-08-02 01:50:02 +01:00 |
|
Richard Davey
|
6e2d22e5cb
|
jsdoc update
|
2019-08-01 17:44:20 +01:00 |
|
Richard Davey
|
718f75b797
|
TransformMatrix.rotation now returns the properly normalized rotation value
|
2019-07-26 14:20:38 +01:00 |
|
Richard Davey
|
14faabcadf
|
Updated docs
|
2019-07-26 14:19:44 +01:00 |
|
Richard Davey
|
f4002471d7
|
Updated context lost / restored handlers
|
2019-07-17 16:38:00 +01:00 |
|
Richard Davey
|
80c0f59b09
|
GameObjectCreator.remove is a new static function that will remove a custom Game Object creator type.
|
2019-07-17 14:36:10 +01:00 |
|
Richard Davey
|
4887696bfa
|
GameObjectFactory.remove is a new static function that will remove a custom Game Object factory type.
|
2019-07-17 14:36:02 +01:00 |
|
Richard Davey
|
907d0dd4f2
|
Render Texture snapshot methods now work across WebGL and Canvas
|
2019-07-15 17:03:04 +01:00 |
|
Richard Davey
|
41d007fe67
|
Origin.updateDisplayOrigin no longer applies a Math.floor to the display origins, allowing you to have a 0.x origin for a Game Object that only has a width or height of 1. This fixes issues with things like 1x1 rectangles displaying incorrectly during rendering.
|
2019-07-15 16:30:08 +01:00 |
|
Richard Davey
|
15d7b9c6ef
|
Fixed jsdoc typos and added single pixel support
|
2019-07-14 13:56:44 +01:00 |
|
Richard Davey
|
4d61aa8556
|
Added the new methods snapshot, snapshotArea and snapshotPixel
|
2019-07-13 15:21:13 +01:00 |
|
Hua
|
7134a1ef7b
|
Remove event hook of children when destroyChildren is false
|
2019-07-10 15:59:25 +08:00 |
|
Richard Davey
|
f71920646c
|
Shader.uniforms now uses Extend instead of Clone to perform a deep object copy, instead of a shallow one, avoiding multiple instances of the same shader sharing uniforms. Fix #4641
|
2019-07-08 13:03:39 +01:00 |
|
Richard Davey
|
5416deaa54
|
The UpdateList.remove method wouldn't flag the Game Object for removal properly if it was active. It now checks that the Game Object is in the current update list and hasn't already been inserted into the 'pending removal' list before flagging it. Fix #4544
|
2019-07-03 15:47:40 +01:00 |
|
Richard Davey
|
deca3c95a3
|
Calling Animation.setRepeat() wouldn't reset the repeatCounter properly, causing Sprite bound animation instances to fail to change their repeat rate. Fix #4553
|
2019-07-03 15:33:13 +01:00 |
|
Richard Davey
|
83e54cfb16
|
The Animation component will no longer start an animation on a Sprite if the animation doesn't exist. Previously it would throw an error saying "Unable to read the property getFirstTick of null".
|
2019-07-03 12:02:56 +01:00 |
|
Richard Davey
|
0d8a9bb7ae
|
Fixed TextSyle typo. Fix #4630
|
2019-07-02 12:32:29 +01:00 |
|
Rex
|
fa6eb360dc
|
Fix render offset issue
- Fix render offset issue
- Fix size issue when setting radius
|
2019-06-29 00:03:08 +08:00 |
|
Richard Davey
|
f792f13d7a
|
Added new quantity property to GroupCreateConfig
|
2019-06-28 11:14:59 +01:00 |
|
Richard Davey
|
a79da485c3
|
Added glTexture property
|
2019-06-26 00:36:40 +01:00 |
|
Richard Davey
|
fc3c93b578
|
Added flipY argument
|
2019-06-26 00:35:42 +01:00 |
|
Richard Davey
|
356c57c07b
|
The Shader will no longer set uniforms if the values are null , saving on GL ops.
|
2019-06-25 22:49:30 +01:00 |
|
Richard Davey
|
280e0e2744
|
Abort filter checks if renderToTexture
|
2019-06-25 10:10:00 +01:00 |
|
Richard Davey
|
63ac456c45
|
Flag swap
|
2019-06-24 14:42:34 +01:00 |
|
Richard Davey
|
a3763d1468
|
Added setSampler2DBuffer method and willRender override.
|
2019-06-24 12:31:47 +01:00 |
|
Richard Davey
|
33e15dca48
|
Marked argument as optional. Fix #4607
|
2019-06-22 11:38:24 +01:00 |
|
Richard Davey
|
96f96a7258
|
Opps! Clear the texture :)
|
2019-06-21 17:20:15 +01:00 |
|
Richard Davey
|
9d94e35e91
|
If a GLTexture is given as a sampler2D it will extract the textureData from it correctly
|
2019-06-21 16:35:31 +01:00 |
|
Richard Davey
|
ba0c380109
|
Support rendering a shader to a texture instead of the display list
|
2019-06-21 16:08:29 +01:00 |
|
Richard Davey
|
22b107b903
|
Added setRenderToTexture method and supporting properties
|
2019-06-21 16:08:14 +01:00 |
|
Richard Davey
|
9a6fe49000
|
Typo
|
2019-06-21 12:25:08 +01:00 |
|
Richard Davey
|
5fa4264219
|
Added new Transform.getParentRotation method
|
2019-06-19 10:40:47 +01:00 |
|
Richard Davey
|
f5cae5a48b
|
Added in Text justification feature. Fix #4291
|
2019-06-19 09:46:32 +01:00 |
|
Richard Davey
|
2e64f4c5cc
|
Merge pull request #4588 from rexrainbow/master
Update displayOriginX, displayOriginY after size changed
|
2019-06-19 09:25:38 +01:00 |
|
Richard Davey
|
aa7f4da0d9
|
Merge pull request #4587 from samme/fix/emitter-op-random
Fix EmitterOp config with { random: false }
|
2019-06-19 09:24:20 +01:00 |
|
Richard Davey
|
a786298c66
|
Updated Line docs. #4590
|
2019-06-12 23:20:22 +01:00 |
|
Hua
|
da617f364d
|
Update displayOriginX, displayOriginY after size changed
|
2019-06-12 13:54:27 +08:00 |
|
samme
|
df3953e604
|
Require truthy random value for randomness
|
2019-06-11 11:38:29 -07:00 |
|
Richard Davey
|
13180b9a9a
|
If you had a Graphics object in the display list immediately after an object with a Bitmap Mask it would throw an error Uncaught TypeError: Cannot set property 'TL' of undefined . Fix #4581
|
2019-06-11 17:58:57 +01:00 |
|
Richard Davey
|
423a9e5003
|
Implent Grid canvas rendering! Fix #4585
|
2019-06-11 16:45:13 +01:00 |
|
Richard Davey
|
eb73b51cd8
|
Allow for color and alpha overrides
|
2019-06-11 16:44:55 +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 |
|
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
|
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
|
8968b2179c
|
Added GameObject.scale transform property for a unified scale setter
|
2019-06-05 15:30:23 +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 |
|
samme
|
d3407c5e44
|
Add EmitterOpOnEmitType and EmitterOpOnUpdateType
Also some corrections in ParticleEmitterConfig docs
|
2019-06-01 13:33:06 -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
|
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
|
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 |
|
Richard Davey
|
df0b474638
|
Added getTopCenter, getBottomCenter, getLeftCenter and getRightCenter
|
2019-05-29 16:27:31 +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 |
|
samme
|
c3c11652ef
|
Merge branch 'master' of https://github.com/photonstorm/phaser into types/group-classType
|
2019-05-28 09:16:27 -07: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 |
|
samme
|
8e717d5588
|
Remove GroupClassTypeConstructor type
|
2019-05-23 15:10:40 -07: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
|
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
|
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 |
|
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 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +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
|
a6341a97a8
|
Fixed Types references
|
2019-05-09 15:32:53 +01:00 |
|
Antoine Pous
|
ce1577bcc3
|
JSDoc fix returned object type
|
2019-05-09 15:20:37 +02: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
|
2b073cba51
|
Actions Types
|
2019-05-09 11:44:01 +01:00 |
|
Richard Davey
|
4092056e84
|
Fixed namespace
|
2019-05-09 11:05:42 +01:00 |
|
Richard Davey
|
ad09a18133
|
Finished JSDocs
|
2019-05-08 21:49:36 +01:00 |
|
Richard Davey
|
64572c430c
|
Finished JSDocs for all DOM Element methods and properties
|
2019-05-08 17:35:35 +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
|
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
|
abccac28f8
|
Can pass in either a BaseShader or a string
|
2019-05-01 17:04:53 +01:00 |
|
Richard Davey
|
b22f5ce5fd
|
Improved jsdocs
|
2019-05-01 12:59:05 +01:00 |
|
Richard Davey
|
4edd77275a
|
Removed funcmap and moved to renderer. Finished method jsdocs.
|
2019-05-01 12:30:09 +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
|
de7c804c47
|
Shaders can now easily handle sampler2D uniforms
|
2019-05-01 00:05:52 +01:00 |
|
Richard Davey
|
0ebdf7073c
|
Optional texture key array
|
2019-05-01 00:05:22 +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 |
|
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
|
e07248a403
|
Use proper elapsed time for the shader
|
2019-04-26 19:13:45 +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
|
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
|
7d74425491
|
Added new Shader Game Object
|
2019-04-25 03:15:51 +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
|
f4a86fd368
|
The Container.setScrollFactor method has a new optional argument updateChildren . If set, it will change the scrollFactor values of all the Container children as well as the Container. Fix #4466 #4475
|
2019-04-24 12:09:16 +01:00 |
|
Richard Davey
|
53c14df798
|
Changing any aspect of a Text object, such as the font size or content, wouldn't update its hitArea if it had been enabled for input, causing it to carry on using the old hit area size. Now, as long as the Text was created _without_ a custom hitArea, the hitArea size will be changed to match the new texture size on update. If you have provided your own custom hitArea shape, you need to modify it when the Text changes size yourself. Fix #4456
|
2019-04-24 11:21:36 +01:00 |
|
Richard Davey
|
f65f643a5f
|
Added setClassName method.
|
2019-04-23 11:21:26 +01:00 |
|
Richard Davey
|
e82e7c6ba0
|
Formatting fix
|
2019-04-18 17:55:49 +01:00 |
|
Richard Davey
|
7b438bfd3b
|
Copy paste fix
|
2019-04-18 17:55:42 +01:00 |
|
Hua
|
a05cd9377a
|
Update rectangle hitarea when updated text
|
2019-04-18 11:04:27 +08:00 |
|
Richard Davey
|
14d16b3c06
|
Add temp matrix to Graphics to avoid sharing issue during mask rendering
|
2019-04-15 23:38:09 +01:00 |
|
Richard Davey
|
78e1ef9df0
|
Particle Emitters and Containers can now have geometry masked children
|
2019-04-15 16:46:47 +01:00 |
|
Richard Davey
|
754ae7caa2
|
Particle Emitters can now be masked
|
2019-04-12 17:46:52 +01:00 |
|
Richard Davey
|
9dd3e7cd15
|
Added missing Mask component
|
2019-04-12 17:46:39 +01:00 |
|
Richard Davey
|
1a9f6130bf
|
Update DOMElementCSSRenderer.js
|
2019-04-09 23:43:47 +01:00 |
|
Richard Davey
|
a0c48596b3
|
Can now create dom elements on creation of the object.
|
2019-04-09 23:29:32 +01:00 |
|
Richard Davey
|
d823b7b49e
|
More flexible Factory function including element, style and innerText setters
|
2019-04-09 23:29:14 +01:00 |
|
Richard Davey
|
1b135b2efb
|
Tidying up CSS rendering
|
2019-04-09 23:28:56 +01:00 |
|
Richard Davey
|
950fc79e2e
|
Took DOM Element out of experimental and hooked to the Scale Manager
|
2019-04-09 23:28:40 +01:00 |
|
Richard Davey
|
9b29001449
|
Defaults should be false for closePath , not true .
|
2019-04-08 13:53:08 +01:00 |
|
Richard Davey
|
1995be80a2
|
GameObjects.Components.PathFollower is a new component that manages any type of Game Object following a path. The original Path Follower Game Object has been updated to use this new component directly, but it can be applied to any custom Game Object class.
|
2019-04-08 13:53:08 +01:00 |
|
Richard Davey
|
f0acd2dfaf
|
rgb fix, lint fix and no need for frame argument
|
2019-04-08 12:49:03 +01:00 |
|
Richard Davey
|
55959500d2
|
Update RenderTextureConfig.js
|
2019-04-08 12:44:37 +01:00 |
|
Richard Davey
|
7c0645c1b9
|
Merge branch 'master' into master
|
2019-04-08 12:44:04 +01:00 |
|
Richard Davey
|
19c0b47167
|
Removed Graphics.lineFxTo and moveFxTo and the associated commands.
|
2019-04-08 12:32:07 +01:00 |
|
Richard Davey
|
05fb7b28e0
|
Merge pull request #3979 from pixelpicosean/fix-graphics-fx-drawing
Fix graphics moveFxTo and lineFxTo not work
|
2019-04-08 12:18:09 +01:00 |
|
Richard Davey
|
340df7a748
|
jsdocs update
|
2019-04-08 11:45:19 +01:00 |
|
Richard Davey
|
00638ae9ee
|
Swapped to use GetValue instead.
|
2019-04-08 11:45:08 +01:00 |
|
Richard Davey
|
c89f9a9fde
|
Merge pull request #4195 from kensleebos/master
Fix for from/to in PathFollower.js
|
2019-04-08 11:40:26 +01:00 |
|
Richard Davey
|
d13e79a8db
|
Merge pull request #4427 from rexrainbow/master
Fix bug about counting height of text object
|
2019-04-05 17:25:27 +01:00 |
|
Richard Davey
|
f1e4ca58ed
|
strokePoints and fillPoints have no closePath argument.
|
2019-04-05 17:12:31 +01:00 |
|
Richard Davey
|
e017691c68
|
The ScaleMode Component has been removed from every Game Object, and along with it the scaleMode property and setScaleMode method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413
|
2019-03-24 23:07:27 +00:00 |
|
Hua
|
b562917490
|
Fix fixedWidth, fixedHeight assignment issue
|
2019-03-15 17:11:04 +08:00 |
|
Hua
|
3c75872335
|
Fix word wrap issue
|
2019-03-15 17:06:39 +08:00 |
|
Hua
|
a1d4417a7a
|
Fix bug about counting height of text object
Drawing lines might not equal to amount of lines
|
2019-03-15 14:31:05 +08:00 |
|
Richard Davey
|
3456e19815
|
Updated jsdocs
|
2019-03-05 09:20:30 +00:00 |
|
Richard Davey
|
8180764cca
|
Added jsdoc override for origin
|
2019-02-25 17:07:09 +00:00 |
|
Richard Davey
|
3bb73c5664
|
Fixed Group defs and completed Arcade Physics defs
|
2019-02-13 14:45:36 +00:00 |
|
Richard Davey
|
3938675d9f
|
Input typedefs
|
2019-02-13 14:17:36 +00:00 |
|
Richard Davey
|
c9bdb83941
|
GameObject and Loader typedefs
|
2019-02-13 13:57:59 +00:00 |
|
Richard Davey
|
70a87a576d
|
Some legacy instances of float moved to number .
|
2019-02-13 12:39:36 +00:00 |
|
Richard Davey
|
e7b1d086e7
|
Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
|
2019-02-13 12:35:12 +00:00 |
|
Richard Davey
|
b50e1c78b5
|
Lots more jsdoc tweaks and improvements
|
2019-02-12 15:01:54 +00:00 |
|
Richard Davey
|
4e817497d4
|
Namespace fixes
|
2019-02-12 12:48:41 +00:00 |
|
Richard Davey
|
ccaae460a4
|
Added jsdoc version numbers to each event
|
2019-02-12 11:37:58 +00:00 |
|
Richard Davey
|
d50475045d
|
Added Zone.setBlendMode method as a NOOP function, fixing a bug where if you added a Zone to a Container when running under Canvas it would fail. Fix #4295
|
2019-02-10 17:30:01 +00:00 |
|
Richard Davey
|
2467b624d0
|
Merge pull request #4350 from brian-lui/patch-1
Fix: Type declaration for blendMode
|
2019-02-08 13:37:53 +00:00 |
|
Richard Davey
|
f8c4252fcb
|
Tweaked setTileScale arguments
|
2019-02-08 12:13:01 +00:00 |
|
Brian Lui
|
af085646eb
|
Fix: Type declaration for blendMode
|
2019-02-08 15:58:18 +08:00 |
|
Richard Davey
|
05e3520048
|
The Mesh.setAlpha method has been restored, even though it's empty and does nothing, to prevent runtime errors when adding a Mesh or Quad object to a Container. Fix #4338 #4343
|
2019-02-06 23:36:05 +00:00 |
|
Richard Davey
|
81a5bbf2db
|
Updated jsdocs
|
2019-02-05 00:03:34 +00:00 |
|
Richard Davey
|
eb9ed3463f
|
Lots of namespace and jsdoc fixes
|
2019-02-01 18:02:58 +00:00 |
|
Richard Davey
|
348306cafb
|
Lots more jsdoc fixes and new documentation
|
2019-01-31 14:47:50 +00:00 |
|
Richard Davey
|
4f6f6ee72f
|
Lots of jsdoc and type fixes
|
2019-01-31 12:19:01 +00:00 |
|
Richard Davey
|
1a6ac029ac
|
Fixed Extern arguments, added as core and finished jsdocs.
|
2019-01-30 00:02:11 +00:00 |
|
Richard Davey
|
44f4ac3598
|
Type def fix
|
2019-01-29 23:49:23 +00:00 |
|
Richard Davey
|
ad70549c79
|
Move Extern to experimental
|
2019-01-28 16:40:41 +00:00 |
|
Richard Davey
|
91df0a4cb9
|
Fix pipeline reference
|
2019-01-28 16:40:24 +00:00 |
|
J.C
|
cb0f3e079c
|
add doc for the static method. BTW: have to admit that Phaser is absolutely well considered, even for such case that user probably make all BMFont atlas combined into one.
|
2019-01-25 11:02:38 +08:00 |
|
Richard Davey
|
22fcb75ac1
|
Formatting
|
2019-01-24 14:11:08 +00:00 |
|
Richard Davey
|
c221bb7165
|
Updated docs to clarify #4091
|
2019-01-24 14:10:55 +00:00 |
|
Richard Davey
|
fac2efedc4
|
Container + List.sort scope fixed and custom handler option added. Fix #4241
|
2019-01-24 11:04:36 +00:00 |
|
Richard Davey
|
dd53ffae7c
|
Merge pull request #4303 from clesquir/patch-1
Headless tilesprite crash fix
|
2019-01-23 21:49:11 +00:00 |
|
Cédric Lesquir
|
e40cb21fc8
|
Bail out updateTileTexture if no renderer
|
2019-01-22 11:23:40 -05:00 |
|
Richard Davey
|
ea9678cc85
|
Removed TextStyle auto-quotes and added docs instead.
|
2019-01-22 14:02:25 +00:00 |
|
Cédric Lesquir
|
cd6488e8db
|
Headless tilesprite crash fix
Fixes issue https://github.com/photonstorm/phaser/issues/4297
|
2019-01-19 16:50:36 -05:00 |
|
Richard Davey
|
36d86abd48
|
Added Camera Fade and Game Object Destroy events.
|
2019-01-18 14:21:45 +00:00 |
|
Richard Davey
|
bc962c25dc
|
All listeners use the new Events
|
2019-01-18 13:41:43 +00:00 |
|
Richard Davey
|
3e48021903
|
Clarified docs
|
2019-01-16 12:13:04 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
11ed074450
|
Refactoring how events are handled internally and in the docs
|
2019-01-15 14:37:24 +00:00 |
|
Richard Davey
|
79dc611b95
|
Quote the font family in Text objects.
|
2019-01-12 16:31:48 +00:00 |
|
Richard Davey
|
49c2868746
|
All default width/height values are now taken from the Scale Manager, not the Game Config
|
2019-01-11 15:57:57 +00:00 |
|
Richard Davey
|
874929d807
|
Merge pull request #4250 from jcyuan/Branch_v3.15.1
doc improvement & minor bug fix
|
2019-01-04 13:15:20 +00:00 |
|
Omar Shehata
|
9a77301e08
|
Fix jsdoc syntax
|
2018-12-26 10:43:57 -05:00 |
|
J.C
|
580cc36ad4
|
Merge branch 'master' into Branch_v3.15.1
|
2018-12-20 12:42:25 +08:00 |
|
J.C
|
f09e777f84
|
1, GetFirstElement -> should be GetFirst
2, doc fix
|
2018-12-20 11:11:56 +08:00 |
|
Richard Davey
|
cb57425a34
|
The Alpha, Flip and Origin components have been removed from the Mesh Game Object (and by extension, Quad as well) as they are not used in the renderer and should be manipulated via the Mesh properties. Fix #4188
|
2018-12-18 15:47:07 +00:00 |
|
Richard Davey
|
a2723249a3
|
CanvasTexture.destroy is a new method that specifically handles the destruction of the CanvasTexture and all of its associated typed arrays. This prevents a memory leak when creating and destroying lots of RenderTextures (which are CanvasTexture backed). Fix #4239
|
2018-12-18 15:21:24 +00:00 |
|
Richard Davey
|
c882b52a3a
|
Fixed an issue where changing the viewport or size of a Camera belonging to a RenderTexture, it wouldn't impact the rendering and objects will still render outside of the viewport range. It's now converted to a proper gl scissor rect by the renderer, meaning you can limit the area rendered to by adjusting the internal Render Texture cameras viewport. Fix #4243
|
2018-12-18 13:35:53 +00:00 |
|
Richard Davey
|
7ee0a717f5
|
Container.getFirst was using an incorrect Array Utils function GetFirstElement , when it should have been using GetFirst . It now uses the correct function. Fix #4244
|
2018-12-18 12:12:47 +00:00 |
|
Richard Davey
|
90c7d4d0e8
|
Removed un-needed argument
|
2018-12-18 12:12:38 +00:00 |
|
Richard Davey
|
56fa0a119e
|
RenderTexture.fill in WebGL would use gl.clear and a clear color to try and fill the Render Texture. This only worked for full-canvas sized RenderTextures that didn't have a camera zoom applied. It has now been swapped to use the drawFillRect method of the Texture Tint Pipeline, allowing it to work properly regardless of camera zoom or size.
|
2018-12-18 11:31:42 +00:00 |
|
Richard Davey
|
bc9d3511e1
|
When using RenderTexture.fill , the alpha argument would be ignored in Canvas mode. It's now used when filling the RenderTexture.
|
2018-12-18 09:55:23 +00:00 |
|
Richard Davey
|
1bf9be5e12
|
Animation.stop guard.
|
2018-12-13 13:03:54 +00:00 |
|
Richard Davey
|
7ea03169e7
|
Merge pull request #4183 from DottieDot/setFont-fix
setFont fix (also fixes #4141)
|
2018-12-12 11:30:38 +00:00 |
|
Richard Davey
|
5c6d1cbe17
|
Merge pull request #4214 from matosummer/master
Add link to bitmaptext
|
2018-12-12 11:27:00 +00:00 |
|
Richard Davey
|
4b27b37a0c
|
Added texture and unit arguments to batchQuad and batchTri , fixing the y2k bug.
|
2018-12-12 11:08:52 +00:00 |
|
Richard Davey
|
d70ecfca8c
|
Merge pull request #4215 from snowbillr/update-group-creator-and-factory-param-type
update type param for group factory and creator methods
|
2018-12-08 15:02:13 +00:00 |
|
Richard Davey
|
da0d9802de
|
Fixed typo
|
2018-12-06 16:59:53 +00:00 |
|
Richard Davey
|
2fe4d536a9
|
Updated docs
|
2018-12-06 15:59:22 +00:00 |
|
Richard Davey
|
e6f5d0144e
|
Added Animation.chain method to queue an animation to start when the current one ends.
|
2018-12-06 15:57:52 +00:00 |
|
Richard Davey
|
cd80b27ea6
|
Updated jsdocs
|
2018-12-06 15:39:57 +00:00 |
|
Richard Davey
|
8fe2e30635
|
Removed update event
|
2018-12-06 15:34:15 +00:00 |
|
Richard Davey
|
9e78553a48
|
reverse no longer needs the argument. play and playReverse can now take an Animation instance as an argument, not just a key.
|
2018-12-06 15:28:32 +00:00 |
|
Bill Reed
|
df9365cae6
|
update type param for group factory and creator methods
|
2018-12-05 11:32:47 -05:00 |
|
Mato
|
87be97aaf0
|
Add link to bitmaptext
|
2018-12-05 16:29:18 +07:00 |
|
Richard Davey
|
6f8759c186
|
Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0 ) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects.
|
2018-11-30 10:27:25 +00:00 |
|