New Blog

Hello all, I just wanted to let you know that I’ll be posting to a new blog from now on as I’d like to be able to have a little more control over what I put up (like personal matters as well). I’ll try and migrate the content over there, but no promises on how…


Using C# for game scripts, part 2

In my last post I showed you how to get scripts to be compiled dynamically at run-time. This makes things super easy, but I left you guys hanging on two fronts. I didn’t show you how to compile multiple scripts into the same assembly. I totally spaced on the fact that this won’t work when…

7

Using C# for game scripts, part 1

Alright, today I’m going to continue where my previous posts (Loading Map/Game Data from XML) left off. Those posts showed you how to get game data into your game, but how do you define game behavior? Simple! With scripts. Now, there are lots of solutions for scripting available with one of the mose popular being…

4

Loading Map/Game Data from XML, part 3

So far we have the backing map.xml file, we have the classes that we are going to use to store the data in our game, now all we need to do is to parse the XML file and create the instances. We could have tried to use the XML serialization support that is built into…

1

Loading Map/Game Data from XML, part 2

Alright, in the last part we dealt with creating the basic map file. This time around we’re going to look at the classes that hold the data that we will eventually be reading in. The first class we’re going to be looking at is the Map class. 1: public class Map { 2: private Vector2D…

1

Loading Map/Game Data from XML, part 1

Over at 3D Buzz (http://www.3dbuzz.com/) there is an XNA class that is currently going: XNA 101. The class is currently going through the process of creating a text-based adventure game as it’s “Hello World!” app – ambitious for beginners yes, but way more interesting. Of course, this class is geared toward beginners so all of…

1

Learning to call methods (C++ Reflection, part 2)

Ok, last time we got the basics of the system in place. Tonight we’ll fix up some of the stuff that we had before (in case you were wondering, I’m figuring this out at the same time as you guys), then get the invocation of some functions. First, our RuntimeInfo struct from last time is…


Thinking about the problem (C++ Reflection, part 1)

Setting Goals So you want to build a reflection system in C++? Well, I assume so since you’re reading this. =) Ok, enough jokes… There are a few ways to go about building a reflection system in C++ and there are different levels that we can accomplish. For instance, to create a reflection based system…


Welcome to my blog!

Welcome! I’m glad that you’ve stumbled across my new blog. So, now that you’re here, I guess I should tell you a little about myself. My name is David Owens II and I am a member of the QA team on Cider here at Microsoft. I started out as a contractor back in July, 2005 and…