Answer the question
In order to leave comments, you need to log in
How to bind graphics to Nape in AS3?
Good afternoon!
Help me solve the problem, I decided to use Nape instead of Box2D in the application (the box slows down). Google search reveals what to write:
var box = new Body(BodyType.DYNAMIC);
var movic:MovieClip = new MovieClip(); //here is some movie with graphics
......................
box.graphic = movie;
So, it looks like there is no graphic in the new edition of Nape, then what should I use? Of course, I can write a crutch, but this will only pull even more difficulties
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question