XNA Creators Club Online
Page 1 of 1 (5 items)
Sort Posts: Previous Next

Problem with 2D graphics on Xbox 360

Last post 05-07-2008 1:59 AM by Matt. 4 replies.
  • 05-06-2008 9:22 PM

    Problem with 2D graphics on Xbox 360

    Hi. So I have been working with XNA for a month or two now and I am pretty comfortable with 2D graphics. I have been running my game on the 360, and I can't get my graphics to look as good as I know the 360 is capable of. For those of you unfamiliar, the 360 does a sort of auto-scaling so the images you have on your computer appear about twice as big on the TV (at least with the way I am doing it). My problem is that when I get the images small enough to be the right size on the TV screen, they have poor resolution so they don't look very good. Does anyone have a recommendation for how to fix that? Should I be using a specific image type? Is there a (free or inexpensive) program I can use to save small images of high resolution? Any help is greatly appreciated, this has been a huge holdup for me. Thanks.

     

  • 05-06-2008 10:17 PM In reply to

    Re: Problem with 2D graphics on Xbox 360

    What do you use currently for image editing? My small team uses GIMP which is a great free solution for image editing. http://www.gimp.org/  I save in .png format though of course you can also use some other formats.  I am pretty sure most if not all of the samples and starter kits for 2D games that are on this site use .png for the file extension.
    http://twanks.spaces.live.com
  • 05-07-2008 1:20 AM In reply to

    Re: Problem with 2D graphics on Xbox 360

    What resolution are you setting the back buffer to?

    Try setting that higher - then the xbox won't have to scale things up so much.


    The ZBuffer News and information for XNA
    Please read the forum FAQs - Bug reporting
  • 05-07-2008 1:50 AM In reply to

    Re: Problem with 2D graphics on Xbox 360

    Thanks! I just downloaded GIMP and and going to start using that. As for the question:

    The ZMan [MVP/Moderator]:

    What resolution are you setting the back buffer to?

    I have no idea. What is a back buffer and how do I change it?

  • 05-07-2008 1:59 AM In reply to

    Re: Problem with 2D graphics on Xbox 360

    The back-buffer is what you are drawing too. You should set your backbuffer size to a good value, i think the default is 800x600 which is not so good. Maybe try 1280x720, a standard HDTV resolution. If you play the game on a non-HD tv, the XBox will scale it down for you :)

    In your graphics device manager, you should set the properties 'PreferredBackbufferWidth' and 'PreferredBackbufferHeight'. This should be done in the games constructor.
Page 1 of 1 (5 items) Previous Next