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)
๐งโโ๏ธ 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