Abbreviation | Product name [Visual Studio version] | VC++ version | _MSC_VER | _MSC_FULL_VER |
---|---|---|---|---|
2022 | Visual Studio 2022 version 17.3.4 | 14.30 | 1933 | 193331630 |
2022 | Visual Studio 2022 version 17.2.2 | 14.30 | 1932 | 193231329 |
2022 | Visual Studio 2022 version 17.0.2 | 14.30 | 1930 | 193030706 |
2022 | Visual Studio 2022 version 17.0.1 | 14.30 | 1930 | 193030705 |
2019 Update 11 | Visual Studio 2019 version 16.11.2 | 14.28 | 1929 | 192930133 |
2019 Update 9 | Visual Studio 2019 version |
Minimal sprite rendering example written in C with SDL2
for windowing, sokol_gfx
for graphics API using WebGL2/GLES3, stb_image
for loading image, compiled in WebAssembly with Emscripten.
- Clone the repositories
sokol
andstb
in thedeps
folder - Add an image (sky.png) in
assets
directory - Compile and build with the following command (need Emscripten installed):