EaselJS - Best way to detect collision
问题 I'm trying to find a good way for collision detection for my easelJS small app. I've just created 2 rectangle using createjs.Shape But after creating a rectangle shape, the API doesn't let me know the width and height of the rectangle (I don't know why). EaselJS Shape has a method called "hitTest" but it can only be used when you want to test collision of the shape and a point . //Here's the code http://jsfiddle.net/ZbZjL/16/. //Create a stage by getting a reference to the canvas stage = new