Tuesday, November 30, 2010

Shields and radar

I used a shader to create a transparent-ish sphere around the ship for a shield. Its transparency depends on its normals, so it's more transparent in the center than on the edges. I also played with making it "pulsate", but most people didn't seem to like it so I got rid of it. I can use the same idea to make the shield flash when it gets hit though.

I also worked on the radar. We have the images up, but it's not quite tracking correctly. The problem comes from translating the 3D coordinates to 2D. I might try to use a shader to do it since that's what they do anyway, but I'm getting really close using a quaternion, so I'll try that route a little longer.

Felix got some particle effects into the game, but since he got them from a sample on App hub, we really don't know how they're working. I had to tweak a few things about them to get the draw order right.

No comments:

Post a Comment