On Sun, Jan 24, 2010 at 3:21 PM, Arnaud Bergeron <[email protected]> wrote:

> The basic problem is that if you create an initial window with an
> aspect ratio of says 4:3 and the user has a 16:10 screen, all is well
> is windowed mode.  But as soon as you switch to fullscreen then the
> drawing no longer has the proper aspect ratio and the mouse
> displacement is no longer properly mapped to what is on screen.

Mmmm... I don't see this effect.

I start a window of 800x600. If I resize the window, the "cocos
window" stays in the center, always with the same aspect ratio, with
black stripes above and below, or in the sides.

My screen is of 1920x1080: I switch to fullscreen (ctrl-f) and the
cocos screen goes big, with black stripes on the sides, still with the
same aspect ratio.

In all the cases, the mouse and the screen are mapped correctly. I'm
using test/test_coords.py to test it (you have to click in the small
white center on each circle, if you see the circle to fade out and in,
it's because the program recognized ok the coords).

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to