Zune game programming

N.A.M.E. As a massive Invader Zim fan, I was shocked to see that a community member, Paul Oliver, made a game called N.A.M.E.

Paul has a few hints he posted such as:

  1. No render targets. In a quick hacky attempt to get the game rendering horizontally instead of vertically we did a render of the whole game to a screen sized render target, and then rotated it to fit it to the screen. This dropped our frame rate from between 23 and 30fps to between 5 and 8.
  2. Use power of 2 sized textures. http://en.wikipedia.org/wiki/Anti-aliasing Antialaising is a problem for rotated textures on the zune, especially if your textures are not of a size that is power of 2 - 2,4,8,16,32,64,128,256,512,ect... You spent a good deal of time on these graphics spend a few extra minutes and make sure that the texture is in a correctly sized image.
  3. Preload all your textures. Use a custom resource manager, there is one in the previously uploaded code. Loading a texture from the zune had drive is very expensive in terms of time, while simply passing around a reference to it is practically free.

Best of all, the game (and source code) is getting released for free!  Check it out CodePlex.

Tag:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
    Unsubscribing
    Subscribing

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.