0
Please guys they said c++ is used for gaming but why most codes are in windows and directx. But notc++
Need help on c++ in GAME
8 odpowiedzi
+ 1
Martin Taylor
Do you make graphic projects for C++?
If so what libs or engine do you use?
+ 1
Is nobody going to mention about unreal engine?
maybe you are looking on how to create games on c++ but ended up getting results in directX and windows.
first of all windows or win32 api
(what i assume you find) and directX is a tool for your c++ program to create games. You simply use their library function to make your game with c++.
It's not a different language than c++
if you are interersted in game programming using c++ then i suggest that you start using unreal engine.
unreal engine is the tool professional game developers used to create their AAA games.
along with unity which has the most game developer users.
using directX or win32 api won't get you far in game development unless you used unreal engine which has tons more modern features compared to them.
0
Collins Pius
Hi I like that you are interested in C/C++!
I feel that you are confused about the subject.
Please look at my text drawing below.
________________
| optional API(s)/ libraries |
|__________________________|
|Windows.h |
|DirectX lib |
|__________________________|
|
I
#include <library_name>
|
I
V
Standard C++
As you can see above you have normal C++. Along with you can add additional libraries or API(s).
Windows has their own additional C++ libraries ( DirectX being one of them ).
0
I personally would not use a platform specific library.
I use SDL2 for my graphic projects.
SFML is also a good alternative.
If you what to make C++ games and make the process easier. I believe Unreal engine is a good choice.
https://www.sololearn.com/discuss/498964/?ref=app
https://www.sololearn.com/discuss/900345/?ref=app
https://www.sololearn.com/discuss/488976/?ref=app
0
Thanks guys
0
Graphic.h