Nine-slice collision doesn't work.

I tried to make a box object that has nineslice with precise collision, the object shows up fine but the collision doesn't, does anyone have any idea?
B.T.W I am using image_xscale and image_yscale to scale the object.
 

rIKmAN

Member
To quickly visualise it try using draw_rectangle with the bbox_* values and see if it aligns with the nineslice.

Make sure to draw the rectangle after drawing the sprite so that it will appear on top and not be hidden underneath.
 

Vusur

Member
Doesn't work at all or not like you expected?
The collision mask for nine-slice is/was quite fishy. I remember this thread
Maybe you have a similar problem?
 
Top