XML Feeds

.

[jitter] Re: Tracking a mouse's co-ordinates inside a jit.window

David davechappers at gmail.com
Fri May 2 05:34:10 MDT 2008


Quote: bryanteoh wrote on Thu, 01 May 2008 12:22
----------------------------------------------------
> yes, when you go to fullscreen, send the coordinates to a [scale] object to confine the output to the same min and max coordinates that you were using in the pwindow.  if the x/y of the first window was 320 240, and the x/y of fullscreen is 800 600, then you'll use two scales.  for the x - [scale 0 800 0 320] y - [scale 0 600 0 240]
> 
> 
----------------------------------------------------

ah this is true. But the problem is if i then move to say my laptop the full screen scale will be wrong. Or is there away of just cementing the fullscreen at a certain resolution.
Like it is always 800 600 at fullscreen.
Or if not a way of adjust the scale for several diffrent screen resolutions


More information about the jitter mailing list