The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 ViewsUsing hitTest point on a fairly large movieclip
or
Using BitmapData.hitTest to a point on the same movieclip.
Should I just hitTestPoint the movieclip or convert it to a bitmap and check collisions?
BOOM HEADSHOT
At 3/3/10 11:28 PM, kizza0 wrote: Using hitTest point on a fairly large movieclip
or
Using BitmapData.hitTest to a point on the same movieclip.
Should I just hitTestPoint the movieclip or convert it to a bitmap and check collisions?
Obvious a bitmap hitTest would take longer since you would be doing many point to point collisions whereas a regular hittest would just check a collision with either the bounding box or a single point.
Its basically a tradeoff for either efficiency or accuracy.
:'(
BitmapHitTest does not have to be a bitmap to bitmap but rather a bitmap to either a rectangle, bitmap or POINT!
SO it can be used for just a point. Which on is faster? I don't know.
BOOM HEADSHOT