How do I make only part of my sprite solid?

0 favourites
  • 5 posts
From the Asset Store
Smart UI Part 1 by Epic Stock Media is a one-of-a-kind collection of modern user interface sound effects.
  • I'm making a game in which the player have to move a basketball hoop to get balls that are falling and I wish only the rim of the hoop is solid

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can change Collusion Mask in image editor to adjust solid collusion to a specific shape, but in your case you will need two solid objects to make backside & frontside of the hoop.

    You could either split your hoop into two parts or just add two invisible solid objects & place them where you want collusion with the rim to happen.

  • and how do I do that XpMonster? I tried to change the shape of the polygons to touch only the rim but now I want to add two solid sprites to each side of the hoop for the ball to bounce and let the hoop sprites polygons in a certain shape for the ball to collide with it and disappear..

  • Example I made using Physics

    There is no difference what's to collusion if you want to use Solids for some reason.

    Here are collusion polygons.

    If you want ball to disappear, you will have to add another object where you want it to trigger that.

  • Thanks man I appreciate it! I did what I wanted setting two solid objects in the rim and setting the object's positions in the event sheet to specific image points!

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