Game Development with raylib C++ — Day #1

This article kicks off a series for Developing Games using the raylib library in C++ and Visual Studio Code

Download and Install Visual Code

Go to this site https://code.visualstudio.com/download and download Visual Studio Code

After installing, click on the Extension button and install C/++ for Visual Studio Code by Microsoft. Type C/C++ in the search box. Make sure you pick the one as shown below with the blue star, and click on the Install button.

Download and Install raylib

Go to this site https://www.raylib.com/ and click on the Download Now button. You can donate but you don’t have to by clicking on No Thanks. Choose raylib 3.7 Windows Installer (with MinGW compiler). If you are reading this in the future, it's ok if the version numbers are different, just make sure it is the Min GW compiler.

Run the downloaded file and if you get a warning, click More Info and Run Anyway.

Go through the flow and accept the defaults and install raylib. This will create a portable installation in the c:\raylib folder.

Download raylib Template for Visual Studio Code

Go to my repository to download the zip for the template at https://github.com/JSeneque/raylib-vscode-template

Extract this zip file and keep this somewhere as this is the starting point for every project you do. You simple just make a copy of the folder and rename it.

Go into the newly renamed folder and double-click on the main.code-workspace file. You will get a message pop-up, click on “Yes, I trust the authors”

We now have everything we need to create C++ games using raylib and Visual Studio Code (VSCode). In the next article, Create your first program, we create a basic structured raylib application with creating and display a window, then closing the window.

If you enjoyed reading this article give me a Clap, also if you would like to see more, “Follow” me, so you may be notified of future releases. You may also send me a message if you need any further help.

I am available for your next chart-topping game!

A Data & Analytics Consultant who is expanding into developing experiences in XR, Enterprise and Gaming space using Unity www.jeannoelseneque.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

MS SQL Sever vs Oracle

Looking for an alternative to Docker? Podman could be your solution !

WooCommerce Email Customizer | Email Customizer For WooCommerce

Retrieving container IP and updating inventory — Ansible Demonstration

DELTA has launched!

Troubleshooting: Export platform-specific Python package using Docker

RAID: What is it, how does it work, and what do I choose?

Android Developer VS Web Developer: Which is The Best Choice to Make More Money | Temok Hosting…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jean-Noel Seneque

Jean-Noel Seneque

A Data & Analytics Consultant who is expanding into developing experiences in XR, Enterprise and Gaming space using Unity www.jeannoelseneque.com

More from Medium

Build a simple game with computer vision

Building a Pokémon Card Detector using Mathematica

Working with Unity’s 2D Tilemaps

Introduction to callback functions.