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.
1
vote
2
answers
3k
views
How do I implement fog of war in a tile-based game?
I have created a 2D Tile Based game. The game has a single path that the sprite can move on. I want to create to make the entire screen black except for where the sprite is.
The sprite has commands s …
0
votes
2
answers
1k
views
Delaying a Foreach loop half a second
I have created a game that has a ghost that mimics the movement of the player after 10 seconds. The movements are stored in a list and i use a foreach loop to go through the commands. The ghost mimics …
0
votes
2
answers
156
views
List has no value after adding values in
I am creating a a ghost sprite that will mimic the main sprite after 10 seconds of the game. I am storing the users movements in a List<string> and i am using a foreach loop to run the movements. The …
2
votes
1
answer
1k
views
Drawing text from update method in XNA
I am having a problem drawing the "Game Over!" text once the user is on the last tile.
This is what I have:
The Update and drawText methods are in a class named turtle:
public void Update(float sca …
1
vote
3
answers
2k
views
Text based game in XNA
I would like to change the movement of the sprite from keypresses to text commands, Ive googled a lot on creating text based games in XNA but have had no luck. … Could you please help me or guide me in the right direction of how to do this in XNA. …
2
votes
2
answers
475
views
Tile map collision is not working properly
I am having problems setting collision between my sprite and the tiles.
I have only done the code for colision for moving upwards but some places on the map it moves up and some places it doesn't.
He …