C++ Snake game using raylib - Beginner Tutorial 🐍 (OOP)

preview_player
Показать описание
Let's build a C++ Snake game with raylib. It is a beginner tutorial. In this game development tutorial In this tutorial, I'll be guiding you step-by-step on how to build your very own Snake game using the C++ programming language and the raylib library and Object Oriented design. We'll start with the basics and work our way up to adding some cool features and making the game look more exciting.

⏳ *Timestamps*
0:00 Intro
1:19 Creating the game loop
10:53 Creating the Food
22:45 Creating the Snake
29:55 Moving the Snake
45:48 Making the Snake eat the Food
52:05 Making the Snake grow longer
55:46 Checking for collisions
1:04:00 Adding title & frame
1:08:47 Adding score
1:10:44 Adding sounds

#c++ #snake #games #raylib #gamedevelopmentforbeginners #gamedevelopment
Рекомендации по теме
Комментарии
Автор

Outstanding tutorial!!!. I was trying to make a snake game but couldn't find any tutorials with C++ and raylib and this video popped up out of nowhere. Very nice explanations.

Waiting for more tutorials😄

rohantipnis
Автор

I just started learning c++ a couple hours ago, i want to use it to make game systems in unreal engine.
i don't know much but i kind of understand what is going on in this video, this means you are clear and concise, and explain really well.
You are underrated!!
Subscribing right now!

hunin
Автор

Fantastic! Looking forward to your new Raylib tutorials! You're very pedagogic!

Thanks for the content!

felipeoliveira
Автор

I wish more people could appreciate your tutorials! Absolutely underrated.

mishanshah
Автор

Amazing tutorials for both c++ oop and raylib thanks very much

RSam
Автор

That was a cool tutorial, really enjoyed it, thanks!

charlo-d
Автор

Thankyou Nick, I stayed to the end .
I am sure a lot of hard work went into that exhalent tutorial. It must have taken you ages to do.

Tims_Projects
Автор

Hey Can you please keep teaching raylib?, like dealing with sprite sheets, physics and other topics. honestly you are the best teacher I've encounter on youtube.

basimo
Автор

Hi Nick, thanks for the tutorial.

I watch for your Tetris video first. And the I try to implement my own snake game using class that I learn from your Tetris video. I'm here to compare how our code differs.

I use vector instead deque, and I also use 2d int array for the board. In the end the game is work and I learn so much from your videos. Thanks ❤

BillyMosis
Автор

Amazing tutorial now I have a snake game and knowledge in raylib finally I can create on my own games thank you so much

cubingguy
Автор

Awesome Ways to Explain Everythings of this Project Looking for more videos

mohammadaasim
Автор

thank youuu for your efforts and also for the crystal clear tutorial video.

atay
Автор

very good video. your explanation is so good. please keep it up. looking forward for new tutorials. 👍👍👍

bendsants-etzw
Автор

Thank you so much for making this. The way you explain things is fantastic and very easy to follow. <3

LBCreateSpace
Автор

Thankyou nick. your voice is so calming.

hjte
Автор

I love it, another incredible video tutorial. Thanks to you I am learning a lot, thank you very much for all the effort in making these incredible tutorials. 👍

What game will the next tutorial be about, maybe space invader.

manuelgarciagarcia
Автор

oh man i love your video very very much, waiting for another tutorial ❤

Ramzigamedeveloper
Автор

Awesome! Great content! Thank you for this!

ВячеславЛеонов-чя
Автор

ok that was helpful now i maked my own game !

Roblox_Player_Du_
Автор

I hope you took away lots from this video. Let me know below!
PS: I'm creating an OOP course! Sign up at for early access and a 50% launch discount.

programmingwithnick