Content Access
using XNA? Specifically I can access the System.IO namespace on the
Windows platform to load content ( meshes, textures, sounds, etc ).
What is going to be available the XNA framework for the Xbox?
using XNA? Specifically I can access the System.IO namespace on the
Windows platform to load content ( meshes, textures, sounds, etc ).
What is going to be available the XNA framework for the Xbox?
System Assemblies are based on the CF 2.0 and that System.IO is
available, so I found my own answer.
modifying the hiscore in your Halo saves, for instance :-)
We don't need to modify the System.IO API to achieve that, though. Just
won't let you open files in areas of the drive that you don't own.
We also provide a couple of new API namespaces for reading data.
Our Storage namespace gives you access to savegame files in a sensible
way. It basically just provides open methods that give you back a
System.IO.Stream, but is smart about putting the saves in a suitable
place (the appropriate user folder on Windows, or the special savegame
location on Xbox). We also have a StorageContainer.TitleLocation
property, which you can use to look up the path to where your game is
installed. This is useful for locating any asset files that are
installed alongside the main executable.
And then we have the Content Pipeline namespace. This gives a much higher level way of reading complex game types:
Texture2D sky = manager.Load<Texture2D>("SkyBitmap");
Model landscape = manager.Load<Model>("MyWorld");
etc.
Thanks for the reply, very exciting things. One further
question, is the Content Pipeline Namespace going to be available on
the Windows platform as well?
Michael Cummings wrote:
is the Content Pipeline Namespace going to be available on the Windows platform as well?
Absolutely!