XNA Diaries

A log of my (where me="Gary Kacmarcik") explorations with the XNA Framework, focusing on the creation of my game (don't we all have one) using the framework.

September, 2006

  • XNA Diaries

    Colliding sprites in XNAExtras

    • 4 Comments
    The latest release of XNAExtras added support for sprite collisions, and allows the collision detection to be either bounding box (bbox) or pixel based. This is settable per sprite - some sprites can use bboxes and others can use pixels. The sprites will...
  • XNA Diaries

    XNAExtras build 0923 release

    • 5 Comments
    Major addition for this version: collision detection has been added to XSpriteManager. Both bounding box and pixel based (mix-n-match sprites of different types). Also boundary collisions. These are demoed in the bouncy CollisionDemo example: From...
  • XNA Diaries

    Mixing Natural Language into Games

    • 3 Comments
    [I had intended to write up a small post about my project earlier, but didn't get the chance until now. Hopefully, you'll find it at least part of it interesting. -Gary] Being in the Natural Language Processing group here in Microsoft Research, and...
  • XNA Diaries

    Separating your code and data

    • 1 Comments
    In the previous post , I talked about creating border art and using it in your game. One problem with the approach shown is that the description of the texture contents - the sprite locations and boundaries - is stored in the game code. This means that...
  • XNA Diaries

    Creating UI border elements in XNA

    • 2 Comments
    The XNAExtras.Border class provides a general border mechanism for UI elements. While currently only the XNAExtras.TextBox class makes use of it, future releases of XNAExtras will include Menus and perhaps some other elements that will be built on top...
  • XNA Diaries

    XNAExtras build 0916 release

    • 4 Comments
    This release includes a bunch of small enhancements and bug fixes. The only major class addition is XSpriteGroup, which allows you to manipulate a group of sprites as a single unit. From the release notes: (XML Schema) Added XML schema definition...
  • XNA Diaries

    "But I don't want to have to worry about sprite depths..."

    • 0 Comments
    Well, you don't have to really. Or maybe you're already dealing with depth and you don't realize it. To recap: There are two ways of controlling sprite "depth". The first is to use the SpriteBatch.Draw methods that allow a layerDepth parameter. The...
  • XNA Diaries

    XNAExtras : tools and classes for XNA

    • 12 Comments
    In order to simplify releases, I'm collecting all of my XNA tools, classes and sample code into a single XNAExtras package. You can find a link to the latest version of XNAExtras here . This first XNAExtras release contains updated versions of BMFontGen...
  • XNA Diaries

    The cost of SpriteBlendMode.AlphaBlend and the SpriteSortOptions

    • 2 Comments
    The SpriteBatch.Begin method has a couple of parameters that control how the sprites are rendered on the screen. Most people are aware of SpriteBlendMode.AlphaBlend, but for transparency to work correctly, you need to ensure that your sprites are being...
  • XNA Diaries

    Don't mix ClearType with your game fonts

    • 0 Comments
    The ClearType text rendering hint (option: -trh ct-grid ) tells BMFontGen to apply ClearType anti-aliasing when rendering the font into the bitmap. ClearType is a sub-pixel font rendering technique that takes advantage of the fact that each pixel on an...
  • XNA Diaries

    360 Controller Demo

    • 1 Comments
    Don't you hate it when you have a little demo that you're thinking of releasing and someone comes around and and does basically what you wanted to do, only better? How 'bout if it's a whole lot better? Well, Paul just did that to me with his 360 Controller...
Page 1 of 1 (11 items)