can you make 2d games in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

can you make 2d games in c++

3rd Jul 2016, 3:37 PM
Rajiv Singh
Rajiv Singh - avatar
7 Answers
0
for gui you can use mfc
3rd Jul 2016, 5:49 PM
mali Schwartz
mali Schwartz - avatar
0
Use SFML or OpenGL
4th Jul 2016, 9:48 PM
Mihai Dancaescu
Mihai Dancaescu - avatar
0
you can first start with the interface "Curses"
5th Jul 2016, 7:20 AM
Dorian
0
of course you can it's more of just not using the x axis in your game which makes it easier. try using unreal because it allows you to code in c++. you can code any kind if game with c++ the kind of game you make is more reliant on the engine you use not the language.
6th Jul 2016, 7:12 AM
alexander stewart
alexander stewart - avatar
- 1
You need a game engine to build a game.Obviously you will require the knowledge of a HLL(high lvl language) also. You can try making simple games(very simple games) but if you want to create somthing with game options(GUI), you'll require a game engine for that purpose.
3rd Jul 2016, 3:58 PM
Satan 666
Satan 666 - avatar
- 1
yes. unreal engine uses c++ I believe
3rd Jul 2016, 5:51 PM
Kayla Foster
Kayla Foster - avatar
- 1
you can make almost anything with C++ as far as you have the time to put some code on it. Always consider what other have done that is available to use in your project. For 2D games there are some libraries that take care of the basic stuff so you can focus on make an original game... but if you are not happy with the engine libraries that are out there you can still make you own 2D engine library.
3rd Jul 2016, 6:22 PM
Nelson Urbina
Nelson Urbina - avatar