Multi-touch, collision, multiplayer

GameLabs222GameLabs222 Member Posts: 197
edited May 2013 in Working with GS (Mac)
So I've been trying to build a simple air hockey app for some time now, mostly for learning purposes.

My first goal was getting multi-touch, which I was able to do. And then move on to learning how to build an AI opponent (big step I know).

But before I moved on to AI I decided I didn't like the way the multi-touch was working for me. I decided to add some background images to my scene and realized that the system I had in place ignored collision, which prevented me from getting creative with my level design. So I decided I would find something else. So I discovered this about a month ago:

I like the way it shoots to your finger position so that touching the paddle isn't necessary, you just touch. However with this method the paddles get confused because you cannot constrain their x&y positions without losing collision rules... which is the whole point for me.

Does anyone see a way in which I could combine assigning multi-touch effectively with the above method in the video?

It would make things a whole lot easier if you could set something like "collision priority" over position while still constraining.
Sign In or Register to comment.