In this video i will teach you what SDL2 is and what it's used for, setting it up on Windows 10, and make a moving image(with arrow keys) step by step
Nim version used: 1.4.2
Timestamps:
00:00 Intro
00:51 SDL Explanation
01:48 SDL Setup/Installation
06:21 Start of the tutorial part of the video
09:34 Binary system explanation
11:27 Binary system demonstration
16:51 Bitwise operations(settings flags to true/or, clearing flags/and not, toggling flags/xor, checking flags/and)
21:10 Back to making our SDL application
40:15 First program run(creating a window with an image drawn onto it)
44:00 Program done, last program launch
LINKS:
Patreon page: https://www.patreon.com/Kiloneie?fan_...
Code link: https://github.com/Kiloneie/kiloneie....
SDL2_nim documentation: https://vladar4.github.io/sdl2_nim/
SDL2 documentation(in case SDL2_nim documentation missed something): https://wiki.libsdl.org/APIByCategory
Nim's official website: https://nim-lang.org/
Visual Studio Code Short Cuts: https://code.visualstudio.com/shortcu...