![]() ![]() ![]() You'll need the Windows development libraries for Visual C++, and you'll also need the Windows runtime binaries (we'll use the x86 ones by default, but you might need the 圆4 ones if you eventually want to compile 64-bit versions of your game).Įxtract the contents of the development libraries. But for future SDL2 tutorials, some C/C++ knowledge will be expected.īefore we begin, you'll need to grab some files from the SDL2 download page. This article is just about setting things up, so you don't really need to know anything. SDL2 is a C library, so SDL2 projects are normally written in C/C++, although it is possible to use other languages. This article is a tutorial on how to set up a Visual Studio 2010 project to work with SDL2. I had also written an article on setting up SDL 1.2.x in Linux on my other blog. SDL2 apparently brings about many improvements we were yearning for, including support for multiple windows. SDL is a fantastic library for cross-platform game development, and I had used SDL 1.2.x for several projects ranging from my Picaxo Image Viewer to early iterations of Ultima 1 Revenge, which I mentioned in yesterday's article. Yesterday I realised that earlier this month, SDL2 has been released. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |