I'm working on a casual game on XNA with the intention of deploying to the Xbox 360. I'm not going to have access to hardware for a few weeks and I'm on a tight deadline, so I'd like to test that a few things -- Boo and a few custom libraries -- will work properly on the 360. If they don't, I need to work around them sooner rather than later, so testing this is quite important.
With that explained, is there a way I can go into a 'simulator' of sorts to run code on the .NET Compact Framework for 360 before actually deploying to the 360?
Well, you could try writing a quick app for a Windows Smartphone, and run it in an emulator. Obviously, this won't work for XNA specific code; but for any runtime libraries that Boo or whatever you're using work on the emulator, they should work on the Xbox.
For the XNA code you write yourself, just compile it against the Xbox 360 target.
As TraumaPony said. Simply load the main game assembly in to Visual Studio and try to compile it. It won't if you try to make a reference to an assembly outside the those that ship with the 360.
Aside from making sure that the libraries compile onto the 360, you will need to think about your project's object allocation profile. Since the compact framework uses a different garbage collector, it's much more sensitive to constant allocations. When it does a collection, it needs to walk the entire object graph instead of how the desktop collector uses generations. So you will want to make sure that you're newing up as few objects as possible during runtime :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With