Snake Rewind: Building a Retro Snake Game in C with Raylib

Follow along as we rebuild the classic Snake game but with a retro twist. In this series we're coding Snake Rewind from scratch in C using Raylib, layering on everything from pixel perfect visuals to clone enemies, cinematic shaders and juicy arcade feedback.

Curated by: Let's Reinvent the Wheel (8 videos)


Currently Playing: Gridlocked Pixels: Building a Retro Snake Canvas [Snake Rewind Ep1]

๐Ÿš€ Welcome to Episode 1 of *Snake Rewind* : a retro inspired twist on the classic Snake game. Built from scratch in C using Raylib. ๐ŸŽฎ In this episode: We kick things off by setting up a *pixel perfect tile grid* that serves as the foundation for everything: from game logic to postprocessing shaders. If you are building a retro game or just want to learn about resolution scaling, render textures and grid layout in Raylib, then this one is for you! ๐Ÿงฑ What we cover: - Fixed resolution framebuffer setup - Grid rendering with spacing and tile logic - Preparing for retro shaders and gameplay mechanics ๐Ÿ“บ Full Snake Rewind Series Playlist: https://www.youtube.com/playlist?list=PLI7p1zrAYQeUb67kPtsyduLk1aJChzIQZ ๐Ÿ“– Companion Blog Post: https://letsreinventthewheel.github.io/blog/snake-rewind-ep1/ ๐Ÿง  Source code: https://github.com/letsreinventthewheel/snake-rewind ๐Ÿ Snake Rewind isn't just a remake. It is Snake with a twist: - ๐Ÿ Clone snakes that retrace your path - โœจ Retro shaders: bloom, scanlines, chromasep - ๐ŸŽฎ Reactive UI, game feel, and juicy feedback - ๐ŸŽง Music and SFX polish (hopefully we can find free sounds) ๐Ÿ’ฌ Got questions? Drop a comment. ๐Ÿ‘ Like what you see? Hit the like button. ๐Ÿ“Œ Want more projects like this? Subscribe and stay tuned... 00:00 Project description 01:50 Repository and project setup 02:19 CMake configuration 03:55 Main loop using Raylib 05:27 Adjusting window size (same aspect ratio) 06:50 Pixelated view (using framebuffer) 10:42 Starting working on the Grid 12:54 Game grid initialization 13:49 Drawing the Grid 17:00 Grid horizonal alignment 21:00 Rendering Tile based on TileState 24:19 Animating Tiles 32:53 Adjust Grid dimensions #programming #CProgramming #GameDev #Raylib


Tracks in this Playlist