Simple Managed DirectX Render Loop
If you've ever wanted to know about programming games in Microsoft .NET, I've dissassembled Tom Miller's render loop code (see his blog) and posed an article about it on the The Code Project (Simple Managed DirectX Render Loop). In the process of constructing this simple framework, I've learned a lot about how .NET works with the rest of the system, and about how to tweak every function call for performance. There was actually a lot of surprises when it came to things like processing windows messages.
Before writing this post, I hadn't spent a lot of time looking at game development. It was always something I had wanted to do, but never had the time. It's interesting how you spend so much time avoiding Windows, and trying to get arround it without breaking Windows itself. In business applications, you'd never write code like this. I guess if I was going to write some psudo real-time applications, I'd use a loop like this.
Well, if even one person feels like this article is worth it, I'd be happy. Thanks for reading.
Before writing this post, I hadn't spent a lot of time looking at game development. It was always something I had wanted to do, but never had the time. It's interesting how you spend so much time avoiding Windows, and trying to get arround it without breaking Windows itself. In business applications, you'd never write code like this. I guess if I was going to write some psudo real-time applications, I'd use a loop like this.
Well, if even one person feels like this article is worth it, I'd be happy. Thanks for reading.





0 Comments:
Post a Comment