9/18/2018 7:26 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.

Slides:



Advertisements
Similar presentations
Windows 7 demo.
Advertisements

Developing Games for Windows Phone 7 with XNA Game Studio 4.0 Your Name Here.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Multitenant Model Request/Response General Model.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
travel Suru Windows 7 Release NET 4.0 / Surface 2.0 Release Multi-Touch Controls Multi-Touch API Surface Multi-Touch Controls & API Surface.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Frank Savage Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Adam Schaeffer Microsoft Corporation SESSION CODE: WPH307.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

DataModel VisualizationExternal Assets Workbook Excel Services API BrowserRich Apps EWA JSOMBrowser REST BrowserRich Apps.
Building Windows Phone 7 Games and Applications Yes, yes! “Games and Applications” and not “Applications and Games” Content is under NDA – please do no.
Windows Azure Jeffrey Ferman Program Manager 3-006
The Windows Phone Application Platform
6/10/ :23 PM TOOL-504T A deep dive into Visual Studio 11 Express for designing Metro style apps using XAML Joanna Mason & Unni Ravindranathan Program.
Piano Chord Builder Artem Kuligin CS 470 6/17/2018 3:08 AM
Build /24/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
A lap around DirectX game development tools
Windows Phone: how to build a game
Developing for Key Windows Phone Consumer Scenarios
Understanding Wi-Fi Direct in Windows 8
Reaching more customers with accessible Metro style apps using HTML5
Living up to the Promise of Online Advertising
Windows Phone multitasking
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Title of Presentation 11/22/2018 3:34 PM
Architecting and integrating sensor drivers
MIX 09 11/23/2018 6:07 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Certifying graphics experiences on Windows 8
Title of Presentation 12/2/2018 3:48 PM
Developing Games for Windows Phone 7 with XNA Game Studio 4.0
Quality & Performance for XAML Apps
Windows Phone application performance and optimization
What’s new for Silverlight & XNA developers in Windows Phone Mango
Introducing Metro style device apps
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Delivering great hardware solutions for Windows
Windows 8 Security Internals
4/20/2019 Share © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Windows Summit /23/2019 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be.
Leveraging existing code in Metro style apps
5/8/2019 3:20 AM bQuery-Tool 3.0 A new and elegant way to create queries and ad-hoc reports on your Baan/Infor ERP LN data. This Baan session is a query.
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
Title of Presentation 7/24/2019 8:53 PM
Presentation transcript:

9/18/2018 7:26 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Developing Games for Windows Phone with XNA Game Studio 4.0 SESSION CODE: W00T! Developing Games for Windows Phone with XNA Game Studio 4.0 Paul Foster Developer Evangelist Microsoft © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Xbox LIVE Hub

Xbox LIVE is Gaming Services Gamertag Friends Achievements Windows Phone will extend the Xbox LIVE brand beyond the console for the first time Merchandising Premium Placement Windows Phone is the first step towards our vision of a ubiquitous gaming service Differentiates your title from the rest

Leveraging the Right Technology Graphics For 3D graphics your only choice is the XNA Framework Game Loop Sprite heavy 2D applications should consider the XNA Framework Game Loop Simulation/Drawing Those who prefer a traditional update/draw/present frame loop should leverage the XNA Framework Game Loop Tooling Those who want to leverage the XNA Framework Content Pipeline graphics types

XNA Game Studio 4.0 Develop games for Windows Phone 7 Series Enhanced audio support Simplified graphics API’s Visual Studio 2010 integration New configurable effects

Powerful

Managed Code for Game Development Windows Phone 7 Series Uses the .NET platform Managed code platform, no unsafe code .NET/XNA is used for games today! XNA Game Studio 4.0 is C# exclusive 800+ managed code games on XBLA/XBLIG Windows games published through portals

