Richard Davey
|
2d3a87a3a6
|
Updated existing for TS defs. Fix #4941
|
2020-01-06 13:33:23 +00:00 |
|
Richard Davey
|
5e027f7031
|
Added JSDocs
|
2020-01-02 16:45:28 +00:00 |
|
Richard Davey
|
4892cc7feb
|
The Graphics Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the element, rather than a quad alpha, which never worked for these objects.
|
2019-12-28 17:37:13 +00:00 |
|
Richard Davey
|
6ffdacc959
|
The DOMElement Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the element, rather than a quad alpha, which never worked for these objects.
|
2019-12-28 17:37:04 +00:00 |
|
Richard Davey
|
e6464f6ad3
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2019-12-28 17:29:11 +00:00 |
|
Richard Davey
|
f0e7a9bcf9
|
The Container Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the container, rather than a quad alpha, which never worked consistently across Container children. Fix #4916
|
2019-12-28 17:27:31 +00:00 |
|
Richard Davey
|
949d882788
|
The Shape Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the shape, rather than a quad alpha, which never worked for Shape objects.
|
2019-12-28 17:27:15 +00:00 |
|
Richard Davey
|
695cb7e4e2
|
AlphaSingle is a new Game Object Component that allows a Game Object to set its alpha values, but only as a single uniform value, not on a per-quad basis.
|
2019-12-28 17:27:01 +00:00 |
|
Richard Davey
|
5130fccbf5
|
Merge pull request #4921 from samme/feature/emitter-remove
Add ParticleEmitter.remove() and ParticleEmitterManager#removeEmitter()
|
2019-12-28 16:35:07 +00:00 |
|
Richard Davey
|
5adf6382ff
|
Merge pull request #4922 from samme/feature/emitter-setTint
Add ParticleEmitter#setTint()
|
2019-12-28 16:33:39 +00:00 |
|
J.C
|
936563df11
|
Crop component is missing from RenderTexture class
|
2019-12-27 17:01:14 +08:00 |
|
samme
|
15506e0faf
|
Add ParticleEmitter.remove() and ParticleEmitterManager#removeEmitter()
|
2019-12-23 10:36:35 -08:00 |
|
samme
|
559c89eaf2
|
Add ParticleEmitter#setTint()
|
2019-12-23 09:25:35 -08:00 |
|
Richard Davey
|
66a25e2117
|
Setting lineSpacing in the Text Game Object style config would set the value but not apply it to the Text, leaving you to call updateText yourself. If set, it's now applied on instantiation. Fix #4901
|
2019-12-18 14:55:12 +00:00 |
|
Richard Davey
|
752999c92b
|
The Mesh and Quad Game Objects have had the GetBounds component removed as it cannot operate on a Mesh as they don't have origins. Fix #4902
|
2019-12-18 14:43:23 +00:00 |
|
Richard Davey
|
205bbab268
|
Merge pull request #4886 from rexrainbow/text-wrap
Don't add white space at last word of a line
|
2019-12-18 14:31:11 +00:00 |
|
Richard Davey
|
e5ab24ec8c
|
Merge pull request #4912 from javigaralva/add-gameobjectfactory-docs
Added doc for `GameObjectFactory.register` and `GameObjectFactory.remove`
|
2019-12-18 14:29:25 +00:00 |
|
Richard Davey
|
427d88ed79
|
Merge pull request #4913 from javigaralva/fix-doc-static-functions
Fix doc static functions
|
2019-12-18 14:28:51 +00:00 |
|
Javier García Álvarez
|
9d418eae73
|
Fixed jsdoc types to get TS definition intellisense.
|
2019-12-18 12:25:14 +01:00 |
|
Javier García Álvarez
|
e1d288a834
|
Add optional params to ParseFromAtlas doc
|
2019-12-18 12:22:30 +01:00 |
|
Javier García Álvarez
|
dbaf6f1f75
|
Fixed jsdocs @name to @method
|
2019-12-18 11:48:30 +01:00 |
|
Javier García Álvarez
|
718db273c2
|
Added doc for GameObjectFactory.register and GameObjectFactory.remove
|
2019-12-18 11:32:29 +01:00 |
|
Javier García Álvarez
|
7576c824af
|
Fixed semicolon in updateList doc
|
2019-12-18 10:38:44 +01:00 |
|
Chris Andrew
|
15ac5e736a
|
#4903 Clarified z position documentation by linking to depth GO component.
|
2019-12-09 16:57:05 +00:00 |
|
Hua
|
3c4cf8834e
|
Don't add white space at last word of a line
|
2019-11-27 13:09:07 +08:00 |
|
Richard Davey
|
7650c5535f
|
BitmapText with a maxWidth set wouldn't update the text correctly if it was modified post-creation. You can now update the text and/or width independantly and it'll update correctly. Fix #4881
|
2019-11-26 14:31:27 +00:00 |
|
Richard Davey
|
4a33c7b5c8
|
Don't reset text
|
2019-11-22 16:43:13 +00:00 |
|
Richard Davey
|
a7b3cd585d
|
Tidying up
|
2019-11-22 16:42:53 +00:00 |
|
Richard Davey
|
0d46c7107a
|
Fixed issue with carriage-returns not reflowing text
|
2019-11-22 16:42:43 +00:00 |
|
Richard Davey
|
4435791cc1
|
Updated to use current null approach
|
2019-11-22 13:54:07 +00:00 |
|
Richard Davey
|
28982fb7fc
|
Fixed word wrapping
|
2019-11-22 13:48:10 +00:00 |
|
Richard Davey
|
b297950875
|
Added wordWrapCharCode
|
2019-11-22 13:48:01 +00:00 |
|
Richard Davey
|
5b1401153c
|
Working through BitmapText wrapping
|
2019-11-21 17:11:43 +00:00 |
|
Richard Davey
|
ce2dbb7095
|
Merge pull request #4873 from samme/feature/group-type
Add `type` for Group, Arcade.Group, Arcade.StaticGroup
|
2019-11-20 21:54:10 +00:00 |
|
samme
|
8585541e15
|
Add type for Group, PhysicsGroup, StaticPhysicsGroup
|
2019-11-20 11:53:38 -08:00 |
|
Richard Davey
|
3eafac9f4f
|
lint fixes
|
2019-11-19 13:02:05 +00:00 |
|
Richard Davey
|
c37058ef4b
|
When calling TileSprite.setTexture or setFrame , if the new frame size didn't match the old one, the new fill pattern would become distorted and the potWidth and potHeight values would be incorrect.
|
2019-11-19 11:49:54 +00:00 |
|
Richard Davey
|
b95a6a45bd
|
Fixed some JSDocs resulting from #4850
|
2019-11-19 11:23:19 +00:00 |
|
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 |
|