azerion / phaser-spine

A plugin for Phaser 2 that adds Spine support
MIT License
121 stars 58 forks source link

How to set spine alpha? #105

Open vaion07281 opened 5 years ago

vaion07281 commented 5 years ago

Phaser 3.17.0 WebGL Plugin

I want to set spine alpha but it is not work

that is my code;

//@ts-ignore let spine= scene.add.spine(0, 0, 'spineKey', 'animation'); spine.play('animation', true); spine.alpha = 0.5;