Войти
  • 14725Просмотров
  • 3 года назадОпубликованоNick Walton

Draw Pixels to a Win32 Window in C with GDI

Buy my game on Steam: Get the code in the text version of this tutorial: Chapters: 00:00 Introduction 00:34 main.c 00:50 GDI object creation 01:45 WM_SIZE resizing the bitmap 02:41 WM_PAINT copy the pixels to the window 03:56 Redrawing every game update 04:29 frame structure 04:44 Indexing pixels 05:10 Pixel byte layout + hexadecimal primer 05:49 Setting pixel colours with hexadecimal 06:23 Make a specific pixel red 06:41 Running the program 07:00 Coming next