This presentation is all about multiple platform game development using Unity. We will also learn about porting your existing game to Universal Windows platform (UWP).
Build Once and port your game to multiple platforms including UWP
1. Build Once and port your
game to Multiple
Platforms including UWP
Vidyasagar MSC
Developer Evangelist at IBM
Microsoft Xbox MVP
@VidyasagarMSC
http://iamGa.ME
2. Agenda
• What is Unity?
• What is UWP?
• Build a Game - Demo
• Unity’s New UI system and Inputs - Demo
• Visual Studio tools for Unity
• Tips before moving your game to store
• Porting your game to Windows store - Demo
• Xbox App
3.
4. Phone Small
Tablet
2-in-1s
(Tablet or Laptop)
Desktops
& All-in-Ones
Phablet Large
Tablet
Classic
Laptop
Xbox IoTSurface Hub Holographic
Windows 10 powers a huge range of hardware…
5. …and one app platform
One Store +
One Dev Center
Full Support for
Existing Code
SDK +
Services
Adaptive
User Interface
Natural
User Inputs
6.
7. Unity new UI System and Inputs
Unity UI :
• Canvas based
Inputs
• Input system reads values (button, keys, controller, arrows)
• Input.GetButtonDown(“Fire1”)
• Works on Mobile for touch only!
• Input.GetAxis(“Horizontal”) works with keyboard
• Doesn’t work on mobile (no keyboard)
• Third party assets like EasyTouch
• Code exists in CrossPlatformInput
11. Tips before moving your game to Store
• Asset Bundling
• Set ‘Rendering Path’ to Deferred
• Quality Manager
• Profiler
• Vertex and polygon count – 300 t0 1500 poly
More -
http://docs.unity3d.com/Manual/OptimizingGraphicsPerformance
.html
12. Porting your game to Windows Store
• Creating a Visual Studio Solution
• Developer mode
• Master Build
• Player Settings + Splash Image
http://wat-docs.azurewebsites.net/Tools
15. References
Related references for you to expand your knowledge on the subject
• Unity Learn-
http://unity3d.com/learn
• Building Windows 10 Games with
Unity 5 -
https://mva.microsoft.com/training-
courses/FE08837B-C04A-47E6-9190-
2DE4CC335735-12572
• Digital Tutors –
https://Digitaltutors.com
technet.microsoft.com/en-in
aka.ms/mva
msdn.microsoft.com/
Developer Network
16. Tell us what you think
Help us shape future events by
sharing your valuable feedback.
Scan the QR code to evaluate
this session.
-VSTU Built on Mono Soft Debugger which even MonoDevelop uses to talk to unity
-CTRL+Shift+M to display all MonoBehaviour methods available
-AssetBundles are files which you can export from Unity to contain assets of your choice. These files use a proprietary compressed format and can be loaded on demand by your application. This allows you to stream in content, such as models, textures, audio clips, or even entire scenes separately from the scene in which they will be used.
-The Render Path tells Unity how to handle light and shadow rendering in the game. Each renderer handles light and shadow a little bit differently, and they require different amounts of CPU and GPU processing power. It’s important to understand the platform and hardware you want to develop for so you can choose a renderer and build your scene or game accordingly.
-Unity allows you to set the level of graphical quality it will attempt to render. Generally speaking, quality comes at the expense of framerate and so it may be best not to aim for the highest quality on mobile devices or older hardware since it will have a detrimental effect on gameplay.
-Build Settings in Unity generates a VS solution
-Developer mode should be enabled on both Windows 10 and Windows phone 10 OS