Rounded/Beveled Box Corners

TouchTiltGamesTouchTiltGames Member Posts: 1,162
edited December 2011 in Working with GS (Mac)
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...

Comments

  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    Or even angled edges...or if anyone has other tricks to share to build out landscape collision.
  • evilGoldfishevilGoldfish Member Posts: 4
    I'm looking for the same thing, and I don't think it's possible. All I can think of is using multiple shapes for the desired effect.
    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.
Sign In or Register to comment.