Thursday, November 11, 2010

Using Maya as a level editor

Brandon had the brilliant idea on Tuesday of using Maya to generate the data for our levels in the game. We decided to use locators in Maya to specify the points in space where we want things to be/happen in our level. The biggest advantage of this is that we don't have to hard code points for the assets. We just name the locators in Maya and reference them in XNA. In addition to the normal/bump mapping shader work I've been doing, I've also been working on getting a system in place to generate the levels this way.

As for progress on the shader goes, I found out that there is an effect file template in XNA for use to write your own shaders, so I've decided to write a whole shader for our game. It doesn't seem to be too difficult, but I was hesitant before because I didn't know the process behind creating a shader. Brandon has a friend that lent me a couple of DVDs that go over the whole basic process, so I feel like I've got a pretty good handle on it now.

No comments:

Post a Comment