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 is a game framework by Microsoft that allows deployment for Windows, Windows Phone & Xbox 360.
0
votes
1
answer
281
views
Changing enum in a different class for screen
I'm trying to make a start menu for my game and my code uses Enum's to moniter the screen state.
Now i want to change the screenstate declared in the main class, in my Background class
Screen screen …
-1
votes
Accepted
Changing enum in a different class for screen
The final solution was this
#region Properties
private Texture2D background;
private Rectangle backgroundRect;
private Texture2D arrow;
private Rectangle arrowRect;
private …
0
votes
1
answer
170
views
Resizing a parallax background (bug)
batch)
{
batch.Begin();
batch.Draw(shipSprite, position, null, Color.White, 0.0f, spriteOrigin, 1.0f,
SpriteEffects.None, 0.0f);
batch.End();
}
The whitespace seems to be provided by XNA … [i].picture, new Vector2(layerList[i].position.X +
layerList[i].pictureSize.X, 0.0f), layerList[i].color);
}
}
batch.End();
}
(It's from a XNA …