[maemo-developers] [maemo-developers] pygame -- problems with initializing screen display

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Tue May 16 08:14:05 EEST 2006
On 5/15/06, Christine Liu <liuliuliu at gmail.com> wrote:
> hello all -
> thanks for the supportive community.
> having issues with pygame on my nokia 770:
> Nokia770-51:/home/user# python2.4 ballbounce.py
> Traceback (most recent call last):
>   File "ballbounce.py", line 8, in ?
>     screen = pygame.display.set_mode(size)
> pygame.error: No video mode large enough for 320x240
> i was having this error earlier on -- it doesnt like setting the
> screen size! even if it's very obviously small, like 10 x 10 pixels,
> or the fully correct res, 800 x 480. strange.

Not at all strange, since


states that

"The screen is natively 800x480. No resolution changes are supported.
Maybe in the future we might have support for 400x240 res for faster
graphics but this is quite unlikely. If trying to set fullscreen
window smaller than the native screen size, you will just have black

So the options are to either leave the edges there or scale the game
up to 800x480.

Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
More information about the maemo-developers mailing list