Build Your Own Match3 Game with Raylib and C | TUTORIAL
๐ฎ Dive into the exciting world of game development with this step-by-step tutorial on creating your own Match 3 game using Raylib and the C programming language!
In this video, we'll cover:
Building a 2D game board
Adding ASCII tiles to the game board
Using the mouse to interact with tiles on the board
Process matches and remove pieces
Tile animation
Score animation
Playing music and sound effects
๐ Ready to embark on your game development journey? Hit play now and let's bring your Match 3 idea to life!
๐ ๐ Grab the source (on github): https://github.com/erikyuzwa/raylib-2d-ascii-match-3
๐ Links & References
Raylib website: https://www.raylib.com/
Raylib github: https://github.com/raysan5/raylib
Raylib API Cheatsheet: https://www.raylib.com/cheatsheet/cheatsheet.html
๐ ๐ป Connect with me
X: https://x.com/eyuzwa
๐จ Timestamps
0:00:00 - Introduction
0:00:49 - Basic project intro
0:01:58 - New Project
0:02:08 - Main Game Loop
0:07:24 - Drawing Tile Board
0:10:30 - Centering Tile Board
0:12:37 - Adding Background Image
0:16:54 - Displaying the Score
0:17:51 - Loading a Custom TTF
0:21:22 - Tracking Mouse Clicks
0:25:40 - Finding Tile Matches
0:33:24 - Remove Matches
0:36:30 - Adding Tile Animation
0:41:20 - Swapping Tiles
0:46:48 - Adding a Tile State
0:54:50 - Adding a Board Background
0:57:07 - Adding Music and Sound
1:00:44 - Adding Score Popups
1:08:49 - Adding Score Burst
1:12:15 - Wrapping Up
#raylib #gamedev