Vladimir_spb
Member
Explain the code:
var _center = bbox_left+(bbox_right-bbox_left)*0.5;
for example, there is a 32x32 sprite, what is bbox_left -bbox_right?
var _center = bbox_left+(bbox_right-bbox_left)*0.5;
for example, there is a 32x32 sprite, what is bbox_left -bbox_right?