part of object is unclickable

Get help using Construct 2

Post » Wed Apr 13, 2016 1:04 pm

I'm making a game with drag and drop, but I have a problem. I'm using the drag and drop behavior, and it's working well except that only like half of the object surface is "clickable". You have to click on the top half of the hair in this case for it to work.

I know I can use an invisible sprite that is draggable and pin the hair to it, but it would be a lot easier if I could just do it this way and have the whole object be clickable.
Anyone have any idea on why it's doing this?
capx: https://dl.dropboxusercontent.com/u/624 ... phair.capx
B
10
S
3
Posts: 62
Reputation: 774

Post » Wed Apr 13, 2016 1:29 pm

Manual wrote:Set collision polygon
Set the collision shape for the image or frame. By default Construct 2 guesses a collision shape, but it is not always accurate. Click and drag the points of the collision polygon to alter its shape. Right-click to display a menu of additional options for the collision polygon, such as adding and deleting points.

Image
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Wed Apr 13, 2016 2:17 pm

wow thank you SO much, I had no idea that it guesses the collision shape! I just assumed that it's the same size as the png file. Thanks again!
B
10
S
3
Posts: 62
Reputation: 774


Return to How do I....?

Who is online

Users browsing this forum: sean080, Yahoo [Bot] and 17 guests