Frothiny
Frothiny

Reputation: 71

python cocos2d change tile's image

-I'm using python and cocos2D

I have the file loading a tmx-map but now I want to change a specific tile to display an image from another file, I have saved the specific tile that I want to change in a variable but changing it I don't know how.

Thanks in advance

Upvotes: 0

Views: 277

Answers (1)

Frothiny
Frothiny

Reputation: 71

All I had to do was cell.tile.image = image

Upvotes: 1

Related Questions