Ankit Bisht
Ankit Bisht

Reputation: 1269

Cocos2d-x rendering box2d objects with existing images

I want to apply texture to box2d object in cocos2d-x, but I want to use my own images.. For a single b2body I can do that but for filling b2EdgeShape with my own images I need help.. Whats the best way for that.... Thanks in advance..

Upvotes: 0

Views: 117

Answers (1)

GameDeveloper
GameDeveloper

Reputation: 1029

I'd say you should take a look at this: http://www.cocos2d-x.org/forums/6/topics/52726

This is a simple example and the author provides the source too.

Upvotes: 1

Related Questions