precision on clicked/touched object

Get help using Construct 2

Post » Thu Sep 13, 2012 9:50 pm

Hello,
I'm using "on left button clicked" and "touched on" on a Sprite. My problem is that when I click the mouse or finger (for mobile) does not work well at all, seems to press right in the center of the object.
Is there any way that clicking anywhere on the object work?
Thanks!
B
6
Posts: 19
Reputation: 713

Post » Thu Sep 13, 2012 10:01 pm

Use the "on object clicked" or "on object touched" conditions.
Also it depends on the collision polygon of your object (when it is a sprite).
Make sure the polygon is large enough (possibly bounding box).
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sat Sep 15, 2012 3:02 pm

It's exactly what I use, but not accurately. you have to press in the center of the sprite. Do not you mean "Make sure the polygon is large enough (possibly bounding box)".
B
6
Posts: 19
Reputation: 713


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Colorfish, zenox98 and 27 guests