Rounded/Beveled Box Corners
Has anyone created rounded corners on a square actor with math?
I'm building out my landscape and using the (one and only) square actor to create the collision landscape over my graphical landscape for my square-shaped actor to go over - I can't use a circle actor. It's a real pain because even if it's 1 millionth of a pixel's nano meter off, the actor won't go over it. Using circular actors as the landscape won't work either because, as you all know, that requires graphics of all different shapes and they must all be perfect circles.
Sigh pixel collision...
I'm building out my landscape and using the (one and only) square actor to create the collision landscape over my graphical landscape for my square-shaped actor to go over - I can't use a circle actor. It's a real pain because even if it's 1 millionth of a pixel's nano meter off, the actor won't go over it. Using circular actors as the landscape won't work either because, as you all know, that requires graphics of all different shapes and they must all be perfect circles.
Sigh pixel collision...
Comments
I think you might be able to use an image, but the problem is then is that it wouldn't be resizable (pixellated corners), in other words you'd have to create a photoshop template and save a new image each time.