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 23091

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.

1 vote
2 answers
137 views

Displaying total playing seconds at end of game

Creating a simple survival game. When the player has been caught I want to display the amount of seconds that they survived for. How do I go about this?
Craig's user avatar
  • 105
-1 votes
2 answers
134 views

Setting a leader from a sprite array [closed]

I'm looking to set a leader from an array of sprites, I keep on getting a NullReferenceException was unhandled error from within my main game class when calling the UpdateMouse Method. What have I don …
Craig's user avatar
  • 105
2 votes
1 answer
634 views

C# 2D Camera Max Zoom

I have a simple ship sprite moving around the screen along with a 2D Camera. I have zooming in and out working, however when I zoom out it goes past the world bounds and has the cornflower blue backg …
Craig's user avatar
  • 105
0 votes
1 answer
830 views

Where would I find C# flocking tutorials? [closed]

Been looking for a while now and finding it difficult to find a good tutorial... Where would I find a good tutorial on how to implement flocking in a C# XNA game? Something easy to understand .. for …
Craig's user avatar
  • 105
0 votes
2 answers
2k views

XNA Health Bar continually decreasing

As per the Health bar tutorial on ... http://www.xnadevelopment.com/tutorials/notsohealthy/NotSoHealthy.shtml I have set up the above, how do I make it decrease by 1 health per second? I want to cre …
Craig's user avatar
  • 105
-1 votes
3 answers
2k views

How to implement smooth flocking

I'm working on a simple survival game, avoid the big guy and chase the the small guys to stay alive for as long as possible. I have taken the chase and evade example from MSDN create and drawn 20 mic …
Craig's user avatar
  • 105
0 votes
Accepted

How to implement smooth flocking

Going to go back to the beginning and go about setting a leader and having the rest of the mice follow. Been told that might get me the needed results.
Craig's user avatar
  • 105
0 votes
2 answers
221 views

How do I achieve one touch one shot for WP7 game?

I want to be able to have a sprite shoot in a game for WP7. What I have at the moment is that as long as the shoot button is held down the sprite constantly shoots. How do I sort it that only one bull …
Craig's user avatar
  • 105
3 votes
1 answer
740 views

How do I modify a Boids algorithm to be player controlled?

Found source code on Boids in C#. http://3carrotsonastick.wordpress.com/2012/11/01/boids-in-c-xna/ How do I go about making the raven class in the above player controlled? If I could control it myse …
Craig's user avatar
  • 105