trouble with multi touch (air hockey styled game)
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!
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
-
RThurman Posts: 2,881
Here is a modification of the pong template that might help. Its basically testing to see which side of the screen is being touched.
http://www.mediafire.com/download.php?iel0wil1dpim512
Hope this helps!
RThurman
Answers
jack(@)thermo-apps.com