Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17080

Can't use setOpacity on TMXLayer

$
0
0

@Sindorius wrote:

Hello there. I have a TMXLayer* in my game and I am trying to gradually turn the opacity down from 255 to 0 by iteratively decreasing it by 5, but the opacity of the layer will not change from 255 no matter what. I can setVisible(false) but cannot actually change the opacity itself with setOpacity. Any ideas why? I have setCascadeOpacityEnabled(true) as well for the layer.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17080

Trending Articles