bringing your unity game to windows and windows phone with michael macdonald

26
Bringing your Unity game to Windows Phone & Windows 8 Michael “Mickey” MacDonald @scruffyfurn Indie Game Developer & Extreme Video Game Geek

Upload: fitc

Post on 04-Dec-2014

718 views

Category:

Technology


0 download

DESCRIPTION

Presented at SCREENS 2013 in Toronto. Details at fitc.ca/screens Unity has quickly become the go to tool in the indie game scene. The recently announced partnership between Microsoft and Unity has made it more even more enticing. Offering free plugins for both Windows 8 Store apps and Windows Phone 8, Unity and Microsoft have created a simple, cost effective solution for developers to bring their creations to the Windows ecosystem. In this session we will take a look at the process of porting a Unity game to the Windows 8 platform, highlighting the key features and possible pain points with simple to follow examples.

TRANSCRIPT

Page 1: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Bringing your Unity game to Windows Phone & Windows 8

Michael “Mickey” MacDonald@scruffyfurnIndie Game Developer &Extreme Video Game Geek

Page 2: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Free Windows Phone Store Token What it is: • A free one-year developer account to the Windows

Phone Store How to get your Windows Phone Store Token: • First 50 people entering the session received a ticket • Bring your ticket to the Windows booth before

3:15pm today to get your Free Windows Phone Store Token

• You will be asked to provide your email & the Microsoft team will email you the free access code

Page 3: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

This is not an intro to Unity!

Page 4: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

This is an intro to porting your existing game

Page 5: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

You can’t just take your game and push it to the store

Page 6: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Today we will look at the steps to get your game ready for the store

Page 7: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

A closer look at Unity & Windows PhoneA closer look at Unity & Windows 8Getting your code from Unity to Visual StudioGetting your code from Visual Studio to the store

Agenda

Page 8: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Lets take a closer look at Unity & Windows Phone

Page 9: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

What doesn’t work … for nowA few of the APIs are still in progress Location services Compass support Microphone support Webcam support WWW is implemented but multiplayer networking APIs are missing. You can used .NET APIs or third party libraries (e.g. photon) as an alternative.

Page 10: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Check your plugins Test your plugins portability to Windows Phone at http://scan.xamarin.com

If you find errors or missing Mono APIs, check the .NET API for Windows Phone reference site for alternatives

Page 11: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

What you need Unity 4.2  Windows Phone SDK 8.0  Windows 8.0 or later. Windows Phone developer account. Windows Phone 8 device.

Page 12: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Lets take a closer look at Unity & Windows 8

Page 13: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

What you need Unity 4.2  Visual Studio  Windows 8.0 or later. Windows Store developer account

Page 14: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Lets take it for a spinGetting from Unity to Visual Studio

Page 15: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

What we have done so far

• Took a game with simple input (non-multi touch) and adapted it for the Windows 8 and Windows Phone Stores with no code changes

• Viewed the settings available when building the game

• Created a Visual Studio Solution for our game

Page 16: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

It’s a snap!Going from Visual Studio to the Windows 8 Store

Page 17: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

What you just saw

• An easy way to setup snap view in your Unity project

• How to connect to and work on the games assembly in Visual Studio

Page 18: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

I’ll be back!Going from Visual Studio to the Windows Phone Store

Page 19: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Proper handling of the back button is a certification requirement. If you do not handle it, you will fail certification.

Page 20: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Some back button guidelines If you have implemented navigation within your app, pressing

the back button should go back to the previous step in your navigation.

If you are inside a dialog (e.g. settings or achievements, etc.) pressing back button should dismiss the dialog.

If you are not in a dialog and you are at the root of the navigation game (or you do not have navigation in your game), pressing the back button should exit the game.

Page 21: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

What you just saw

• An easy way to handle the back button presses in your Unity project

• Where the splash screen and the game tile (app icon) images can be found.

Page 22: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Where to go from here

• Start playing with and learning the exciting advanced features of Unity (unity3d.com/learn)

• Enhancing your game with some of the Windows 8 and Windows Phone platform features like:

Tiles & push notifications Splash Screen Image Share and Search

• Bring your game to the Windows Store and become famous (buildforwindows.ca)

Page 23: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Developer Movement 2013 is coming soon

Sign up to stay up to date on launch details…

www.developermovement.com

Page 24: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Thank you!Happy Coding

Page 25: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald

Bringing your Unity game to Windows Phone & Windows 8

Michael “Mickey” MacDonald@scruffyfurnIndie Game Developer &Extreme Video Game Geek

Page 26: Bringing your Unity game to Windows and Windows Phone with Michael MacDonald