SPAM FLAG TO SYNCHRONISE AUDIO Bad Apple!! rendered using the pen in Scratch. Animation is 3:39s long and runs at 10 fps, with a resolution of 32x24 px. Audio runs at 128 kbps. - HOW IT ALL WORKS - The original video was converted (using a python script I wrote) from an mp4 to a text file that got imported into a scratch list. The animation data is encoded using RLE (Run-length encoding) and is decoded in real-time in scratch (you can learn more about RLE here: https://en.wikipedia.org/wiki/Run-length_encoding). The project supports full 24-bit colour (8 bits per channel), and is compatible with any animation length, frame rate and resolution (as long as your computer can handle it!) I've also included another drawing mode for the halftone style, and it can be toggled by pressing M. You can also press SPACE to see the current frame number and the list containing the animation data, and F to see the current fps. Pressing these keys while the animation is running may desynchronise it from the audio, so try to only press them when the animation isn't playing. Feel free to poke around in the code and learn how it works, but be warned that I'm a messy programmer :p
!!! WARNING !!! May crash some lower-end devices (untested as of 25/03/2022), as the animation data is stored in a list with over 260,000 items. The actual project is 3.7 MB. If you're going to use this code in your own project(s), please credit me in the description.