Рет қаралды 695
SDL2 C++ project setup in Visual Studio using the vcpkg dependency manager, followed by coding a simple SDL2 application.
SDL2 Project Github Repo: github.com/stungeye/VSVcpkgSDL2
Additional Library Directories Path: .\vcpkg_installed\x64-windows\x64-windows\lib\manual-link
My vcpkg Tutorial: kzbin.info/www/bejne/aYmXdaB4m8-sZrs
00:00:00 Intro
00:00:41 Project Setup
00:04:13 Application Plan
00:06:32 Application Setup
00:10:20 Initialize Window & Renderer
00:17:18 Create "Game Loop"
00:18:24 Polling for Events
00:20:06 Rendering a Rectangle
00:23:31 Centre Rect on Resize
00:25:03 User Input
00:27:52 Disable Console Window
00:29:39 Wrap Up