For the first time, developers could natively play back video files for splash screens, cutscenes, or in-game textures.
It is important to note that the XNA Framework, including version 3.1, is . xna framework 3.1
XNA 3.1 added the Microsoft.Xna.Framework.Video namespace. This allowed developers to play full-motion video (FMV) cutscenes or background videos within their games. This was a crucial step for indie developers wanting to create narrative-driven games with cinematic elements. For the first time, developers could natively play
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed) Exit(); base.Update(gameTime); For the first time
GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Begin(); spriteBatch.Draw(pixel, new Rectangle(100, 100, 200, 50), Color.Red); spriteBatch.End(); base.Draw(gameTime);