XNA Game Studio 4.0 is a programming environment that allows you to use Visual Studio to create games for Windows Phone, the Xbox 360 console, and Windows-based computers.

learn more… | top users | synonyms (1)

11
votes
2answers
6k views

How do I disable texture filtering for sprite scaling in XNA 4.0?

I have a sprite that I'm trying to scale up in XNA, but XNA is applying some sort of texture filtering that smooths it and makes it look ugly. I'd like it to just do pixel doubling instead of ...
2
votes
1answer
334 views

Why are my polygons not opaque?

A newbie to XNA here. This is a followup to my previous question that showed me part of what I was doing wrong but I'm still not getting what I want. I'm setting up a BasicEffect thus: Effect = new ...
1
vote
2answers
701 views

Getting a black scene with XNA, what am I doing wrong?

I'm new to XNA (ver 4) and I'm obviously doing something wrong but I don't know what. So far I have managed to model my scene (quite simple, just a bunch of squares which are calculated--there are no ...
3
votes
2answers
348 views

Handling sound effects for Multiple Collisions

How can I generate somewhat realistic sound effects for collisions in a physics engine that simulates lots of objects? E.g. take >10 marbles that are bouncing off walls and off each other. If I ...
4
votes
1answer
2k views

How do I get an XNA 4.0 game to run on other machines?

Whenever I try and run a game made in XNA 4.0 on a machine other than one used for development, it just won't run. I've followed the instructions here to ensure that all the dependencies are present. ...
1
vote
1answer
511 views

Porting an HLSL 3.0 shader to 2.0?

I have a couple of .fx files from a Shader-Based 2D Shadows example. I want to utilize the same kind of technique with XNA 4.0's Reach profile, which if I understand correctly needs to have HLSL 2.0 ...
10
votes
2answers
1k views

In-Game Level Design with XNA?

I am wondering about in-game level design. My current situation revolves around Tiled - I have many different layers with different types of objects in them (for anyone who isn't familiar with Tiled, ...
12
votes
1answer
3k views

Disposing only certain resources in XNA?

The ContentManager in XNA 4.0 only has one Unload() method that Unloads all Assets. I want to have some "global" Assets that are always loaded, but then I want per-Level Assets which should be ...
6
votes
1answer
1k views

XNA 4.0 Post-Processing Libraries?

Are there any free XNA 4.0 post-processing libraries that are easy to hook into projects? I am looking specifically for a glow effect (although anything is great), and I should also mention that I'm ...
6
votes
2answers
949 views

Offline XNA Deployment to XBOX. Can it be done?

Well, The question is pretty explicit on its own. I want to know if I can deploy a game from my PC directly to a XBox. I'm not a professional developer of games, I do it on my free time because it ...
6
votes
2answers
2k views

How are components properly instantiated and used in XNA 4.0?

I am creating a simple input component to hold on to actions and key states, and a short history of the last ten or so states. The idea is that everything that is interested in input will ask this ...
2
votes
2answers
299 views

TitleSafeRegion isn't available on XNA 4?

I'm following the book Microsoft XNA Game Studio Creators Guide v2. and there is a snippet in the book that is used to return a Rectangle that represents the safe area you can draw without the fear of ...
16
votes
2answers
24k views

Error on new XNA 4.0 game project - No suitable graphics card found

Any ideas on how to fix this? According to what I remember about XNA 3 was that when running the application from scratch, I would get a blue colored windows with nothing rendered. Any suggestions? ...