playMaker

Author Topic: Input.touches Touch Event object  (Read 2103 times)

nilton_felicio

  • Playmaker Newbie
  • *
  • Posts: 16
Input.touches Touch Event object
« 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Input.touches Touch Event object
« Reply #1 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


nilton_felicio

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Input.touches Touch Event object[SOLVED]
« Reply #2 on: November 05, 2013, 06:50:50 AM »
Thank you Jean. Misinterpreted as the use of touch functions. I thought you needed a framework.