Log in

View Full Version : MSDN: Porting GAPI Games from Portrait to Square Screens


Darius Wey
04-23-2005, 04:15 AM
<div class='os_post_top_link'><a href='http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/portinggapigamesfromportraittosquarescreen.asp' target='_blank'>http://msdn.microsoft.com/library/d...quarescreen.asp</a><br /><br /></div><i>"In earlier versions of Pocket PCs, the Pocket PC screens had a standard portrait resolution of 240 x 320. While it is not a good idea to assume that an application will run on a specific resolution, developers wrote applications with this specific screen knowledge built into their applications. Many legacy applications support square resolutions (for example, 240 x 240) automatically through the use of scroll bars, but full-screen applications, namely games, do not. Game developers need to keep multiple resolutions in mind when they develop full-screen games if the games are to appear and run correctly on different screens."</i><br /><br />Since the introduction of the hw6500, many of you have questioned the compatibility of programs on a 240x240 square-screen Pocket PC. The introduction of the backwards compatibility layer has since allowed dialog-based applications to fit a square screen with the aid of scrollbars. Most applications support this, but as always, some do not. Many full-screen GAPI games tend to be non-accommodative for different screen resolutions based on the fact that they are not dialog-based applications. So while it's safe to assume that once the hw6500 is released, many programs will support it, you can still expect some problems along the way. Brian Cross' newly-published whitepaper describes the process of porting GAPI games over from portrait to square screens, so all you budding developers interested in ensuring program compatibility with square screens may want to check this out. <a href="http://www.microsoft.com/downloads/details.aspx?familyid=6a34dc83-c3ce-4a4c-ab83-491fd5729551&displaylang=en">This Windows Mobile Developer Resources package</a> may also help you in your quest. Happy coding!

Birdiestyle
04-26-2005, 12:18 AM
This article is rather funny in that it covers some rather trivial ideas, and attacks developers like they should have known better and not "Assumed" that the resolution would stay the same!

From everything developers were ever told right up until the release of SE, was that the 240x320 resolution was a hard and fast RULE for all Pocket PCs set by Microsoft. It wasnt going to change.... Why would we "assume" differently and add tons of code to handle square and other screens before that, when manufacturers werent allowed to build square screens....

Not a lot of help, and condescending...

Albegor
05-02-2005, 05:24 PM
Not a lot of help, and condescending...

Agreed, especially on the low quality of the doc...