If so, it seems not to be working :P
I noticed that too. According to Wiki it is, but I've not seen any evidence of that.
I had a problem with multi-touch. HTD Baseball code worked perfect on the iPhone, but on the Palm when I would pitch
and then press the bat button it worked the first time, but sometimes after, when I press the pitch button, the bat would also swing.
So I changed my code to this, and it works. Probably can be optimized.
batPressedA = FALSE
batPressedB = FALSE
IF (arcadeMode = TRUE OR homerunDerby = TRUE OR twoPlayerMode = TRUE)
IF ANIMCOLL(mousePointer, 0, mouse[0].x, mouse[0].y, batPitchButtons, 0, batPitchButtonsX, batPitchButtonsY) AND mouse[0].active THEN batPressedA = TRUE
IF ANIMCOLL(mousePointer, 0, mouse[1].x, mouse[1].y, batPitchButtons, 0, batPitchButtonsX, batPitchButtonsY) AND mouse[1].active THEN batPressedB = TRUE
IF (batPressedA OR batPressedB) AND swingTheBat = FALSE
swingTheBat = TRUE
PLAYSOUND (batSolenoidSnd, 0.0, batSolenoidVol)
ENDIF
ENDIF
what does NUMMICE return? NUMMOUSE? MOUSECOUNT? My brain....
I hve just found that my code uses a ?IFDEF IPHONE for mouse check, as I used mouse button #2 as 2nd mouse on PC for testing purposes.
Will check later changing the ?IFDEF WEBOS
PS: WEBOS defined as plattaform ID is not listed in help file.
PPSS: WEBOS is pronunced the exact same as the spanish word for EGGS (used also as balls/testicles). HUEVOS.
On the Pre, GETMOUSECOUNT always return 10, no matter what you press (or dont press).
This will, of course, need to be fixed before the Tablet comes out as that is multi-touch compliant :)
that's right! mousecount is ten, but not all mice might have the button pressed.
Quote from: ampos on 2011-Apr-07
I hve just found that my code uses a ?IFDEF IPHONE for mouse check, as I used mouse button #2 as 2nd mouse on PC for testing purposes.
Will check later changing the ?IFDEF WEBOS
PS: WEBOS defined as plattaform ID is not listed in help file.
PPSS: WEBOS is pronunced the exact same as the spanish word for EGGS (used also as balls/testicles). HUEVOS.
Multitouch works fine. It was the ?IFDEF IPHONE.
One problem out of the way :)
Even outside of GLBasic programs you can't see it is multi-touch - you don't get a "ripple" with the second touch if you are pressing the screen.