Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nilton_felicio on November 04, 2013, 03:02:18 PM

Title: Input.touches Touch Event object
Post by: nilton_felicio on November 04, 2013, 03:02:18 PM
He was wearing playmaker with Input.Touches actions. And I realized that the transitions are triggered by clicking anywhere on the screen. Wanted the action happens to touch the object in question. Sera I'm doing something wrong? I wanted something like "Device / Touch Event object," things only happen when I click on the object.
Title: Re: Input.touches Touch Event object
Post by: jeanfabre on November 05, 2013, 01:55:10 AM
Hi,

 For this, you either need to use a framework that provides a "per collider" touch event system, or some custom actions provided with playmaker, typically:

-- either you use the global system event "MOUSE DOWN", which works with touch input too, or the action "Touch object event" that would then fire your global event "DEVICE / TOUCH EVENT OBJECT",

Bye,

 Jean

Title: Re: Input.touches Touch Event object[SOLVED]
Post by: nilton_felicio on November 05, 2013, 06:50:50 AM
Thank you Jean. Misinterpreted as the use of touch functions. I thought you needed a framework.