Expand collision polygon beyond sprite size

0 favourites
  • 5 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • Is it possible to do what the topic says?

    Would be handy on small drag and drop object..

    I know I could just do an invis object around the sprite, or expand the empty area around my graphics... but the polygon thing would probably be smarter!

  • As sound as you scale yur image also the collisions polygon get scaled. Why should you need something else ?

    But for sure an invis object arround the sprite would be a good idea. You could also make a Plugin for that.

  • The only way I can imagine doing it would be to see to it that the sprite does not fill the bounding box. The imported imaged would need to be small enough in relation to the bounding box. A lot of graphics programs auto crop on export. Sometimes I cheat by placing four small marks or dots in the corners of the image to set a crop size. I think it would be awesome if the image editor allowed you to scale the image and not the bounding box. It would also be really bitchen if the image editor could do onion skinning.

  • Make the sprite size bigger and do what you need, or simple make an invisible sprite with the size matching the polygon mask you needed and spawn and pin it on the object you want.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ty for your replies.

    Darklinki - If you dont't want to scale the graphics, but still want to be able to select it easily.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)