Draw pixels on screen in C or C++
This tutorial covers how to get full access to every pixel on screen working only with the basic Windows API in C or C++. ------------------------------------------------------------------------------------------------------------------ Timestamps: 0:00 Intro 3:21 MSVS setup 5:45 Creating a window 15:45 Bitmap graphics 35:15 Outro ------------------------------------------------------------------------------------------------------------------ The code used in this tutorial: https://github.com/RogueRat/YT_Tutorial_Code/blob/a7719e6093a72df7bd2379471dd7cd917d5e7b2c/MakeDrawBMP.txt ------------------------------------------------------------------------------------------------------------------ The various sources that I mention in the video: Device contexts: https://learn.microsoft.com/en-us/cpp/mfc/device-contexts?view=msvc-170 Painstructs: https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-paintstruct CreateWindowEx: https://learn.microsoft.com/en-us/previous-versions/ms960010(v=msdn.10) Make your first Windows program: https://learn.microsoft.com/en-us/windows/win32/learnwin32/your-first-windows-program Unicode reasons: https://en.wikibooks.org/wiki/Windows_Programming/Unicode WinMain vs Main: https://stackoverflow.com/questions/18709403/winmain-vs-main-c ------------------------------------------------------------------------------------------------------------------ My Twitch channel: https://www.twitch.tv/artebirklaus Warlock's Gantlet Steam page: https://store.steampowered.com/app/2391180/Warlocks_Gantlet/
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.