Re: get_mouse() in mode 19
- Posted by Tuxedo Mask <nitrogen at XTRA.CO.NZ> Dec 11, 1997
- 668 views
Michael Packard wrote: > > hi. I need to get the mouse coordinates in 320x200x256 color mode. I do > a x1=get_mouse() and check to see if x1 is a sequence then get x1[2] and > x1[3] for the x and y coordinates. How come my x coordinates are twice > what they should be? (i.e. at 100,50 x1[2]=200) the y is correct and > ranges from 0-200, but x ranges from 0 to 640 by 2's. > > Do I have a kludged mouse.e or is it supposed to work like that and not > mentioned in the manual? (I'm using 1.5 and I too think the FUPHORIA is a > STOOPID and malevolent thing to do to us when we try to play with an alpha > (or any) release. GR!) > > Michael Packard > Lord Generic Productions > (writing another game) You just need to divide the x position by 2, nothing wrong with your mouse... Unless we both have something wrong with our mouses ;) --Mark