O'Reilly logo

XNA Game Studio 4.0 Programming: Developing for Windows by Dean Johnson, Tom Miller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Storage

In the majority of games that are made these days, it is rare that the entirety of the game can be completed in a single sitting of a reasonable length. Some games can last beyond 40 hours, and although sitting around playing games nonstop for that amount of time sounds fun, everyone needs a break sometime! The majority of games now have a concept of saving state for you to continue where you left off. In this chapter you will learn about the various ways to use storage to do this including:

• Using isolated storage

• Using the XNA Game Studio storage API

• Loading loose files in your games

What Is Storage?

Although many games incorporate saving state directly into game play (for example, by having only certain places you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required