Hi, i need some solution to one thing. Lets say i have an box2d object with 90*90 dimensions and i have a picture “pic.png”, that is of 30*30 dimensions. I initialize it this way:
CCSprite *sprite = CCSprite::spriteWithFile("pic.png", CCRectMake(0, 0, 90, 90));
And of course that picture doesn’t fill the whole rect. So, do you have any thought/if it’s possible to repeat that texture to fill whole rect? Thank you.