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 6 of *Snake Rewind* we bring the score text to life with animated feedback that reacts every time the snake grows. It's a subtle detail but it adds a huge boost to the game's feel. With a wiggle and a bit of scaling the static “LENGTH: N” label becomes a satisfying reward loop tied directly to player actions. 🎮 What we cover: - Drawing the score label with a custom arcade font - Centering and aligning text correctly - Animating scale and rotation when the score updates - Resetting the animation smoothly with a timer and lerp - Making the UI feel connected to gameplay This is one of those polish layers that takes minutes to code but adds hours of player retention. 📺 Full Snake Rewind Series Playlist: https://www.youtube.com/playlist?list=PLI7p1zrAYQeUb67kPtsyduLk1aJChzIQZ 📖 Companion Blog Post: https://letsreinventthewheel.github.io/blog/snake-rewind-ep6/ 🧠 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 Showcasing the expected end result 00:40 Drawing score 03:28 Centralizing score 05:53 Introducing ScoreEffect 07:40 Applying ScoreEffect 09:04 Fix ScoreEffect to apply only to score label 10:25 Fix ScoreEffect rotation origin 13:00 Updating ScoreEffect values based on delta time 17:18 Making ScoreEffect work (upon eating food) 18:50 Extra effect for TileGrid (highlight food's row and column) #coding #programming #gamedev #raylib #cprogramming #uianimation