Addressing Performance Head-on Frameworks designed for performance Frameworks designed for performance Frameworks designed for performance Frameworks designed for performance XNA Framework designed for gaming scenarios Commitment to future of managed code No unnecessary garbage generation Three+ years of profiling and investment We’ve built for performance on Windows Phone 7 Series Math libraries optimized Efficient APIs with tuned transitions to native code

demo Exercising the platform…

Productive

Visual Studio & .NET Productive development with .NET & C# High performance IDE Intellisense makes coding faster Integrated build/deploy/debug experience MSBuild engine for build automation

Content Pipeline Simplify Your Content Usage! Manage assets in Visual Studio Importers for common game data formats Optimize data into binary format for efficient loading Fully extensible XNA Framework/Game Loop not required Content projects external in XNA Game Studio 4.0

XNA Framework Simplifying Game Development

XNA Framework Game Loop Start Simple and Customize! XNA Framework Game Loop Example protected override void Update(GameTime gameTime) { // Allows the game to exit if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed) this.Exit(); // TODO: Add your update logic here base.Update(gameTime); } protected override void Draw(GameTime gameTime) GraphicsDevice.Clear(Color.CornflowerBlue); // TODO: Add your drawing code here base.Draw(gameTime); Traditional update/draw/present frame loop Core programming model consistent with previous releases Changes implemented yield better power performance on devices System integration with Windows Phone 7 Series best practices Translated to existing XNA Framework concepts

Graphics Let’s Get Visual, Visual!

Five Configurable Effects BasicEffect DualTextureEffect AlphaTestEffect SkinnedEffect EnvironmentMapEffect Plus hardware accelerated 2D sprite drawing

EnvironmentMapEffect BasicEffect BasicEffect DualTextureEffect AlphaTestEffect SkinnedEffect EnvironmentMapEffect 0-3 directional lights Blinn-Phong shading Optional texture Optional fog Optional vertex color Vertex Cost Pixel Cost No lighting 5 1 One vertex light 40 Three vertex lights 60 Three pixel lights 18 50 + Texture +1 +2 + Fog +4

EnvironmentMapEffect DualTextureEffect BasicEffect DualTextureEffect AlphaTestEffect SkinnedEffect EnvironmentMapEffect For lightmaps, detail textures, decals Blends two textures Separate texture coordinates Modulate 2X combine mode (A*B*2) Good visuals at low pixel cost Vertex Cost Pixel Cost Two Textures 7 6 + Fog +4 +2

EnvironmentMapEffect AlphaTestEffect BasicEffect DualTextureEffect AlphaTestEffect SkinnedEffect EnvironmentMapEffect For billboards and imposters Adds alpha test operations (pixel kill) Standard blending is free with all effects Only need alpha test if you want to disable depth/stencil writes Vertex Cost Pixel Cost <, <=, >=, > 6 ==, != 10 + Fog +4 +2

EnvironmentMapEffect SkinnedEffect BasicEffect DualTextureEffect AlphaTestEffect SkinnedEffect EnvironmentMapEffect For animated models and instancing Game code animates bones on CPU Vertex skinning performed by GPU Up to 72 bones One, two, or four weights per vertex Vertex Cost Pixel Cost One vertex light 55 4 Three vertex lights 75 Three pixel lights 33 51 + Two bones +7 +0 + Four bones +13 + Fog +2

EnvironmentMapEffect BasicEffect DualTextureEffect AlphaTestEffect SkinnedEffect EnvironmentMapEffect Oooh, shiny! Diffuse texture + cube environment map Cheap way to fake many complex lights Fresnel term simulates behavior when light reaches a surface and some reflects, some penetrates Vertex Cost Pixel Cost One light 32 6 Three lights 36 + Fresnel +7 +0 + Specular +2 + Fog

System Support: Scaler & Orientation Write your game without worrying about native resolution or orientation Automatic rotation between portrait and landscape Touch automatically supports both scale and orientation changes Scaler can drastically improve performance Trade off performance for “crispness” & shade fewer pixels 800x480 = 384,000 pixels, 480x320 = 153,600 pixels Upsample an arbitrary back buffer to native device resolution Far higher quality than bilinear filtering Allows for easier porting from other platforms Scaling/Rotation comes for “free” from Hardware

Audio & Media Can You Hear Me Now?

Audio Playback Example Audio Capture Example public void EventDrivenCapture() { mic = Microphone.Default; buffer = new byte[mic.GetSampleSizeInBytes(mic.BufferDuration)]; mic.BufferReady += new EventHandler(OnBufferReady); DynamicPlayback = new DynamicSoundEffectInstance(mic.SampleRate, AudioChannels.Mono); } public void OnBufferReady(object sender, EventArgs args) // Get the latest captured audio. int duration = mic.GetData(buffer); // Do some post-capture processing and playback. MakeMeSoundLikeARobot(buffer, duration); DynamicPlayback.SubmitBuffer(buffer); Audio Capture & Playback Simple API to play back WAV data Modify pitch, volume, pan audio Ability to play synthesized/buffered audio Serialize captured data Provides more control over System.Media types on Windows Phone 7 Series Audio Playback Example // Load a sound effect from a raw stream SoundEffect effect1 = SoundEffect.FromStream( GetStreamFromTheWeb("http://url.wav")); effect1.Play(); // Create dynamic audio on the fly byte[] fluteSound = GetFluteNote(); effect2 = new SoundEffect(fluteSound, SampleRate, AudioChannels.Stereo); SoundEffectInstance instance = effect2.CreateInstance(); instance.Pan = -1; instance.Pitch = 1.5f; instance.Play(); Microphone/Bluetooth Support Playback through headset Capture through mic or headset

Media – Music/Photos/Video URI Song Playback Example Music Enumeration & Playback // Constructs a song from a URI Uri mediaStreamUri = new Uri("http://song.asx"); Song streamedSong = Song.FromUri("Song", mediaStreamUri); // Play the song MediaPlayer.Play(streamedSong); Control and enumerate users’ media within a game Ability to play songs from URI/URL (i.e. music app) Picture Enumeration & Playback Supports photo picking/editing/publishing Retrieve Image Data MediaLibrary media = new MediaLibrary(); // Get the JPEG image data Stream myJpegImage = ReadAndModifyPicture(somePicture); // Save texture to Media Library   media.SavePicture("Awesome", myJpegImage); Video Playback Uses standard video player API Show/Hide controls

Input / Touch Interacting with games gets easier!

Input Overview Cross Platform Input API Touch API Touch Input Handling Xbox 360 Controllers (Xbox/Windows) Keyboard (Xbox/Windows/Windows Phone 7 Series) Touch Input Handling var touchCollection = TouchPanel.GetState(); //... foreach (var touchLocation in touchCollection) { if (touchLocation.State == TouchLocationState.Released) } Touch API Available across platforms for portability (fewer #ifdefs) Multipoint on Windows Phone 7 Series and Windows Orientation and resolution aware Developer can override

Sensors Using Silverlight and the XNA Framework

Accelerometer Example Sensor Overview Leverage Platform Features on Windows Phone 7 Series VibrationExample VibrateController rumbler; rumbler.Start(TimeSpan.FromSeconds(2)); Location Accelerometer Vibration Accelerometer Example AccelerometerSensor accelerometer; AccelerometerReading accelerometerReading; accelerometer = AccelerometerSensor.Default; accelerometer.ReadingChanged += AccelerometerReadingChanged; accelerometer.Start();

demo Build a game in minutes…

Portable

Target Three Screens XNA Framework designed to be cross platform Smaller time investment & target more sockets Project synchronization between platforms

Summary Powerful Productive Portable Great managed code games, working today Windows Phone provides a powerful platform for gaming Productive Focus on being a game developer Great tools make you more productive Portable Target more platforms easily Focus on your game differences, not the technology

9/18/2018 7:26 AM © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.