Game Dev on Windows platforms

After spending days researching on what is the best system to build 2D or 3D game I came upon Unity. For Windows platforms it’s a weird time as MS just scraped XNA, now where do we go to make games?

Unity is an amazingly powerful and easy game development system, it is great for both 3D and 2D development. But its best feature is that with almost no effort you can publish across Windows Phone, Windows 8, IOS, Android and others.

It’s a standalone IDE that you can get from http://www.unity.com. All the features needed to develop for Windows platform are free.

Once installed its pretty simple, there are many tutorials on how to develop either for 2D or 3D online.

*As an added bonus you can code the script of the game in C#, so no new languages needed.

Featured-unity

Some tutorials I found helpful to get started.

Starting with Universal Apps

So of course first, why make a Universal apps?

This is an important question that all of us developers ask before we spend our valuable time learning the language and rules of a new development option. Well first things first, if you already develop for Windows Phone and Windows 8, Universal apps make things twice as fast because you kill 2 birds with one stone, and for all you IOS and Android developers looking to move your apps to Windows Phone and Windows 8, its a great starting point that will make porting that much faster!!

NB: The main thing to look at when trying Sample code and you can’t find a Universal App solution, look for samples from Windows 8 store app solution. They share almost all the code and API. From there you can easily get the solution to work on your Universal app. 

Universal apps are basically made up of three projects, Windows 8.1 ,Windows Phone 8.1 and Shared.

Now this might seem strange and it is a little, but don’t fret I’ll explain it all.

  • The Windows 8.1 Project contains the XAML pages and code  made for Windows 8.1
  • The Windows Phone 8.1 Project contains the XAML pages and code  made for Windows Phone  8.1
  • The Shared project is a container for code that runs on both platforms. The contents of the Shared project are automatically included in both the Windows Phone and the Windows Store projects and in their build output.

Image

Now how to create and build a project.

Firstly, if you don’t see the Universal apps option in your ‘New Project’ window, its probably because you don’t have Visual Studio 2013 RC2.

Okay, now that you have Visual Studio 2013 RC2 lets begin.

Select the Visual C# option, Store Apps. You will see the Universal Apps option.

Options

  • Blank app
  • Hub App(Replacement for panorama on Windows Phone)
  • Class Library
  • Windows Runtime Component

Then select the option you want and click ‘OK’.

I will be showing how to make an app from scratch in my next post, stay tuned 🙂

 

KEEP YOUR IDEAS FLOWING!!!