mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
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.
This commit is contained in:
parent
695cb7e4e2
commit
949d882788
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ var Line = require('../../geom/line/Line');
|
|||
* @constructor
|
||||
* @since 3.13.0
|
||||
*
|
||||
* @extends Phaser.GameObjects.Components.Alpha
|
||||
* @extends Phaser.GameObjects.Components.AlphaSingle
|
||||
* @extends Phaser.GameObjects.Components.BlendMode
|
||||
* @extends Phaser.GameObjects.Components.ComputedSize
|
||||
* @extends Phaser.GameObjects.Components.Depth
|
||||
|
@ -41,7 +41,7 @@ var Shape = new Class({
|
|||
Extends: GameObject,
|
||||
|
||||
Mixins: [
|
||||
Components.Alpha,
|
||||
Components.AlphaSingle,
|
||||
Components.BlendMode,
|
||||
Components.ComputedSize,
|
||||
Components.Depth,
|
||||
|
|
Loading…
Add table
Reference in a new issue