I need a very simple code in C with very detailed remarks everywhere explaining everything (as if I'm a beginner).
I just want to open up Visual Studio with ONE [login to view URL] file (no header files, no plugins, no toolkits etc...) just simple C and one main file: [login to view URL] (the whole code in one file)
This program needs to open a window to 1920x1080 and display one sprite(any small png file) in the foreground(static), and a parallax scrolling(slowly) background(any png file) , while using the swapchain/back buffer function.
To be clear, write to the back buffer and present it. Of course this will be going on in the render function forever unless I close the window.