Active Topics

 


Reply
Thread Tools
Posts: 145 | Thanked: 304 times | Joined on Jan 2010 @ Milton Keynes, UK
#1
Hi All,

I'm working on a little Pygame, its running fine in windows and linux but on the n900 I need to create 480*800 fullscreen screen

I can create a 800*480 one but then everything is in landscape mode.

I can also create a 480*800 window and then by using the standard cntr+shift+r trick I can rotate that window...but I have to do that each and every time I run the script.

Is there a way to force PyGame to use Portrait mode instead of Landscape?

Many thanks
 

The Following User Says Thank You to jamiefuller For This Useful Post:
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#2
I haven't looked at it in a while, but when I made my little try with pygame, I left it in landscape fullscreen, and simply inverted the x and y coordinates for most functions.
There is probably a way to blit everything to a 480*800 image, and then rotate it 90 degrees to display on the 800*480 screen.
 

The Following User Says Thank You to Slocan For This Useful Post:
Posts: 145 | Thanked: 304 times | Joined on Jan 2010 @ Milton Keynes, UK
#3
thanks Slocan, I guessed as much...blitting it then rotating it works but too slowly....

I will have to rotate all my code, problem then is that I cannot use the standard text rendering from pygame =(
 
pursueky's Avatar
Posts: 191 | Thanked: 46 times | Joined on Jun 2010 @ NanJing China
#4
checked.....
good luck!
 
deyons's Avatar
Posts: 81 | Thanked: 46 times | Joined on May 2010 @ NewYork
#5
jamiefuller do you need help with graphics?
 

The Following User Says Thank You to deyons For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:00.