-2
votes
1answer
98 views

Help me debug my 3-d collision code [closed]

I have been havaing a problem doing 3-d collision in a game i have been trying to make for several weeks now. What i am trying to do is prevent a PlayerModel object from colliding with Obstacle(cube) ...
0
votes
2answers
156 views

Why does my sprite animation sometimes runs faster? [closed]

I don't know why each time I call the Update_Animation function, my sprite animation runs faster. Is it caused by gameTime? How to fix it? Here's the relevant code: class Character { // ...
8
votes
1answer
286 views

Curious Transparent Holes Render Artifact

So I'm trying to implement "smooth" terrain in my block engine by giving each surface block a heightmap. Basically, what I do to generate these "heightmaps" for each block is I generate the heights ...
3
votes
3answers
1k views

Can I debug XNA Xbox 360 games on my PC?

If I made an Xbox 360 game with XNA, would I need to debug it on the Xbox 360 as I was coding it? Or would there be a small emulator on my computer to debug it?
2
votes
2answers
216 views

Debug data visualization best practices

I found debugging games especially hard for some obvious reasons. It's hard to monitor some internal values in dynamic, conditional breakpoints helps somehow, but only to detect some specific ...
4
votes
3answers
697 views

Debugging a custom content pipeline processor in XNA?

I'm working with a custom made content pipeline designed to work with the program Tiled (using the TiledLibrary found here). I am running into trouble with the MapProcessor class in the custom content ...
-3
votes
1answer
750 views

xml file save/read error (making a highscore system for XNA game)

i get an error after i write player name to the file for second or third time (An unhandled exception of type 'System.InvalidOperationException' occurred in System.Xml.dll Additional information: ...
1
vote
2answers
348 views

XNA 4.0 problem Initializing Instanced Classes in for loop

Okay so this is kind of weird, I have some code that creates particle.cs instances public void AddParticle() { for (int i = 0; i < Density; i++) { particle = new ...
5
votes
4answers
574 views

Debugging tips? [closed]

I'm new to games programming and I'm working on a C#/XNA project. Something I'm spending a lot of time on is debugging. Obviously as games run in a loop finding the exact iteration that a bad ...
6
votes
2answers
717 views

How could an XNA game close with no exception being thrown?

I've been messing with my game's network code recently (TCP/UDP sockets) and my game keeps shutting down with no exceptions being thrown at all. It runs fine until the disconnection of a client, so I ...