18
Nick Landry Senior Technical Evangelist – Microsoft [email protected] Blog: AgeofMobility.com @ActiveNick | github.com/ActiveNick Building a Windows 10 Game with C#, XAML and Win2D

Building a Windows 10 Game with C#, XAML and Win2D

Embed Size (px)

Citation preview

Page 1: Building a Windows 10 Game with C#, XAML and Win2D

Nick LandrySenior Technical Evangelist – Microsoft

[email protected]

Blog: AgeofMobility.com

@ActiveNick | github.com/ActiveNick

Building a Windows 10 Game

with C#, XAML and Win2D

Page 2: Building a Windows 10 Game with C#, XAML and Win2D
Page 3: Building a Windows 10 Game with C#, XAML and Win2D

Phone Small Tablet2-in-1s

(Tablet or Laptop)Desktops

& All-in-OnesPhablet Large TabletClassic Laptop

Xbox IoTSurface Hub Holographic

Windows 10

Page 4: Building a Windows 10 Game with C#, XAML and Win2D

What does Windows 10 mean to game developers?

Page 5: Building a Windows 10 Game with C#, XAML and Win2D
Page 6: Building a Windows 10 Game with C#, XAML and Win2D

Which approach should I use to build a Universal Windows Platform game?

Page 7: Building a Windows 10 Game with C#, XAML and Win2D

Platform SDK

• C++ & DirectX

• Gaming-first (3D,

2D)

• Windows

• Powerful (esp. 3D)

• Can be lean or

resource-hungry

• UI challenges

• Countless libraries

Game Middleware

• Unity, Unreal, etc.

• Gaming-first (3D,

2D)

• Cross-platform

• Powerful (esp. 3D)

• Resource intensive

• UI challenges

• Limited libraries

App Frameworks

• UWP, Xamarin

• App-first (2D)

• X-plat but limited

• Flexible (but 2D

only)

• Leaner execution

• Amazing for UIs

• Countless libraries

Page 8: Building a Windows 10 Game with C#, XAML and Win2D
Page 9: Building a Windows 10 Game with C#, XAML and Win2D

2D drawing library• 2D geometry, text, images, effects, etc…

For the Universal Windows Platform• Windows 10 and Windows/Phone 8.1

• C++, C# and CLR languages

Open Source

Available today on Nuget.org

Page 10: Building a Windows 10 Game with C#, XAML and Win2D

Demo: Win2D Example Gallery

Page 11: Building a Windows 10 Game with C#, XAML and Win2D

• Data visualization

• Simulations

• Creative apps

• Custom controls

• Games

• Much more…

Page 12: Building a Windows 10 Game with C#, XAML and Win2D

• Let Win2D handle the heavy lifting

• Get the right level of control from Win2DEasy

• Built entirely on DirectX

• A thin layer on the native platformFast

• Built on Direct2D and DirectWrite

• Win2D is a comprehensive wrapperPowerful

• Apache 2.0 License: Download the source code

• View backlog, contact the team on the blog

• File bugs, ask questions, submit patchesOpen Source

Page 13: Building a Windows 10 Game with C#, XAML and Win2D

Demo: Getting Started with Win2D

Page 14: Building a Windows 10 Game with C#, XAML and Win2D

It’s easy.

It’s fast.

It’s powerful.

It’s open source.

Page 15: Building a Windows 10 Game with C#, XAML and Win2D

@ActiveNick

Page 17: Building a Windows 10 Game with C#, XAML and Win2D
Page 18: Building a Windows 10 Game with C#, XAML and Win2D