-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Spine Game object above an ellipse in the displayList makes every sprite blue #5493
Copy link
Copy link
Closed
Labels
🐛 SpineAn issue arising from the Spine runtimeAn issue arising from the Spine runtime
Description
Version
- Phaser Version: 3.51.0
- Operating system: Windows
Description
if a spine Game object is above an ellipse game object in the displayList every sprite/image becomes purely blue
Example Test Code
class Example extends Phaser.Scene
{
constructor ()
{
super({
pack: {
files: [
{ type: 'scenePlugin', key: 'SpinePlugin', url: 'plugins/3.8.95/SpinePluginDebug.js', sceneKey: 'spine' }
]
}
});
}
preload ()
{
this.load.image('logo', 'assets/sprites/phaser.png');
this.load.setPath('assets/spine/3.8/demos/');
this.load.spine('set1', 'demos.json', [ 'atlas1.atlas' ], true);
}
create ()
{
this.add.image(0, 0, 'logo').setOrigin(0);
const boy = this.add.spine(460, 600, 'set1.spineboy', 'idle', true);
const circle = this.add.ellipse(130, 200, 250, 250, 0xffffff);
this.sys.displayList.bringToTop(boy);
}
}
const config = {
type: Phaser.WEBGL,
parent: 'phaser-example',
width: 800,
height: 600,
backgroundColor: '#2d2d2d',
scene: Example
};
const game = new Phaser.Game(config);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐛 SpineAn issue arising from the Spine runtimeAn issue arising from the Spine runtime
