Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

XNA – The Future I Bright, The Future Is Managed

DZone's Guide to

XNA – The Future I Bright, The Future Is Managed

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

So there has been a lot of kerfuffle of late about XNA’s future, some wins, some losses and such.

But time to set the record straight.

(again Smile with tongue out)

I’ve been involved with several XNA related efforts and in talks with some other teams and I can now come forward with details on them, some are still rumour (but very strong reliable unconfirmed rumours, take what you will from that) others are known facts.

If you are headed down the C++ / DirectX route then I suggest you head over to the RandomChaos blog or GameDev-UK for more details there.


SunBurn Gaming EngineSynapse Gaming

SunBurn has been around many years now in XNA circles and has grown from it’s inception as a Lighting and Shading tool to a full blown Engine with it’s own integrated / extendable editor

Version 2.0 was officially launched recently which drew a line under the host of new features and enhancements to all it’s supported platforms including XBOX360, Windows and Windows Phone.

Also announced was the FREE framework edition which has much of the same features under the hood and just lacks the editor and a few high performance features (it’s free after all).

Now under the covers there have been quite a few unofficial leaks of what has been drip feeding out of the closed doors of the Synapse Gaming labs, mainly around native code support and alternate graphics platforms such as OpenGL.

In fact not only SunBurn has been changing but also some of the big extension frameworks like ICE (formally IGF) and Brain2 which both plug into and extend SunBurn with a host of community driven pieces, both were already moving to decouple from SunBurn but recently have scaled back their announcements (following talks with the SunBurn guys?).

I’m fairly certain at this point that this will become a reality and if so, then your XNA code today will be natively compiled by the SunBurn engine to run on a host of other platforms, with native support it could run on just about anything including, Windows Phone 8, Windows 8, IOS and even Android.  Very similar to Mono.

At it’s core games on the SunBurn gaming engine are written in managed code using XNA!


UnityXNA – by MVI Network

Unless you were asleep last week then you must have missed out on a big announcement from a guy called “Barnaby Smith” who is a good friend of mine from the XNA-UK days.

he has been working on an extension to the Unity3D gaming engine over the last few weeks/months and I recently got involved with him on the project (mostly testing and talking about stuff, Barnaby has done all the actual work!).

The goal of this project was to get XNA code running under the Unity Framework with 100% code re-use and limited changes required to adopt it.  This includes basic content projects, custom pipeline extensions are not supported as yet.

What he has produced has outstripped even my initial views of what was possible and he announced it to the world on twitter, which then prompted his site to go down under the stress from all the re-tweets (now back and running)

image

This opens yet another door for games written in XNA to be easily ported to other platforms, yet another reason to prove that XNA is an excellent and easy to use prototyping platform (if nothing else).

*CAVEAT*

Now Barnaby is keen to stress this is just a proof of concept at the moment but I’ve seen and played with the code and it is very promising.  Only 2D at the moment but he’s still feverishly working on it.

The code has also been pushed up to GIT, so feel free to fork it and play with it yourself!


MonoGame meets Windows 8

Mono has always been about multi-platform from the get go and with managed code none the less.

I’ve attended several Mono events and have always been intrigued, with the launch of the community project MonoGame which was an evolution of XNA into Mono and runs very well.  it’s also heavily influenced on another XNA type project called SharpDX which builds a C# framework on top of C++ with almost no noticeable overhead (over the normal managed costs).

It should come as no surprise to fellow XNA’ers that both of these frameworks look almost identical to XNA and that’s simply because they came from XNA, emulation is the kindest form of flattery (but then again XNA came from the ashes of MDX and resembled that a lot!)

All of this comes from a community screaming for a Managed Environment to write 2D and 3D graphical interfaces, not all of us want or have the time to build it from scratch in C++.

I digress.

This recently hit the press with the announcement that “Armed” (a Windows Phone XNA game) HAS been ported to Windows 8 and in fact is already available on the preview marketplace.

The team “Sickhead Games” (gotta love indie studio names Open-mouthed smile) were recently featured as guests on the Metro Developer Show last week and talk in depth about their experience in taking MonoGame to Windows 8, yet another flag in the XNA camp.

By all accounts once the XNA/MonoGame framework was made Windows 8 ready, the porting of the actual game was quoted as being “trivial”


The future’s so bright I’ve gotta wear shades

Life in managed code is still the future, especially for individuals / small indie companies and in some larger game houses it’s still used as a rapid prototyping tool before making it in C++.

I’m not going to get in to the whole C++ vs Managed argument, there’s stats out there showing the figures and it always comes down to the right tool for the right job, yes if you need ultra high performance from a “COMPONENT” then C++ is usually the best answer (I’m not going to debate that).  Bringing C++/DirectX to Windows 8 and Windows Phone 8 is essential for the platform to woo and reassure the BIG AAA game companies  that it is a valid platform and they should consider these platforms for their IP.

BUT ALL of Windows Phone 3D games (and a lot of 2D as well) plus a great portion of XBOX titles and quite a few titles on Desura, Steam and IndieCity are XNA games, so I have no problem building XNA projects for a long time to come, sure I’m expanding my horizons for the sake of the blog and my own sanity, but managed is my life at the moment and likely to stay that way for a times to come.

If you want to know more about C++ / DirectX then I suggest you head over to the RandomChaos blog or GameDev-UK


A parting gift

Just one last thing to wrap up the conclusion of this article.

Microsoft have been getting VERY good at keeping things wrapped up and secret of late, no one saw the Microsoft Surface coming (and it had been in development for over 3 Years), almost no one knew the full details on Windows Phone 8.

There has still been no word about XNA at all and some who have had direct involvement with MS have simply been told “No Comment”.  if they did indeed intend to kill off XNA then they would have no qualms doing so as past experience has “supposedly” told us that XNA is not in their focus.

My advice as always, quit speculation and lets just see.  XNA works fine as it is (granted only DX9 but just look at what people have managed to create with it!, as INDIES), granted it could do with some improvements but as the above shows, the community is already stepping up to the plate with that!

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:

Published at DZone with permission of Simon Jackson, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}