Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
2
votes
Accepted
NullReferenceException problem when loading savegame in XNA 4.0
You need to get a device first using StorageDevice.BeginShowSelector In the Async callback of that method, you can assign the device to your variable. Only then can you call methods on it.
See Getting …
11
votes
Accepted
The true cost to get my XNA game on XBox?
You can commercially release games on the xbox as a live indie game with the express version. I believe you can release PC games too.
The xbox you develop on does need a hard-drive.
You need (at leas …
0
votes
RenderTarget2D behavior in XNA
Change this:
for all sprites:
{
graphicsDevice.SetRenderTarget(D);
<draw sprite i>
graphicsDevice.SetRenderTarget(P);
<Draw D>
}
to this:
for all sprites:
{
graphicsDevice.Set …
2
votes
Accepted
Setting variable values in XNA 4.0 from an XML file
Typically you would use the content pipeline to do this automatically. See Customizing the IntermediateSerializer.
Create a library project that has your type in it (with no serialize/deserialise meth …
1
vote
Accepted
Loading files during run time
The content pipeline cannot do that (without a bit of hacking about), it processes content as part of the project's build process.
Just use regular .net functions for monitoring file changes, FileSys …