db Radius/2 (x),Radius/2 (y)
The collision area of a single sprite can be changed in size and
shape. Usually, a single sprite's collision area is:
db 4,4
; radius/2
The reason for these values is: both X and Y coordinates have to
be input halved, and since 1/2 it's 8,8 and given a standard center
at
4,4, then a 16x16 pixel sprite has a collision area with radius 4,4. |
See also:
|