GLBasic forum

Main forum => GLBasic - en => Topic started by: fjsantosb on 2010-Jun-16

Title: MultiTouch
Post by: fjsantosb on 2010-Jun-16
Hi There,

I am currently working on Exodus HD for iPad, which we will include MultiTouch (for multiplayer).

So I have been 'playing' with 'multi mouse'.

First of all, i have been surprised that iPad has only 5 multi mouse controls (which means only 5 ships can be managed at the same time).

The real problem here, is when you touch iPad with finger number six, cause all 5 multi mouse coordinates, seems to be reset to the six one!

From my point of view, rest of touch after 5, must not do anything, nor reset rest of coordinates!!

Anyone have any workaround for this?

King Regards, fjsantos.
Title: Re: MultiTouch
Post by: Kitty Hello on 2010-Jun-16
It's an internal problem. I limited the mice to 5, because I thought you won't have more than 5 fingers on an iPod. iPad is different. I'll try to increase that to .. 16?
Title: Re: MultiTouch
Post by: fjsantosb on 2010-Jun-16
Hi Gernot!

16 mouses will be great!! I don't know exactly how much mouses can be management on iPad, I will try to inform of that.

And what about the behavior of 'reset' all mouses after the limit?

Thanks once more time for your support Gernot!

King Regards, fjsantos.
Title: Re: MultiTouch
Post by: Kitty Hello on 2010-Jun-16
I "reset" them, because I think I got into some serious trouble when the maximum count succeeds.
I've just seen that the iPhone controller can't handle more than 5 touch events. (Might be old information). I'll have to check up to how many touches you can handle on the iPad and will fix it then.
Title: Re: MultiTouch
Post by: Slydog on 2010-Jun-16
According to:
http://iphonedevelopment.blogspot.com/2010/04/ipad-max-touches.html (http://iphonedevelopment.blogspot.com/2010/04/ipad-max-touches.html)

they say the iPhone has 5 maximum touches, and the iPad has 11 maximum touches.

(11 touches eh? um . . . where does Steve Jobs buy his gloves?)
Title: Re: MultiTouch
Post by: fjsantosb on 2010-Jun-16
Thanks for the info @Slydog!

That a pretty rare number, but anyway with 11 will be more that enough.

It's possible do nothing when maximum touches are reached?

King Regards, fjsantos.
Title: Re: MultiTouch
Post by: aonyn on 2010-Jun-17
nose? (hopefully) :S

Note to self: If I ever meet ole Steve, don't try his iPad.
Title: Re: MultiTouch
Post by: Kitty Hello on 2010-Jun-17
OK, I'll have the 16 built in then.
Title: Re: MultiTouch
Post by: matchy on 2010-Jun-17
This is a creative issue where a game could involved multiple players and inputs. For example, an extreme design would be a piano app game for four players. That's 40 mouse inputs!
Title: Re: MultiTouch
Post by: Kitty Hello on 2010-Jun-17
NOPE!!! You play a piano by max. 2 players, each 10 fingers, usually just 3 at a time, which is.... 12 then
Title: Re: MultiTouch
Post by: matchy on 2010-Jun-17
Alright then but aside from a piano, another  :puke: extreme :puke: example of a game could have 4 players with 10 fingers at one time such as the floor game Twister. It is also possible to activate the screen like with mechanics like the mini Mame cabinet or multiple robot fingers.