How do I import and attach a PNG or GIF to a shape in Box2dWeb?
The best resource I could find online is at: http://www.jeremyhubble.com/box2d.html
However, this "tutorial" doesn't give much explanation about how images are actually used. So it is clearly possible, but I can't get the userData trick to work.
Thanks!
The best resource I could find online is at: http://www.jeremyhubble.com/box2d.html
However, this "tutorial" doesn't give much explanation about how images are actually used. So it is clearly possible, but I can't get the userData trick to work.
Thanks!