Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6650473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:53:49+00:00 2026-05-26T00:53:49+00:00

i have a 2d top-down game in Xna that uses a single image as

  • 0

i have a 2d top-down game in Xna that uses a single image as it’s ‘arena’. The image is uses as a Texture2D, 4096*1050, and only 186kb as a png(the graphic is just a plain placeholder for now). When built, the xnb file is 24 mb.
So, the question is, is there any way to significantly reduce the texture size?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:53:50+00:00Added an answer on May 26, 2026 at 12:53 am

    The XNB file produced by the content pipeline contains decompressed image data, so its size is going to be a simple function of the texture’s dimensions and bit depth. If you want the file sizes to be smaller, then either use smaller textures (that is to say, fewer pixels; whether you have 1 texture or 100 is irrelevant if they collectively contain the same number of pixels) or use a texture format that stores less data per pixel. You should be able to change the “Texture Format” option (under the content processor) for each texture to adjust its bit depth.

    I would question whether this is really necessary, however. As pointed out in comments, this really shouldn’t be that big of a deal, especially if the asset in question is your game’s playing field. Is this a phone game?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have big element at the top of the webpage that sides down with
I'm writing a game which uses 3D models to draw a scene (top-down orthographic
I have a top-down EJB Webservice (deployed on Websphere 6.01) that hangs the first
I have an image view that I draw my game board in for my
How would I have a top right corner div as shown in the image.
I have code in the top layer of my .Net web application that I'd
I have this game I'm writing with the jQuery Collision, and it uses keyboard
I am using Box2d to simulate a top-down space like environment. I have an
I am working on a tile based, top-down 2D game with dinamically generated terrain,
Firstly - Z is Up in this problem. Context: Top down 2D Game using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.