diff --git a/Create-Visual-Studio-Project.md b/Create-Visual-Studio-Project.md index 3f38dd8..af43373 100644 --- a/Create-Visual-Studio-Project.md +++ b/Create-Visual-Studio-Project.md @@ -1,3 +1,15 @@ +## Get started with raylib on Visual Studio the easy way (for beginners) + +This makes use of the template projects that have already been provided. + +1. Go to the [raylib repository](https://github.com/raysan5/raylib) and download or clone the repository to your computer. + 2. In the raylib folder navigate to the **raylib.sln** file by going `projects -> VS2017`. (Don't worry about the version of VS here) + 3. Open the solution file and in the [Solution Explorer](https://ibb.co/tKBCHnz) right-click the **core_basic_window_cpp** project (Not the `.cpp` one) and select the **Set as Startup Project** + 4. This contains a sample project already, Now select the **core_basic_window.cpp** file too see the code you will be compiling and press `F5` or the `Windows local debugger` button in the menu bar. + 5. **All done!** You should be seeing the sample project's window. To write your own games or apps you will have to rewrite on this `.cpp` file. **Have fun! :D** + + +## The proper way **raylib 2.0** includes [Visual Studio 2017 project templates](https://github.com/raysan5/raylib/tree/master/projects/VS2017) for the library and some examples but maybe you want to configure the library for another **Visual Studio** version. Assuming you are using **Visual Studio 2017** and you downloaded raylib from **github** you can easily follow this step by step guide.