Рет қаралды 1,184
Part 10 of the RayLib 2D Challenge ended with shiny coins beautifully animated using a texture atlas. Poor Scarfy, though. He couldn't collect the coins because the collection code hadn't been written yet. All he could do was push the coins around, and off a cliff.
In this episode we add the missing coin collection code, complete with a satisfying "clink" sound. We also add a display overlay, so that we can count all our cash. Clink, clink, clink!
Click the following link for a summary, and to download the code:
keasigmadelta....