
DirectX
Total 28 Posts
This tag aggregates all tutorials on various DirectX topics.
Resolution Independent Rendering
To support multiple resolutions, a technique called "Resolution Independent Rendering", pioneered by Donald Knuth, is implemented using Direct2D and some linear algebra.
Stécker vum Himmel
Stécker vum Himmel is a Tetris clone. This tutorial explains how to implement the basic ideas and mechanics of a Tetris game.
Polling Joysticks with DirectInput
This tutorial explains how to use DirectInput in DirectX 11 to acquire user input from joystick-like devices.
Chasing the Mouse
This brief tutorial shows how to handle input from mouse devices. Native Windows functions are used to track the mouse position as well as the state of the mouse buttons.
Banging on the Keyboard
During this tutorial an efficient, event-based and highly configurable input handler is implemented and a robust system to acquire and update keyboard states is added to the input handler.
Animated Sprites and Sprite Sheets
This tutorial builds upon the last tutorial and introduces animated sprites based on the flip book technique. To efficiently use that method, sprite sheets are used.