i didn't find any good answers even not helping with anything else saying thats its better to use linux for this.I got my linux ubuntu 17.04 |
IMO Linux is a bad choice for a beginner, you can do more f***ups than on windows because you have access behind the scenes (even if it's safer than windows in general). Also, you just crossed out the option of using DirectX, since it's windows specific.
I'm not saying by any means that it's a bad idea to learn Linux.
So i hope you can show me a site where you make your game engine from scratch without using any libraries like:
SDL2, SDL, SFML, OpenGL, Glew, freeglut, Direct3D, DirectX and so on. |
What do you mean without these libraries?
OpenGL is an industry standard developed by a board composed of representatives of the biggest software and hardware manufacturers (Khronos Group). I guarantee you already have it, even if you don't know. It's as low level as you can get (excluding Vulkan, which is still developed by the same consortium), without dabbling into hardware or mode 13h (I'm not even sure you can still use mode 13h on modern OS, would be glad if someone could lighten me up on this).
DirectX is an windows specific "version" of OpenGL, but it also has support for more than graphics, stuff like DirectSound for audio. Direct3D is a part of DirectX. Glew is a wrangler library for OpenGL, the rest are higher-level wrappers or utility libraries.
the engine will render lines,rects, triangels and so on and that you can clear everything drawed on the screen so you can make ilusion of moving. |
I gotta burst your bubble, but what I can recommend you is to use a high-level library, maybe just ditch c++ for now and use something like Python, it has the tkinter module which will give you a very user-friendly interface for basic drawing like this. Then as you get more knowledgeable move onto more advanced and low level stuff like OpenGL or DirectX.