3
votes
2answers
386 views

What's wrong with using a static class to load and expose all of my assets?

What are the pitfalls associated with loading and storing all references to all of your content/assets within a single static class? I've been trying to ask myself why I would want to instantiate an ...
2
votes
1answer
199 views

Dynamically Discovering Game Content

I am trying to determine the best way to dynamically discover new levels in my Windows Phone game. This is necessary because I will be selling some levels separately to those included with the initial ...
2
votes
3answers
767 views

How to I create a resource manager?

Currently I'm using XNA's ContentManager to load my content. For the unfamiliar the ContentManager deserializes classes from disk and keeps a reference for future requests. I'm currently facing a ...
1
vote
1answer
598 views

Questions about dynamic loading and unloading of assets and game state

I've wondered about this for a while as I worked on my project, but couldn't quite come up with the best way to expose my problem. I'll start with some context. Context I have a game that is divided ...
1
vote
1answer
717 views

How to import the .fbx scene with multiple objects in XNA so that the objects retain their scene position?

I have a scene that contains mutiple objects. How can I import it in XNA and maintain each object position? Right now I export the scene in .fbx and load it in a model like this: cube.model = ...
1
vote
3answers
2k views

Content.Load() throws ContentLoadException when loading a texture in SL XNA

I've developed a while back in XNA but I'm a bit rusty. I've started working on SL XNA but have a problem I can't explain while trying to load content (model -fbx- or texture). I place the image ...
0
votes
2answers
603 views

Load XNA Content Type from File

I'm writing my own level editor and recently got the exporter working so now I'm working on the importer. My save file structure looks essentially like this: [ObjectType] Property=Value ...
6
votes
1answer
381 views

Building 2D Assets for a Game Targeting Multiple Framerates

To make a real-world example, lets assume I want to build an animated sprite for an explosion. The duration of the animation should last ~1 second, and we'll say exactly one second to make the math a ...