Porting your Unity Game to the Windows Store Jump Start Jaime Rodriguez jaimer@microsoft.com @jaimerodriguez http://jaimerodriguez.com
Welcome!! Mickey MacDonald Jaime Rodriguez Games Evangelist, Redmond Technical Evangelist, Toronto @scruffyfurn mimacdo@Microsoft.com Jaime Rodriguez Games Evangelist, Redmond @jaimerodriguez jaimer@microsoft.com
Join the MVA Community! Microsoft Virtual Academy Free online learning tailored for IT Pros and Developers Over 1M registered users Up-to-date, relevant training on variety of Microsoft products “Earn while you learn!” Get 50 MVA Points for this event! Visit http://aka.ms/MVA-Voucher Enter this code: PortUnityWinStore (expires 10/13/14)
Today… Getting Started Porting Your Game Great Windows Games: Light-up Deep dive into run-times Dealing w/ Hardware Great Windows Games: Light-up Optimizing & Troubleshooting Monetizing: Intro to Windows Stores Programs & Offers for developers
Getting Started Module #1 of 6
Pre-requisites htthttp Windows Store Windows Phone How to get?? Windows 8+ Free 90-day evals Unity 4.5+ Plugins are free (including Pro) Windows SDK Visual Studio Windows Phone SDK Visual Studio Free download Developer Account $19 includes both platforms Windows Phone (Optional) Porting Program htthttp http://wpdevcenteroffers.com
Tooling intro
Exporting a Windows Store & Windows Phone game
Platform & Versions OS version 8.0 8.1 8.1 8.0 Windows Phone 8 Unity targets Universal apps
Universal apps: Maximum reuse
Universal Apps (Supported on Unity 4.5.3.f3+ ) Project Types: XAML C++ XAML C# SDK Windows 8.0 (and 8.1) Phone 8.1 Universal (both projects) Universal apps == Windows Store apps [Throughout the sessions today!!]
Windows Store Build Settings Project Types: XAML C++ XAML C# SDK 8.0 ( runs on 8.0 and 8.1) 8.1 ( runs on 8.1 only)
Platform specific configuration (Windows) Unity VS (Package.appxmanifest) Name Icons Tile Splash Image Packaging Capabilities Unity preferences/settings Plugins Name Icons Tile Splash Image Packaging Capabilities Declarations (extensions/contracts) Content URIs ..
Windows Phone 8 Build Settings Project Types: XAML C# SDK 8.0 ( runs on 8.0 and 8.1)
Player prefs and app manifest (Phone) Unity VS ( WMAppManifest.xml) Name Orientation Unity preferences/settings Name Icons Tile Splash Image Packaging Capabilities Declarations (extensions/contracts) Content URIs ..
Tips on configuration (aka player settings) Set as many as you can from Unity During development, plan to re-export to VS often Use source control Merge/Diff tool
Windows Phone emulator
Deploying your Windows Phone Build Steps to deploy Windows Phone 8 steps: Open Build Settings. Optionally check Development Build [to profile your game]. Make sure phone is connected to PC and is unlocked. Click Build And Run. Select folder to build Visual Studio project to. Once the project is built and app is deployed to your phone it should appear on the screen.
Windows Simulator
Deploying a Windows 8.x build Running on local machine: Make sure, that selected solution platform is x86 (or Win32) and Debug target is set to "Local machine" Press F5 or go to Debug -> Start debugging Running in simulator: Set Debug Target to "Simulator"
Target configuration in VS Master What you should ship! Release Profiler Debug Safety checks, Profiler
Exported Solution (Folders)
Summary Develop your game as usual in the Unity Editor Unity exports Visual Studio solutions/projects Project settings to be set in Unity and Visual Studio Full deployment/debugging support