Is this possible with C++

I just recently learned the basics of C++, since I want to get to programming a game. My question is can I stick to C++ or do I need to change languages? From what I have learned so far I see no way to input images, and I can't imagine how, if I could, I would be able to lay out things in a HUD format type thing. So can I do that? Create like a formed background with slots that can input interchangeable images in places I'd like? Can I insert sound? If so, can I do it with any program, or do I need a specific one? Does anyone have a guide that can help? The only reason I'm considering it may be possible, despite my doubt, is that I can see videos of people playing games they claimed to have programmed in C++, but none of them say how they did it
They did it by learning how to use a graphics and sound library probably from books on game programming. Learning the basics of c++ was the easy bit.
eg.
http://www.sfml-dev.org/tutorials/2.1/
Last edited on
you can do graphic but you would have to use an existing lib or create your own.
C# with Unity Engine is great .
SDL with openGL , FLTK . You have physic engine to play with Box2D or Bullet3D not so fun..

There is also audio lib like FMOD API low-level , and maybe Input lib to use the joystick.

DirectX is not for beginners though

Making a snake or pacman can be fun and easy in c++.

You don't need to change languages.

Try using Allegro 4 library. A short tutorial is here:

http://www.programming4beginners.com/tutorial/allegro

To load images or play music, look at the documantation of Allegro 4 at:

https://www.allegro.cc/manual/4/

.. or find some tutorial describing how to load images and draw bitmaps in Allegro 4.
Last edited on
Topic archived. No new replies allowed.