Dust off your he’s-a-Microsoft-fanboy complaints, people, because here’s yet another story praising the Redmond software giant (sorry). In case you were wondering what the Xbox Live integration on Windows Phone 7 Series (inhale, signified by a comma), meant, then Eric Rudder (what’s in a name), Microsoft’s Senior Vice President of Technical Strategy, has the answer for you – and it’s pretty impressive.
In the run-up to MIX, a lot of Windows Phone 7 Series stuff appears on the web, and this one is indeed related to that. Speaking at TechEd Middle East, Rudder showed off the same game running on a PC, Windows Phone 7 Series phone (this is getting ridiculous), and an Xbox 360. This might not sound impressive, but it actually is if you know the details.
It’s the same code running on all three platforms. That is, it’s a single project in Visual Studio, and the three platforms share 90% of the code, with each platform having input-specific code. In other words, the same game can run on an Xbox 360 and be controlled by a controller, on a Windows PC by a keyboard, and on a phone using the touch screen and accelerometer.
To add to the impressiveness factor: the game saves state between the platforms, meaning you can pick up any device and start playing – you can play the game on the bus using your phone, then power up your Xbox 360, and continue where you left off when you turned off your phone.
This is of course a major boon for developers, to be able to create a single project in Visual Studio, where 90% of the code is shared between the three platforms (in this particular case, at least), with three sub-projects covering the platform-specific bits (in this case, input). I can especially see how this would be good for small game studios: they can make a clever game, and with relatively little effort, have it run on three platforms – two of which already have a massive reach (PC and Xbox).
It’s not just games, though; Rudder mentions it can also be used in other scenarios for other types of programs. I’m not entirely sure which ones, but I assume many a developer can see the potential of this stuff. I also hope that this allows programmers to combine the devices – for instance, displaying in-game information from a game on the Xbox on your phone.
It also comes appealingly close to my vision. Scary.