@alchimya wrote:
Working with sprites and textures, when I use the setTextureRect() function (e.g.
mySprite.setTextureRect(cc.Rect(0, 0, w, h));
) I get the error:Uncaught TypeError: mySprite.setTextureRect is not a function
Where am I going wrong?
Many thanks,
Dom
Posts: 3
Participants: 2