I Tried to Learn C++ in 24 Hours

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A hobbyist programmer with Python and C background attempts to learn C++ and build a Flappy Bird clone in 24 hours without AI assistance. The journey covers setting up the Raylib game library on macOS, implementing a game loop, gravity and jump mechanics, sprite rotation tricks, OOP-based obstacle management, hitbox collision detection, and a basic game-over/restart system. The project was completed in about 10 hours and 45 hours, with honest reflections on C++ syntax quirks, a memory leak from not deleting off-screen objects, and practical game-feel decisions like shrinking hitboxes.

8m watch time

Sort: