multiple calls on mouseDown events itgb BUG
by robert.landivar · in iTorque 2D · 04/14/2010 (6:16 am) · 3 replies
On the iPhone if i tap, it sends one onMouseDown call, but if i drag after clicking it send multiple onMouseDown events. Big problem since im trying to use it to tap through rules. So if the user happens to click and drag it "fast fowards" throught all the pages. Unfortunately i have not found a solution to this
edit:
easiest way to get around this is to use onMouseUp instead of onMouseDown
edit:
easiest way to get around this is to use onMouseUp instead of onMouseDown
About the author
New to torque and iphone programming Trying to port a game i created to raise money for skin cancer prevention
Recent Threads
#3
I have come across a similar issue.
I want to have a 2 dPad system, one for direction, one for rotation... It seems the iDevice can only handle one mouseEvent at a time. Any ideas of how to get over this?
edit,
I read, in this thread...
http://www.garagegames.com/community/forums/viewthread/84111
So my question is, is it safe to adjust the amount of touches the iTGB gui will take AND if so.. how?
09/29/2011 (10:01 am)
Hi there, I have come across a similar issue.
I want to have a 2 dPad system, one for direction, one for rotation... It seems the iDevice can only handle one mouseEvent at a time. Any ideas of how to get over this?
edit,
I read, in this thread...
http://www.garagegames.com/community/forums/viewthread/84111
Quote:
1) you can change the iTGB source to have ALL touches work like a mouse. iTGB will always make touch 0 work as such (as you prolly already know), you can check out the source and set all the touches to do that. Problem with that is that it may have undesired results, particularly a very sporadic cursor and perhaps some confusing mouseDown/mouseUp combinations.
So my question is, is it safe to adjust the amount of touches the iTGB gui will take AND if so.. how?
Torque Owner Isaac Barbosa
IQ Games