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: Visual Glitchcraft: Snake Through a Broken Display [Snake Rewind Ep 8]

๐Ÿง™โ€โ™‚๏ธ In Episode 8 of *Snake Rewind* we go full visual glitchcraft: layering on a suite of postprocessing effects to give the game that worn out CRT look with a modern shader twist. From retro scanlines and flickering to color channel separation and screen distortion, this episode is all about *style*. We transform our clean pixel grid into something that feels alive, unstable and beautifully broken. ๐ŸŽฎ What we cover: - Adding scanlines with customizable frequency and opacity - Creating a time based flicker effect for a subtle CRT shimmer - Simulating image distortion using sine waves - Splitting RGB channels with a chromatic aberration shader - Combining all effects into a clean shader pass pipeline This is the moment where Snake Rewind steps fully into arcade mode. ๐Ÿ“บ Full Snake Rewind Series Playlist: https://www.youtube.com/playlist?list=PLI7p1zrAYQeUb67kPtsyduLk1aJChzIQZ ๐Ÿ“– Companion Blog Post: https://letsreinventthewheel.github.io/blog/snake-rewind-ep8/ ๐Ÿง  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 Intro / Episode goals 00:46 Adding new postprocessing step (framebuffer + shader) 03:20 Introducing scanlines effect 04:11 Building scanlines effect intuition on our own (math!) 15:20 Picking between two different formulas for scanlines 18:43 Animating scanlines 19:30 Introducing `time` uniform 22:27 Combining scanlines with our game board 25:02 Adding flicker effect 27:11 Adding distortion effect 32:47 Adding chromatic aberration effect 35:03 We are done! Contribute to the project #shaders #raylib #coding #programming #gamedev #postprocessing


Tracks in this Playlist