Pop quiz

Pop quiz

Rate This
  • Comments 5

On which platforms and hardware can you use the following Game Studio features?

  1. OcclusionQuery
  2. SignedInGamer
  3. GraphicsDevice.VertexTextures
  4. MediaLibrary.Pictures
  5. TextureAddressMode.Border
  6. XACT
  7. SetFrequencyOfInstanceData

For bonus points, what happens if you try to use each feature where it is not available?

  • 1) OcclusionQuery

    a) Platforms: Xbox 360, Windows XP SP2, Windows Vista

    b) Hardware: PC, 360

    c) Not available: The type or namespace name 'OcclusionQuery' does not exist in the namespace 'Microsoft.Xna.Framework.Graphics' (are you missing an assembly reference?)

    2) SignedInGamer

    a) Platforms: Xbox 360, Windows XP SP2, Windows Vista, Zune

    b) Hardware: PC, 360, Zune

    c) Not available: always available

    3) GraphicsDevice.VertexTextures

    a) Platforms: Xbox 360, Windows XP SP2, Windows Vista

    b) Hardware: PC, 360

    c) Not available: 'Microsoft.Xna.Framework.Graphics.GraphicsDevice' does not contain a definition for 'VertexTextures' and no extension method 'VertexTextures' accepting a first argument of type 'Microsoft.Xna.Framework.Graphics.GraphicsDevice' could be found (are you missing a using directive or an assembly reference?)

    4) MediaLibrary.Pictures

    a) Platforms: Xbox 360, Windows XP SP2, Windows Vista, Zune

    b) Hardware: PC, 360, Zune

    c) Not available: On Windows and Xbox 360 Picture collections are not supported. This property always returns an empty collection.

    5) TextureAddressMode.Border

    a) Platforms: Xbox 360, Windows XP SP2, Windows Vista

    b) Hardware: PC, 360

    6) XACT

    a) Platforms: Xbox 360, Windows XP SP2, Windows Vista

    b) Hardware: PC, 360

    7) SetFrequencyOfInstanceData

    a) Platforms: Windows XP SP2, Windows Vista

    b) Hardware: PC

    c) Not available: This method is available only when developing for Windows.

  • A genuine set of guesses, (I've no knowledge of Zune).

    1) 360, DX9. Won't compile on Zune.

    2) 360, DX9, Zune (?).

    3) 360, DX9. Won't compile on Zune.

    4) All platforms.

    5) 360. Not DX9, but it'll compile but be ignored at runtime. Won't compile on Zune.

    6) 360 and DX9.

    7) 360 and DX9. Won't compile on Zune.

  • With respect to SignedInGamer: While GamerServices is in the XNA SDK, I thought it wasn't available in the standard XNA runtimes, and redistributing the XNA SDK is against the EULA. Its only available for Windows for testing purposes... Has that changed?

  • The moment I hit submit I ran across "Games for Windows - LIVE is not available to finished games. This functionality is not included in the redistributable version of the XNA Framework. A game that attempts to use these components without XNA Game Studio installed will result in a GamerServicesNotAvailableException." at http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.gamerservices.aspx

  • Come on guys!  Everyone knows it is a VIC 20!

Page 1 of 1 (5 items)
Leave a Comment
  • Please add 2 and 2 and type the answer here:
  • Post