Any games you put out there? |
"Funny" you should ask....
https://github.com/GeorgePimpleton/Win32-games
Not my games, just ones from two ooooooold Windows
application programming interfaces (WinAPI) (when the API was known as Win32) books I've adapted to work with modern Windows. Using the antiquated Windows
graphics device interface (GDI). The books are before C++11. The GDI was
the Windows standard way to draw text and graphics.
The first "chapter" of the games is a C/C++/WinAPI primer.
WinAPI is also known as Windows Desktop programming.
The WinAPI can be intimidating, there are so many different data types used. And the amount of code needed to get a
minimal GUI app can be quite a lot compared to a simple console mode app.
https://learn.microsoft.com/en-us/windows/win32/winprog/windows-data-types
When 64-bit Windows was introduced a bunch of new data types were introduced.
https://learn.microsoft.com/en-us/windows/win32/winprog64/the-new-data-types
Well designed WinAPI code can and should compile for x86 and x64. VS can compile for both.
No. I know the GDI, I've mucked around with GDI+, DirectX2D, DirectX3D and the like.
I tried OpenGL years ago and at the time it kept being nothing but baskets of errors and lots of slow runtime code. OpenGL may be the defacto standard for other OSes other than Windows, but not for me.
There are newer, allegedly better because they can use newer GPUs if present, cross platform graphics setups available, Vulkan is one. Unity, Unreal and Cocos2d are others.
The last three are optional components available in Visual Studio, they need to be installed manually. Same as C++ has to be manually installed.