Getting Started with SDL2 C++ in Visual Studio using vcpkg

  Рет қаралды 695

Kyle Geske

5 ай бұрын

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

Пікірлер: 3
@VinnyRN07
@VinnyRN07 5 ай бұрын
This tutorial fixed the issues I had with getting SDL2 up and running! I appreciate how comprehensive both the setup and startup code was!
@stungeye
@stungeye 5 ай бұрын
Glad it was helpful! 🙂
@VinnyRN07
@VinnyRN07 5 ай бұрын
@@stungeye As someone who usually uses pygame, I am enjoying getting into C++ and the libraries behind it