- 4
- 513
Junaid Sultan
Приєднався 2 лис 2023
how to setup c++ project in visual studio code
this video guides you step by step on how to setup a c++ project in visual studio code (vs code). This project will contain multiple directories/folders for important things like header/include files , the output files and source/src files.
Timestamps:
00:00 - introduction
00:11 - linux compiler setup
00:33 - windows compiler setup
03:46 - basic vs code setup
05:36 - changing output location
07:00 - configuring include files
08:54 - configuring src files
10:12 - configuring main.cpp path
10:43 - renaming .exe output
11:31 - new projects
Timestamps:
00:00 - introduction
00:11 - linux compiler setup
00:33 - windows compiler setup
03:46 - basic vs code setup
05:36 - changing output location
07:00 - configuring include files
08:54 - configuring src files
10:12 - configuring main.cpp path
10:43 - renaming .exe output
11:31 - new projects
Переглядів: 129
Відео
Making Simple Ball Simulation In Raylib C++
Переглядів 3510 місяців тому
Summary: - class ball - x, y, speed x and y and overall speed - draw ball function - update ball function - x = speed x and same for y - reverse speed on borders (by *= -1) - make class object - assign the variables - call the functions
Making Window In Raylib C++
Переглядів 3310 місяців тому
Summary : - Make 3 variables : height, width, fps - innitwindow (width, height, "title") - set target fps = fps while ( ! windowshouldclose ) { - begin drawing - background color - end drawing } ty :3
Scene Management In Raylib C++
Переглядів 31611 місяців тому
Summary : - Make data type Screens (using typedef enum Screen { Names } Screen ) - Screen variable and assign value as names above - Switch case - Make cases for each screen name - Change variable value as you like This method is already available on raylib webside, in examples Do check it too
MY FRIEND !!! I have been struggling to set up VS code for cpp for one of my courses, yours is the first tutorial that worked!!!! thank you soooooooo much !!!
I'm glad it helped ^^
extension used for folder icons - "material theme icon"
oh my oh my freakynaid thanks for this tutorial and saving my life 😢😢😢😱😱😅😅🤺🤺🤺
yes
raylib got no builtin scene management so it just forces you to use C++ builtin functions. crazy! 😂😂
Thanks Bro!
Do check Raylib Official website and see Example section