cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.02k stars 7.05k forks source link

LayerColor::initWithColor(Color4B(128, 128, 128, 0))为什么是黑色,而不是透明背景 #20724

Closed tongzhp closed 2 years ago

tongzhp commented 2 years ago

Steps to Reproduce:

  1. spine运行库中,初始化LayerColor::initWithColor(Color4B(128, 128, 128, 0)),背景色不透明,为黑色