How to Make a Game Using C++ Programming Language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

How to Make a Game Using C++ Programming Language?

Please help me to make a game using c++ for pc Or Android.

10th Jun 2020, 2:10 AM
Safder Raza
Safder Raza - avatar
1 Answer
You can code with anything. Making games needs an engine. The engine is what interacts with your hardware like GPU, CPU, monitor, mouse and keyboard. Usually engines are written in fast languages like C, C++, Java, etc. Nowadays most engines are sort of 'wrappers', meaning that they use APIs such as OpenGL to abstract the interaction with hardware and implement their features and fuctionalities. Once you have an engine, the scripting language can be ANY LANGUAGE YOU WANT. JavaScript? Sure. Python? Why not. Lua? Yeah. Custom languages built for the engine? Of course. Unity and Unreal use C# and C++, for example. So, having said that, the only thing you need is to choose your engine. There's a list on wikipedia featuring the most common engines, and there's more than 35 FREE engines or frameworks there. Give it a look, choose your engine, look up its documentation and START MAKING GAMES!
11th Jun 2020, 6:58 PM
Antônio Gabriel Zeni Landim
Antônio Gabriel Zeni Landim - avatar