In this episode of the Game Dev Show, I introduce you to Win2D – a powerful and easy-to-use Open Source library for immediate mode 2D graphics rendering with GPU acceleration. It is available to C# and C++ developers writing Universal apps and games for Windows 10 (UWP), and also Windows Runtime apps for Windows & Windows Phone 8.1. It utilizes the power of Direct2D, and integrates seamlessly with XAML and CoreWindow.
Win2D (http://microsoft.github.io/Win2D) lets Visual Studio developers tap into hardware accelerated graphics without the need to call low-level DirectX APIs. Win2D is implemented as a layer on top of Direct2D, and supports interop in both directions. In this episode, I show you how to get started with Win2D, then integrate Win2D graphics within a XAML UI canvas, and show you how to draw shapes & primitives.
Win2D is a powerful framework for app and 2D game developers alike, come learn how to get started and get involved.

Here is an outline of this episode:

[00:00] – Teaser
[00:32] – Recap of the Universal Windows Platform (UWP)
[04:00] – Approaches to build games for Windows 10
[06:56] – Introduction to Win2D graphics library
[07:43] – DEMO – Win2D Examples Gallery
[10:35] – Why use Win2D?
[12:18] – DEMO – Building a game with Win2D
[24:16] – Wrapping-up and reference links
Reference Links
Watch the Win2D session from BUILD 2015 with Simon Tao:
Introducing Win2D: DirectX-Powered Drawing in C#
Follow Shawn Hargreaves on Twitter, original Win2D creator and key contributor:





Source link