trouble with multi touch (air hockey styled game)

part12studiospart12studios Member Posts: 620
edited March 2012 in Working with GS (Mac)
So I have this air hockey game that is working well.. but for two player i am having trouble getting two paddles to respond independent.. seems that when one person holds their finger down it effectively blocks the other user from being able touch the screen..

I have tried two approaches.. one was to use constraints for two separate on-screen actors.. the other was to have two spaces each representing player 1 and player 2's and spawning the actor based on the mouse locations.. neither approach is very successful.

Any advice would be super helpful!

Best Answer

Answers

  • part12studiospart12studios Member Posts: 620
    awesome thanks! Ok so NOW i see what "touches" meant after all this time.. i'd never really followed what that meant. very cool! now to see if i can make it work in my game. Thanks for your help both of you!
  • part12studiospart12studios Member Posts: 620
    I do have a question though.. the template i got works based on the fact that the source actor is the same.. in my situation i have actors that must be distinct.. such as player 1 and player 2 paddles. there are conditions which track who touched the ball last.. i can get multi touch to work fine IF its a common actor.. but in the case of my game i cannot get the multi touch to work assigning actor 1 to touch1 and actor 2 to touch2.. is there a trick to this or is this impossible?
  • part12studiospart12studios Member Posts: 620
    edited March 2012
    thanks i'll totally try that! :)
Sign In or Register to comment.