0
How can I print a C++ game to an usual window or website instead of cmd?
I completed the C++ course and did a snake game in Visual Studio Community which prints to cmd with the help of a YouTube guide. I'm wondering now how I can print a game to an usual window or website instead of cmd. I don't want to use third party game engines.
9 ответов
0
there only exist third party game engines...
0
if you want to make games with graphics you need to learn librarys like for example:
-SDL
-SFML
0
Thanks for your answer, which of these libs is the best for making games?
0
What is usual window here?
Is it C++ application file?
0
Well, I was thinking about a borderless fullscreen window like the usual stuff for pc games or instead printing to a website for a browser game or even "to android" for a mobile game. It's a cpp file.
0
Entrance SDL is more for making advances 2d games (its hard but very good, especialy when you combine it with openGL (a 3d library: https://youtu.be/21E9DWbTKcU). some pretty famouse games are made in SDL.
SFML is more for simpel 2d games and Code Art (relativly easy if you compare it to SDL)
0
Do you have to give a cut of your profit to any of such lib providers similar to when you use a game engine like unreal?
0
Most code is open source so no you don't.
0
Entrance nope not at all