Integrate your game with Windows platform Vladimir Kolesnikov Technical Evangelist Microsoft...

56
Integrate your game with Windows platform Vladimir Kolesnikov Technical Evangelist Microsoft @vladkol

Transcript of Integrate your game with Windows platform Vladimir Kolesnikov Technical Evangelist Microsoft...

Integrate your game with Windows platformVladimir KolesnikovTechnical EvangelistMicrosoft

@vladkol

β

Some traits of a great game

Snap and scale beautifully

Invest in a great Tile

Use the right contracts

Feel connected and alive

Roam to the cloud

Respect device experience

Use device capabilitiesUse device and OS capabilities

Devices

Diverse range of devices

Input DevicesTouch

Keyboard + Mouse

Joystick

All of them!

Snap and scale

Design for Multiple View States

Your game can be displayed on any one of these view states:

Resolutions, ratios, scales, view states

Widescreen (1366x768+) Snap view (required)Minimum

(1024x768)

Portrait

Handling Snapped View

Tiles and Toasts

Woohoo! Somebody made a shot at 7:32PMWoohoo! Somebody made a shot at 7:32PM

for Push Notifications and Live Tiles in your Unity game

demo Windows Runtime Plugin

Toast Templates for Windows 8Toast notifications use the same template architecture as Live Tiles

Rich set of rendering options available

Notification Delivery Mechanisms

ScheduledLocal Periodic

Send notifications while your app is running.

Schedule a notification update in advance at the precise time you specify.

Update tiles and badges at a fixed time interval by polling a cloud service for new content.

Push

Notifications sent directly from a cloud server to an individual user, at a time of the server’s choosing.

Some important stepsfor push notifications

Settings and Capabilities

Internet Client capabilityToast Enabled

Associated with the Store

And on Windows Phone 8Networking capability

On Windows 8

Has Privacy Policy

Push Notifications capability

…and even more

Changing lock screen imagePutting your badgesRaw notifications

Control channels

Background services

Live Tiles, Toasts and Badges make your game more addictive and live for users

Charms and Contracts

Settings Contract and Charm

Share Contract and Charm

Search Contract and Charm

File Picker Contract

in your game and for your game

demo Charms and Contracts

XAML + DirectX

The Best of Both Worlds

XAMLInteractivity, control model

UI, drawing, animations

Data binding, media, HTML

Design-time experience

Unity3D/DirectXHighest performance rendering

Direct device access

Complex 2D/3D graphics, text

Image effects

App Bar

List Box

Hyperlink

CheckboxProgress Bar

Text Box

Password

Progress Ring

Tooltip

Grid ViewButton

Flip View

Combo Box

Scroll Bar

Context Menu

Slider

Toggle Switch

Semantic Zoom

Panning Indicator

Rating

List View

Flyout

Radio Button

Clear Button

Reveal Button

Spell Checking

In-box XAML Controls

Connected Experience

What is Windows Azure Mobile Services?

Data

Notifications

Auth

Server LogicLogging & Diag

ScaleScheduler

for data and notifications

demo Azure Mobile Services

Data Roaming

App data vs. User data

User data

Documents Photos Music Videos

App data

Settings FilesSession State

Local Cache

Roaming

App uses data normally

Data syncs for the user’s Microsoft account

LocalStorage

Hardware

Windows 8 and Windows Phone 8 provides seamless access to device capabilities including camera, microphone, sensors, NFC, and touch.

Sensors

GPS

Motion (Accelerometer, Gyro, Compass)

Light

NFC

Basic game scenarios for sensors

Shake Rotate Flip

Light-aware games – render for lighting

Dark Indoors Outdoors

Voice Driven Games on Windows Phone

Commands

Speech recognition

Text-to-speech

Using device capabilities is a way to make your game more addictive attractive for users

Windows and Windows Phone Stores

Key Technical Features

TrialIn-app purchaseThird-party payment systems

• Select a time period for your trial

• Let the Windows Store handle the rest

Handling Trials

Use CurrentApp.LicenseInformation to check trial information

In-app Purchase

Different types of in-appsSigned receiptsLocal testing with CurrentAppSimulator

demo Windows Store

in-app purchase in a Windows Store game

While we are in betawith Windows Store and Windows Phone addons

Topics to discussNetworkingJavaScript and Collections

Camera and Microphone

Tips&Tricks coming“Lessons learned” sessions

Input

Q&A

Already built for your gameWindows Runtime Plugins for Unity3D

Windows Runtime Plugins

Snap View

Share and Setting

Store

Ads

Windows Azure

Analytics

Charms

Settings

Snap View

Search

Windows Azure Mobile Services

http://www.bitrave.com/unity-windows-8-plugins/http://prime31.com/plugins

Windows and Windows phone provides have design principles, contracts and APIs for building high quality games with advanced user experience and continuous involvement.Unlock all those features in your Unity games