Skip to main content
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
Results tagged with
Search options not deleted user 9771

XNA is a game framework by Microsoft that allows deployment for Windows, Windows Phone & Xbox 360.

7 votes
3 answers
14k views

XNA game loop Update and Draw

I'm confused on how the game's methods are called and when. So I read that the sequence is: Initialize LoadContent Update Draw UnloadContent Where 3 and 4 are the game loop, so after Update is ca …
0 votes

Shifting from XNA/C# to C++?

IMHO, these libraries are interesting for solving your migration especially if you want to program in C++: SDL, Simple DirectMedia Layer, very easy, with a good "feeling" and cross-platform; Allegro …
xdevel2000's user avatar
4 votes
4 answers
1k views

Why use this equation to get a percentage?

In an XNA book I read that this code does an action with a 0.2% of probability but I don't' understand why: float chance = 0.2f; if((float)rand.Next(0,1000) / 10 <= chance) { ... } I understand the …
3 votes
1 answer
2k views

XNA and Draw rotation

The direction is a convention or XNA is different? …
0 votes
1 answer
1k views

Vector reflect problem

I'm testing some vector reflection and I want to check what happens when a ball collides with a paddle. So if I have: Vector2 velocity = new Vector2(-5, 2); position_ball += velocity; if (position …
3 votes
1 answer
127 views

What is a "cue" in the XACT API?

I understand that a wave bank is a collection of .wav data files and that a sound bank is a collection of tracks, each having a .wav with properties. But what is a cue?