A XNA game I was making was running slowly on my WP7 device. However when I started it in Windows Phone Performance Analysis to find the bottleneck, the game ran smoothly on the same device. I ...
It's best-practice to not to create lots of short-lived temporary objects the heap as it'll eventually force a garbage collection during game-play. It is best to create short lived value objects. ...
How can I generate somewhat realistic sound effects for collisions in a physics engine that simulates lots of objects? E.g. take >10 marbles that are bouncing off walls and off each other. If I ...