Long time without posting. I’ve spent a lot of time working on the game, contracting art, buying sound effect and music assets, designing the levels… New screenshots/video should come very soon. Anyway, back on topic: when developing from C++ to C#, I found out very strange that you can allocate memory but you cannot free… Continue reading 3 Simple Tips to Avoid Memory Allocations with XNA/C#
Multi-threading is often causing problems for multiple reasons: synchronization, deadlocks, concurrent access to memory… But with my recent experience with multi-threading in XNA/C#, you can really do simple and efficient optimizations. While looking for possible performance improvements in Spring Up Harmony for Xbox 360 (PC), I have seen a simple situation really suited for multi-threading.… Continue reading Yes, multi-threading in XNA/C# can be that simple!
A few days ago, I read an article called Among Friends: How Naughty Dog Built Uncharted 2. The interesting screenshots on the third page gave me the urge to create what I call an “on-screen profiling” tool for Spring Up XNA. I talked before about profilers and how to use them to find which sections… Continue reading On-screen profiling for XNA
Update: I have many visitors coming here from search engines. So here is a quick update if you want to use NProf with XNA 4.0. When you run NProf with your game, if the UI of NProf stays empty after running your game, it’s because you are running a XNA 4.0 game. There is a… Continue reading NProf : A Simple, Efficient and Free XNA Profiler (3.1 and 4.0)