Total 28 Posts
This tag aggregates all tutorials on various DirectX topics.


In this tutorial a new class, the Sprite class, is designed to facilitate the use of bitmap images. The Painter's Algorithm is explained and implemented to draw sprites in the correct order.

Direct2D Bitmaps

In this tutorial we learn about bitmaps and pixmaps. We study the BMP format and learn how to use the Windows Imaging Component to load image files from the harddisk into our games.


This tutorial covers the important concept of affine linear transformations in Direct2D, namely Translations, Scaling, Rotations and Shearing. We will learn how to apply those transformations to entire render targets, brushes and geometries.

Direct2D Geometries

This tutorial is an introduction to Direct2D Geometries, especially Path Geometries, which are one or multiple figures consisting of lines, arcs and Bézier segments.

Fun with Brushes

This tutorial explains the different brushes and strokes in Direct2D: solid colour brushes, linear and radial gradient brushes and stroke styles.

Drawing Primitives

This tutorial is a basic introduction to drawing geometrical figures in 2D. It focuses on rectangles and ellipses, and the difference between "drawing" and "filling".

Direct2D - A Revision

This optional short tutorial covers the updates DIrect2D received over the years as well as a few efficiency paradigms.
You've successfully subscribed to bell0bytes
Great! Next, complete checkout for full access to bell0bytes
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.