Another touching sensitivity problem (Light tap)

Well my game is based in tapping, I have the multitouch system working on it, but my tapping sensitivity is really bad, when I do a light tap the actor doesnt destroy, how do I make gamesalad to detect a light tap in my game so the actor will destroy?
Comments
If you have a rule that say ,
when touch is pressed do
A LOT OF THINGS
Than you may have some problems ,
Try to do something like this : create a self.attribute - boolean - call it "i was pressed"
In your actor give a rule ,
when touch is pressed:
Change self.i was pressed to TRUE .
Now make a new rule (NOT INSIDE THE TOUCH IS PRESSED RULE, BUT OUT SIDE)
When self.i was pressed is TRUE
Do bla bla bla.
Check to see if this solves your "Light Tap" issue
Roy.
Unfortunately there is no such thing as sensitivity in the screen, you either touch it or not (you can imitate sensitivity with the accelerometer but that's way too complicated )
Now there might be a problem with your multitouch system, what method did you use?
About my suggestion with the boolean, let me explain,
When you have a rule that say touch is pressed , it triggers only when you press the actor, meaning if you tapped the actor very fast, some rules inside the touch is pressed rule may not be triggered , cause the condition is not applied anymore.
Using what I suggested tells the actor that it has been pressed,
Now that the actor knows that it has been pressed it can perform all the action regarding if your finger is on it or not, I hope that makes sense.
so you say I should change my touch pressed for the boolean attribute? or I should use both in one rule and apply IF ANy of this is valid?
why not simply put when touch is pressed:
change "self.i was pressed" to true .
and now a new rule :
when self.i was pressed is true
Do what you want (particles , animation bla bla bla)
then make timer after 1 sec (or any delay you want) -> destroy
(if you don't do any animation or particles , no need for timer simply destroy)
what causing you to use the multitouch system you built?
Roy.
Meaning even if you put 2 fingers on the screen and use the 3rd finger to tap your balls it should work fine , try it before you are messing around with multi touch .
Roy.
You need to make the actor bigger , and make your image "bigger" but keep it in the same size , and use transparent for the extra .
Roy.
and for your second question just use the change image behavior
Just use photoshop gimp or whatever image program you use