In the previous episode, we've seen how to optimize the memory usage of the sprite animation with a technique called run-length encoding. It allowed us to keep only a unique subset of all bitmaps in the memory. In effect, we managed to shave off almost 2KB of RAM.But we needed to calculate indices and repetition counts of unique frames by hand. Today we will use the compilation time metaprogramming to automate that process.
What is this?
It's an episode of the 64 Bites - Video Tutorials for Programmers,
the series designed to teach you how to program Commodore 64 in small and easy steps.
- The Video - Short, Intense and Focused
- You can stream it on any device
- or download DRM-free
- Full Transcript so you can follow along.
- Source Code for everything you will see on the screen.
- Programming Exercises to do on your own.
You've purchased this product
See it in your libraryView in Library
We charged your card and sent you a receipt
You'll need an account to access this in our app. Please create a password to continue.
Download from the App Store or text yourself a link to the app
Good news! Since you already have a Gumroad account, it's also been added to your library.