playMaker

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

nilton_felicio

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Input.touches Touch Event object
« on: November 04, 2013, 01: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: 15371
  • Official Playmaker Support
    • View Profile
Re: Input.touches Touch Event object
« Reply #1 on: November 04, 2013, 11:55:10 PM »
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
    • View Profile
Re: Input.touches Touch Event object[SOLVED]
« Reply #2 on: November 05, 2013, 04:50:50 AM »
Thank you Jean. Misinterpreted as the use of touch functions. I thought you needed a framework.