views:

78

answers:

1

Hi guys, brand new question.

Just implemented multi-threading into my XNA game as it was unable to keep up with using 1 processor. MT is all implemented fine and everything, however the player seems to jitter all over the spot every now and then. I originally thought it was a loss of data between the update and render, but even when i did the player update in the render it did the same thing. It's not a memory/processor issue as i'm no where near maxing out my RAM or processors. It's strange aswell because none of the other entities in the game seem to have any of these issues.

Any ideas at all??

+1  A: 

The first thing that springs to mind is that XNA input must be done on the main thread.

(Source: "Understanding XNA Framework Performance" GDC 2008)

Andrew Russell